KeyNotFoundException in OnEntitySpawnedError

Getting the following error occasionally. Seems to be related to certain entities spawning. 

[event] assets/content/vehicles/boats/cargoship/cargoshiptest.prefab

Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v1.0.1' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <567df3e0919241ba98db88bec4c6696f>:0
at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x00113] in :0
at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0


Joe Player[*****************] has spawned



Will look into it in an hour or two.
FireStorm78

Getting the following error occasionally. Seems to be related to certain entities spawning. 

[event] assets/content/vehicles/boats/cargoship/cargoshiptest.prefab

Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v1.0.1' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <567df3e0919241ba98db88bec4c6696f>:0
at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x00113] in :0
at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0


Joe Player[*****************] has spawned


I did some testing and used spawn cargoshiptest to see if I could reproduce the error and I did. The issue for me was the fact that the cargoship and chinook panels were not defined in my config. I added the missing panels and the errors didn't occur when I tested again. I expected the config to be updated when the plugin was updated. I also expected the code to ignore missing panels. My bad for making those assumptions. My config was copied from a server from before 0.9.9 and didn't include the updated information. 

If anyone else has this error try resetting your config first. 

I'll go ahead and and force a config wipe and update.
These errors are simply because of the conffig, and this will solve the issues.
Default
I'll go ahead and and force a config wipe and update.
These errors are simply because of the conffig, and this will solve the issues.

i hope that does not mean i will have to reconfigure my config which is working with no problems ?

Noticing this in console

03:14 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v1.0.1' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <437ba245d8404784b9fbab9b439ac908>:0 
  at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x00168] in <0848be5ffee9402498d389f04a93947b>:0 
  at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in <0848be5ffee9402498d389f04a93947b>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
[Error] Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v1.0.4' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
  at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x00113] in <f7e77fc330584fb39cd5a6156bbecf3e>:0
  at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in <f7e77fc330584fb39cd5a6156bbecf3e>: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

Will look into it, thanks for the report.