1. [11/19/2016 07:44:16] [Oxide] 07:44 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.2745' (NullReferenceException: Object reference not set to an instance of an object)
    [11/19/2016 15:46:19] [Oxide] 15:46 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.2745' (NullReferenceException: Object reference not set to an instance of an object)
    [11/19/2016 15:46:59] [Oxide] 15:46 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.2745' (NullReferenceException: Object reference not set to an instance of an object)
     
  2. Wulf

    Wulf Community Admin

    Please post the full log, not just a snippet of it.
     
  3. Same error, I can PM you the full log if you want, but I don't wanna publish it here.

    [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.2745' (NullReferenceException: Object reference not set to an instance of an object)
    [Debug] at Oxide.Game.Rust.RustCore.OnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  4. Wulf

    Wulf Community Admin

    Do you happen to know what triggered it?
     
  5. Not really, this error only occurred once or twice. I'll keep an eye on it.
     
  6. (21:34:29) | [Oxide] 20:33 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.2745' (NullReferenceException: Object reference not set to an instance of an object)

    (21:34:29) | [Oxide] 20:33 [Debug] at Oxide.Game.Rust.RustCore.OnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0

    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)

    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

    Not sure what triggered it
     
  7. What is this error?

    Failed to call hook 'OnServerCommand' on plugin 'RustCore v2.0.3131' (NullReferenceException: Object reference not set to an instance of an object)
     
  8. Code:
    19:21 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v2.0.3149' (NullReferenceException: Object reference not set to an instance of an object)
    19:21 [Stacktrace]   at Oxide.Game.Rust.RustCore.OnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1490053024][/DOUBLEPOST]Plugin Code:

    Code:
            void OnServerCommand(ConsoleSystem.Arg arg) {
                if (arg.cmd.FullName == "server.readcfg") {
                    NextTick(() => {
                        Bans.Init();
                    });
                }
            }
     
  9. Wulf

    Wulf Community Admin

    Anyone still experiencing this issue?
     
  10. The problem is no longer a relevant