NullReferenceException at GetRandomSkinSolved
Getting this error after updating to new version

Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.InstantCraft.GetRandomSkin (ItemDefinition def) [0x00000] in <02d5e4c227314f6298267f707c8e99ef>:0
at Oxide.Plugins.InstantCraft.GiveItem (BasePlayer player, ItemDefinition item, System.Collections.Generic.List`1[T] stacks, System.Int32 craftSkin) [0x00031] in <02d5e4c227314f6298267f707c8e99ef>:0
at Oxide.Plugins.InstantCraft.OnCraft (ItemCraftTask task) [0x000fc] in <02d5e4c227314f6298267f707c8e99ef>:0
at Oxide.Plugins.InstantCraft.OnItemCraft (ItemCraftTask item) [0x00000] in <02d5e4c227314f6298267f707c8e99ef>:0
at Oxide.Plugins.InstantCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00126] in <02d5e4c227314f6298267f707c8e99ef>: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
On what item?
The best I recall it was on any item and the items were not crafted instantly. I re installed the old version but I will install the updated one this afternoon or tomorow and see if it is only specific items.
Sorry for the delayed response. I re installed the plugin and enabled to permissions but I still get this error. I tried several different items and always this error:
Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.InstantCraft.GetRandomSkin (ItemDefinition def) [0x00000] in <fcd43439766241d8a7ef317bbef9e871>:0
at Oxide.Plugins.InstantCraft.GiveItem (BasePlayer player, ItemDefinition item, System.Collections.Generic.List`1[T] stacks, System.Int32 craftSkin) [0x00031] in <fcd43439766241d8a7ef317bbef9e871>:0
at Oxide.Plugins.InstantCraft.OnCraft (ItemCraftTask task) [0x000fc] in <fcd43439766241d8a7ef317bbef9e871>:0
at Oxide.Plugins.InstantCraft.OnItemCraft (ItemCraftTask item) [0x00000] in <fcd43439766241d8a7ef317bbef9e871>:0
at Oxide.Plugins.InstantCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00126] in <fcd43439766241d8a7ef317bbef9e871>: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
Did you removed old config-file? Looks as your config-file is corrupt, wipe it
In response to Orange ():
Did you removed old config-file? Looks as your config-file is corrupt, wipe it
I thought I wiped it but perhaps not. I did that today and after a re-install and server restart everthing is working again. Thank you for you help.
I use Instant Craft but console got message all timje when crafting   
Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.InstantCraft.GetRandomSkin (ItemDefinition def) [0x00013] in <baaa526161ac426d87cf2f12710a3ae8>:0
at Oxide.Plugins.InstantCraft.GiveItem (BasePlayer player, ItemDefinition item, System.Collections.Generic.List`1[T] stacks, System.Int32 craftSkin) [0x00031] in <baaa526161ac426d87cf2f12710a3ae8>:0
at Oxide.Plugins.InstantCraft.OnCraft (ItemCraftTask task) [0x000fc] in <baaa526161ac426d87cf2f12710a3ae8>:0
at Oxide.Plugins.InstantCraft.OnItemCraft (ItemCraftTask item) [0x00000] in <baaa526161ac426d87cf2f12710a3ae8>:0
at Oxide.Plugins.InstantCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00126] in <baaa526161ac426d87cf2f12710a3ae8>: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
In response to DrChester ():
I use Instant Craft but console got message all timje when crafting   Failed to call hook 'OnItemCr...
Remove your config-file and reload plugin
i tryed not work
In response to DrChester ():
i tryed not work
On what item it happens?
nothing item crafted but original skin..

Merged post

i try reinstall and much more but nothing...
Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)


Merged post

And i use reskin say (skin was changed set to 0)
Locked automatically