Jump to content

NullReferenceException: Object reference not set to an instance of an object

Closed 0.3.9 0.4.0

BaluDog Gaming
BaluDog Gaming

Posted

Hello,

Getting this spamming the console since yesterday. Any ideas for fix?

[ERRO] Unhandled error occurred (NullReferenceException: Object reference not set to an instance of an object)
  at BaseEntity.GetRpcTargetNetworkGroup (RpcTarget& target) (at <6868f97b6bda41958acbb736cc6e5247>:0)
  at BaseEntity.ClientRPC (RpcTarget target) (at <6868f97b6bda41958acbb736cc6e5247>:0)
  at BaseCombatEntity.SetJustAttacked () (at <6868f97b6bda41958acbb736cc6e5247>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BaseCombatEntity.Hurt_Patch1(BaseCombatEntity,HitInfo)
  at BaseCombatEntity.OnAttacked (HitInfo info) (at <6868f97b6bda41958acbb736cc6e5247>:0)
  at LootContainer.OnAttacked (HitInfo info) (at <6868f97b6bda41958acbb736cc6e5247>:0)
  at Oxide.Plugins.RoamingNPCs+CustomPet.ServerMeleeAttack () (at /home/container/carbon/plugins/RoamingNPCs.cs:4118)
  at RustServerMetrics.HarmonyPatches.Delayed.InvokeHandlerBase_DoTick_Patch.InvokeWrapper (InvokeAction invokeAction) (at <ce7a751aacd04e21bac02fb334d4976a>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.InvokeHandlerBase`1[[InvokeHandler, Facepunch.UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].DoTick_Patch1(InvokeHandlerBase`1<InvokeHandler>)

BaluDog Gaming

Posted

Tried a unload and reload of the plugin. Messages still persisted. Did a /rnpc killall in game, error messages still persisted. Did another reload of the plugin in console and the error messages stopped. 

walkinrey

Posted

Changed Status from Pending to Closed

Changed Fixed In to 0.4.0

  • Like 1
BaluDog Gaming

Posted

Hi, I have updated to the latest version, but still getting the following error in the console?

[ERRO] Unhandled error occurred (NullReferenceException: Object reference not set to an instance of an object)
  at BaseEntity.GetRpcTargetNetworkGroup (RpcTarget& target) (at <80dcacb1227a4e41af7f830f7f4fffd8>:0)
  at BaseEntity.ClientRPC (RpcTarget target) (at <80dcacb1227a4e41af7f830f7f4fffd8>:0)
  at BaseCombatEntity.SetJustAttacked () (at <80dcacb1227a4e41af7f830f7f4fffd8>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BaseCombatEntity.Hurt_Patch1(BaseCombatEntity,HitInfo)
  at BaseCombatEntity.OnAttacked (HitInfo info) (at <80dcacb1227a4e41af7f830f7f4fffd8>:0)
  at LootContainer.OnAttacked (HitInfo info) (at <80dcacb1227a4e41af7f830f7f4fffd8>:0)
  at Oxide.Plugins.RoamingNPCs+CustomPet.ServerMeleeAttack () (at /home/container/carbon/plugins/RoamingNPCs.cs:4121)
  at RustServerMetrics.HarmonyPatches.Delayed.InvokeHandlerBase_DoTick_Patch.InvokeWrapper (InvokeAction invokeAction) (at <ce7a751aacd04e21bac02fb334d4976a>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.InvokeHandlerBase`1[[InvokeHandler, Facepunch.UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].DoTick_Patch1(InvokeHandlerBase`1<InvokeHandler>)
  at InvokeHandlerBase`1[T].LateUpdate () (at <6435e3eb91114744ad1bd2362a04f7f5>:0)

BaluDog Gaming

Posted

Hi @walkinrey that was with 0.4.1 installed. I see you have 0.4.2 now. Installed that to the server so will see if the error returns.image.png.5a8057fd8ad1d9a3ff4c017291c6d9b0.png

BaluDog Gaming

Posted

Hi @walkinrey unfortunately still getting the error below in console and using 0.4.2 version currently.

 

[ERRO] Unhandled error occurred (NullReferenceException: Object reference not set to an instance of an object)
  at BaseEntity.GetRpcTargetNetworkGroup (RpcTarget& target) (at <863b8d7ccbed46e59f3aaaa52fa75203>:0)
  at BaseEntity.ClientRPC (RpcTarget target) (at <863b8d7ccbed46e59f3aaaa52fa75203>:0)
  at BaseCombatEntity.SetJustAttacked () (at <863b8d7ccbed46e59f3aaaa52fa75203>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BaseCombatEntity.Hurt_Patch1(BaseCombatEntity,HitInfo)
  at BaseCombatEntity.OnAttacked (HitInfo info) (at <863b8d7ccbed46e59f3aaaa52fa75203>:0)
  at LootContainer.OnAttacked (HitInfo info) (at <863b8d7ccbed46e59f3aaaa52fa75203>:0)
  at Oxide.Plugins.RoamingNPCs+CustomPet.ServerMeleeAttack () (at /home/container/carbon/plugins/RoamingNPCs.cs:4191)
  at RustServerMetrics.HarmonyPatches.Delayed.InvokeHandlerBase_DoTick_Patch.InvokeWrapper (InvokeAction invokeAction) (at <ce7a751aacd04e21bac02fb334d4976a>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.InvokeHandlerBase`1[[InvokeHandler, Facepunch.UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].DoTick_Patch1(InvokeHandlerBase`1<InvokeHandler>)
  at InvokeHandlerBase`1[T].LateUpdate () (at <6435e3eb91114744ad1bd2362a04f7f5>:0)

2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153.7k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.