1. Hello, I got a problem running my server.
    It gives me following error on boot in the console
    Code:
    NullReferenceException: Object reference not set to an instance of an object
    at BaseNetworkable.Spawn (Boolean networked) [0x00000] in <filename unknown>:0
    at ConVar.Event.run (.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
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    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
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    at ConsoleSystem+Index+<BuildFunctions>c__AnonStorey16.<>m__1D (.Arg arg) [0x00000] in <filename unknown>:0
    at ConsoleSystem+Run.Internal (.Arg arg, Boolean bWantReply) [0x00000] in <filename unknown>:0
    UnityEngine.Debug:Internal_LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    Run:Internal(Arg, Boolean)
    SystemRealm:Normal(RunOptions, String, Object[])
    SystemRealm:Normal(String, Object[])
    Oxide.Game.Rust.Libraries.Rust:RunServerCommand(String, Object[])
    System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    NLua.Method.LuaMethodWrapper:Call(LuaState)
    NLua.MetaFunctions:RunFunctionDelegate(LuaState, ObjectTranslator)
    NLua.MetaFunctions:RunFunctionDelegate(LuaState)
    KeraLua.NativeMethods:LuaNetPCall(IntPtr, Int32, Int32, Int32)
    KeraLua.Lua:LuaNetPCall(IntPtr, Int32, Int32, Int32)
    NLua.LuaLib:LuaPCall(LuaState, Int32, Int32, Int32)
    NLua.Lua:CallFunction(Object, Object[], Type[])
    NLua.LuaFunction:Call(Object[], Type[])
    NLua.Method.LuaDelegate:CallFunction(Object[], Object[], Int32[])
    LuaGeneratedClass1:CallFunction()
    Oxide.Core.Libraries.TimerInstance:Update()
    Oxide.Core.Libraries.Timer:Update(Single)
    Oxide.Core.OxideMod:OnFrame(Single)
    Oxide.Core.OxideMod:LoadAllPlugins()
    Oxide.Core.OxideMod:Load()
    Oxide.Core.Interface:Initialize()
    Bootstrap:Init_Tier0()
    <Start>c__Iterator1:MoveNext()
    (Filename: Line: -1)ERROR building certificate chain: System.ArgumentException: certificate ---> System.Security.Cryptography.CryptographicException: Unsupported hash algorithm: 1.2.840.113549.1.1.12
    at Mono.Security.X509.X509Certificate.VerifySignature (System.Security.Cryptography.RSA rsa) [0x00000] in <filename unknown>:0
    at Mono.Security.X509.X509Certificate.VerifySignature (System.Security.Cryptography.AsymmetricAlgorithm aa) [0x00000] in <filename unknown>:0
    at System.Security.Cryptography.X509Certificates.X509Chain.IsSignedWith (System.Security.Cryptography.X509Certificates.X509Certificate2 signed, System.Security.Cryptography.AsymmetricAlgorithm pubkey) [0x00000] in <filename unknown>:0
    at System.Security.Cryptography.X509Certificates.X509Chain.Process (Int32 n) [0x00000] in <filename unknown>:0
    at System.Security.Cryptography.X509Certificates.X509Chain.ValidateChain (X509ChainStatusFlags flag) [0x00000] in <filename unknown>:0
    at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
    --- End of inner exception stack trace ---
    at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
    at System.Net.ServicePointManager+ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection certs) [0x00000] in <filename unknown>:0
    Please, report this problem to the Mono team
    Is it caused by a plugin?
    If yes, is it seeable which plugin causes it?
     
    Last edited by a moderator: Jul 16, 2015
  2. Remove all lua plugins until it goes away..Then you have found your culprit.
     
  3. so its 100% a LUA Plugin
     
  4. Wulf

    Wulf Community Admin

    It sounds like you have a plugin running a command at some point that is causing the issue. Remove all plugins until you find the one.
     
  5. Can It also be a C# plugin?
     
  6. It could be if it is calling a specific function in one of your lua function.
     
  7. Hmm I removed all LUA Plugins, and it still does not start. Anyways the error dissapeared....
    [DOUBLEPOST=1437075336][/DOUBLEPOST]Okay, server seems to start, but still this error appears every 2 seconds.
    The rest of errors dissapeared.
    What does this error mean? All I think I understand is, that some value / variable / something is null, but its expected to be something else
    Code:
    NullReferenceException: Object reference not set to an instance of an object
    at BaseEntity.InitShared () [0x00000] in <filename unknown>:0
    at BaseNetworkable.Spawn (Boolean networked) [0x00000] in <filename unknown>:0
    at GenericSpawner.RespawnPrefabs (Int32 numToSpawn) [0x00000] in <filename unknown>:0
    at GenericSpawner.RespawnPrefabs () [0x00000] in <filename unknown>:0
    at GenericSpawner.InitialSpawn () [0x00000] in <filename unknown>:0
    (Filename: Line: -1)
     
    Last edited by a moderator: Jul 16, 2015
  8. Remove all plugins and see if the error persist.. If it does then uninstall oxide and see if it persist...