NullReferenceException at GetEnabledFixed

im getting today (after server crashed) this error: 

(19:41:40) | Failed to call hook 'GetEnabled' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.FurnaceSplitter.GetEnabled (BasePlayer player) [0x00000] in <93e2e980f9ca4258991ad22d59fb2b32>:0 
  at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00642] in <93e2e980f9ca4258991ad22d59fb2b32>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0​
I do not know why i get this Errors, Server Files and Oxide are Updated, also has a fresh Config File.

Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.FurnaceSplitter.GetEnabled (BasePlayer player) [0x00000] in <82c4a493265d4dcfa057c019d990654a>:0 
  at Oxide.Plugins.FurnaceSplitter+<CanMoveItem>c__AnonStorey1.<>m__0 () [0x00027] in <82c4a493265d4dcfa057c019d990654a>:0 
  at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x00059] in <82c4a493265d4dcfa057c019d990654a>:0 
  at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <82c4a493265d4dcfa057c019d990654a>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
I loaded it fresh with fresh config file and I just get spammed with errors in oxide log 
Failed to call hook 'GetEnabled' on plugin 'FurnaceSplitter v2.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.FurnaceSplitter.GetEnabled (BasePlayer player) [0x00000] in <90ce9fa579844a68b7513e06cf9ea4e4>:0
  at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00642] in <90ce9fa579844a68b7513e06cf9ea4e4>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0​
Me too :(
hope U can fixx ... i love this Plugin :)
Just updated to the recent version of the plugin v2.2.1 and now I am getting this flooding my console. So I need to unload until it's fixed?

Do you have the permissions set? Latest version of Oxide? I have been using this build on multiple servers before updating it to UMod for over 3 months now. 

Did you try reverting back to the 2.2.0 version?

When did the error occur? uplon loading the update? or while moving an item?

Do you have the permissions set? yes, I have assigned myself to the admin group.

Latest version of Oxide? Oxide.Rust Version: 2.0.4556

Did you try reverting back to the 2.2.0 version? Not yet. 

When did the error occur? After updating from 2.2.0 to 2.2.1 nobody was using furnaces at the time of the error, there are only 2 of us on the server at the moment. 

2.2.0 error snippet. https://imgur.com/a/tcT5M5L

Hi,

After the update to v2.2.1, it is not working anymore, I have updated oxide, and I already reinstalled the plugin.

https://prnt.sc/sabr39

Thanks.
simpsonss
Hi,

After the update to v2.2.1, it is not working anymore, I have updated oxide, and I already reinstalled the plugin.

https://prnt.sc/sabr39

Thanks.

you need to remove the language file if you are revertiing back to 2.2.0

(21:21:31) | Failed to call hook 'GetEnabled' on plugin 'FurnaceSplitter v2.2.9' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.FurnaceSplitter.GetEnabled (BasePlayer player) [0x00000] in <d2165e554a7e44f085b7718a095bcfe5>:0
at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00642] in <d2165e554a7e44f085b7718a095bcfe5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.FurnaceSplitter.GetEnabled (BasePlayer player) [0x00000] in <bd11846654274b8db0d2a9a3497c3906>:0
at Oxide.Plugins.FurnaceSplitter+<CanMoveItem>c__AnonStorey1.<>m__0 () [0x00027] in <bd11846654274b8db0d2a9a3497c3906>:0
at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x0008f] in <bd11846654274b8db0d2a9a3497c3906>:0
at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <bd11846654274b8db0d2a9a3497c3906>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0

Having abit of trouble with this, also another plugin doing it, cant seem to figure out why, nobody else seems to have the problem :S

Tons of other plugins work with no issues, and they all used to work together aswell. just one of those (Rust) moments where it breaks itself :D
Any help is greatly appreciated :)

I've come as far as to something must be wrong with some files (Data, Config) or a conflicting plugin but cant figure out what, hopefully the data is just backedup and needs a refresh :S

Merged post

Alright went through all the data files, seems like the plugins that had the problem got a "new" datafile but it didnt update the old one, that would include FurnaceSplitter :/ would of been nice to know that lol.
Good reference for others with the same problem.

check / delete the data file for the plugin getting an error like the one above!

getting these errors and when you put items in the furnace it doesnt split them also it seems that the failed to call hook canmoveitem happens when somone puts resources in a furnace

Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.3.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.FurnaceSplitter.GetEnabled (BasePlayer player) [0x00000] in :0
at Oxide.Plugins.FurnaceSplitter+c__AnonStorey1.<>m__0 () [0x00027] in :0
at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x0008f] in :0
at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in :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 <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0
and this one happens when the plugin is loaded
Failed to call hook 'OnServerInitialized' on plugin 'FurnaceSplitter v2.3.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.FurnaceSplitter.InitPlayer (BasePlayer player) [0x00000] in :0
at Oxide.Plugins.FurnaceSplitter.OnServerInitialized () [0x0001e] in :0
at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f7] in :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 <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0



Merged post

also i have updated oxide to the latest version and deleted the config data and lang files and reloaded the plugin and nothing seems to get it to work i have tried with only furnace splitter loaded and nothing it just shows those errors and wont split the resources and yes i do have the permission 

We've been using your mod for a several wipes now and don't recal it throwing errors before. However after today's Facepunch update we're getting the following thrown in console repeadidly:

Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.3.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.FurnaceSplitter.GetEnabled (BasePlayer player) [0x00000] in <7f9114a2203743a5b277b4601da3ffbe>:0
at Oxide.Plugins.FurnaceSplitter+<CanMoveItem>c__AnonStorey1.<>m__0 () [0x00027] in <7f9114a2203743a5b277b4601da3ffbe>:0
at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x0008f] in <7f9114a2203743a5b277b4601da3ffbe>:0
at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <7f9114a2203743a5b277b4601da3ffbe>: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 <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

Reload the plugin. Still working in my tests.

Locked automatically