Jump to content

ArgumentNullException

Pending 1.3.4

0g.Ghost.7373
0g.Ghost.7373

Posted

14:41 [Error] Failed to call hook 'SetStatus' on plugin 'SimpleStatus v1.3.4' (ArgumentNullException: Value cannot be null.
Parameter name: self)
  at UnityEngine.Bindings.ThrowHelper.ThrowArgumentNullException (System.Object obj, System.String parameterName) [0x00018] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.MonoBehaviour.IsInvoking (UnityEngine.MonoBehaviour self, System.String methodName) [0x00015] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.MonoBehaviour.IsInvoking (System.String methodName) [0x00001] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at Oxide.Plugins.SimpleStatus+StatusBehaviour.UpdateAdvancedTrackingState () [0x00013] in <5474c3d5d869459fa9f3daefee20d74c>:0 
  at Oxide.Plugins.SimpleStatus.SetStatus (System.String userId, System.String statusId, System.Int32 duration, System.Boolean pauseOffline) [0x00171] in <5474c3d5d869459fa9f3daefee20d74c>:0 
  at Oxide.Plugins.SimpleStatus.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x011cd] in <5474c3d5d869459fa9f3daefee20d74c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 
14:41 [Error] Failed to call hook 'SetStatus' on plugin 'SimpleStatus v1.3.4' (ArgumentNullException: Value cannot be null.
Parameter name: self)
  at UnityEngine.Bindings.ThrowHelper.ThrowArgumentNullException (System.Object obj, System.String parameterName) [0x00018] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.MonoBehaviour.IsInvoking (UnityEngine.MonoBehaviour self, System.String methodName) [0x00015] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at UnityEngine.MonoBehaviour.IsInvoking (System.String methodName) [0x00001] in <7ef4b7e39e5e4212acadbf6d2e50d7fa>:0 
  at Oxide.Plugins.SimpleStatus+StatusBehaviour.UpdateAdvancedTrackingState () [0x00013] in <5474c3d5d869459fa9f3daefee20d74c>:0 
  at Oxide.Plugins.SimpleStatus.SetStatus (System.String userId, System.String statusId, System.Int32 duration, System.Boolean pauseOffline) [0x000de] in <5474c3d5d869459fa9f3daefee20d74c>:0 
  at Oxide.Plugins.SimpleStatus.SetStatus (System.UInt64 userId, System.String statusId, System.Int32 duration, System.Boolean pauseOffline) [0x00008] in <5474c3d5d869459fa9f3daefee20d74c>:0 
  at Oxide.Plugins.SimpleStatus.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01187] in <5474c3d5d869459fa9f3daefee20d74c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

 

I got this one night when a raidable boat despawned.

Just got this last night when I was in one of the Halloween dungeons.

It kicks you off the server, you come back and you are dead. No body. And a restore after death plugin doesn't even see that you have died so all is lost. I originally thought it was Raidable Boats causing it but then it did it in the dungeons in game.

dFxPhoeniX

Posted

Thanks for the full stack trace. This one does point to an actual issue in SimpleStatus

The error occurs in the AdvancedStatus tracking path when SetStatus reaches a StatusBehaviour that Unity has already destroyed, most likely during a player lifecycle transition such as death, disconnect, despawn, or another rapid state change. SimpleStatus then calls IsInvoking on that invalid behaviour, which causes the ArgumentNullException: Value cannot be null. Parameter name: self exception

I’ll fix this in SimpleStatus 1.3.6

However, I can’t yet confirm that this exception itself is what disconnects the player, kills them, or causes the body to disappear. Normally, this error should only interrupt the SetStatus call. It may instead be a secondary error triggered by the same event that is affecting the player

If possible, please send the console lines immediately before the disconnect, including the disconnect reason and any other exceptions. That will help determine whether SimpleStatus is only producing this error during the incident or is actually involved in the disconnect/death problem

In any case, the SimpleStatus exception shown in this stack trace is valid and will be fixed

dFxPhoeniX

Posted

Thanks for the logs. They show problems with the player entity before the SimpleStatus errors. The October 23 disconnect also has a different stack trace, involving BasePlayer and Client.Update. This suggests the SimpleStatus exception may be a consequence of the incident rather than its cause

I ve prepared a fix for the destroyed-component issue in SimpleStatus 1.3.6, which I haven t uploaded yet. It addresses the SimpleStatus exception, but I can’t confirm that it will also resolve the disconnect or missing inventory

AdvancedStatus is also throwing exceptions, so those are worth reporting to its developer. Once I publish 1.3.6, please test it and let me know whether the problem persists. Thanks for helping track this down

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.2m
Total downloads
Customers
12.3k
Customers served
Files Sold
174.2k
Total sales
Payments
3.8m
Processed total
×
×
  • 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.