Jump to content

NullReferenceException on both 3.06 and 3.07

Pending 3.0.7

Jeff.Thibault1
Jeff.Thibault1

Posted

So today i saw that this plugin was updated to 3.0.7, so i did updated my server, had a bunch of error spaming.
Now as i swaped version, i got this error.

Failed to call hook 'OnItemAction' on plugin 'RustRewards v3.0.6' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RustRewards.OnItemAction (Item item, System.String action, BasePlayer player) [0x0002f] in <307c8cf49ec049ec82c080ecd968198c>:0

  at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00551] in <307c8cf49ec049ec82c080ecd968198c>:0

  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0

  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
[DEBUG] Reload requested for plugin which is already loading: RustRewards
RustRewards was compiled successfully in 2522ms
Unloaded plugin RustRewards v3.0.6 by Steenamaroo
Failed to call hook 'OnServerInitialized' on plugin 'RustRewards v3.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RustRewards.OnServerInitialized () [0x007fb] in <d0cb33a439e24dfdbf9c29314a5c6d73>:0

  at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0025e] in <d0cb33a439e24dfdbf9c29314a5c6d73>:0

  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0

  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
Calling 'OnServerInitialized' on 'RustRewards v3.0.7' took 3067ms
Loaded plugin RustRewards v3.0.7 by Steenamaroo
Calling 'OnEntityTakeDamage' on 'RustRewards v3.0.7' took average 3068ms

 

Whatever action made in game for a reward there is always this error poping but the call is different on each action.


 

Failed to call hook 'OnDispenserBonus' on plugin 'RustRewards v3.0.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.RustRewards.OnDispenserBonus (ResourceDispenser d, BasePlayer player, Item i) [0x00000] in <d0cb33a439e24dfdbf9c29314a5c6d73>:0 at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004db] in <d0cb33a439e24dfdbf9c29314a5c6d73>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.RustRewards+<OnDispenserGather>c__AnonStorey4.<>m__0 () [0x00017] in <d0cb33a439e24dfdbf9c29314a5c6d73>:0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <50629aa0e75d4126b345d8d9d64da28d>:0

 

  • Administrator
Steenamaroo

Posted

Hi,
Could you check your /config/RustRewards file to make sure it has no errors or issues?
You can use www.jsonlint.com to verify it, or send it to me.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.