Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing plugin since latest Rust update #1

Open
GlenHughes opened this issue Jan 4, 2019 · 3 comments
Open

Error when installing plugin since latest Rust update #1

GlenHughes opened this issue Jan 4, 2019 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@GlenHughes
Copy link

Failed to call hook 'OnServerInitialized' on plugin '_Kits v3.2.93' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.InitializePermissions () [0x00038] in :0
at Oxide.Plugins.Kits.OnServerInitialized () [0x00000] in :0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ad] in :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

@jacobmstein
Copy link
Owner

I suspect this has something to do with data migration (if I recall correctly the schema changed). Did you temporarily switch to the previous version of Kits?

@jacobmstein jacobmstein added the bug Something isn't working label Jan 11, 2019
@GlenHughes
Copy link
Author

Thanks for the reply. I fixed the issue by deleting all data and configs and then reinstalling and then manually copying back in my old data which fixed it. This only happened with the last update Jan 2019

@MaxSimS
Copy link

MaxSimS commented Dec 14, 2019

Hello. I have the problem.

Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.93' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits+UI.LoadImage (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panel, System.String img, System.String aMin, System.String aMax) [0x00000] in <67f67ccb92fa433b8367856e80aae31b>:0
at Oxide.Plugins.Kits.CreateKitEntry (BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x0011b] in <67f67ccb92fa433b8367856e80aae31b>:0
at Oxide.Plugins.Kits.RefreshKitPanel (BasePlayer player, System.UInt64 guiId, System.Int32 page) [0x001de] in <67f67ccb92fa433b8367856e80aae31b>:0
at Oxide.Plugins.Kits.NewKitPanel (BasePlayer player, System.UInt64 guiId) [0x00022] in <67f67ccb92fa433b8367856e80aae31b>:0
at Oxide.Plugins.Kits.cmdChatKit (BasePlayer player, System.String command, System.String[] args) [0x0001a] in <67f67ccb92fa433b8367856e80aae31b>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0102a] in <67f67ccb92fa433b8367856e80aae31b>: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 case if I try add new Kit

@jacobmstein jacobmstein added the help wanted Extra attention is needed label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants