NullReferenceException at AddActiveButtonFixed

Failed to call hook 'ShowInfo' on plugin 'ServerInfo v0.5.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.ServerInfo+c__AnonStorey5.<>m__0 (Oxide.Game.Rust.Cui.CuiElement i) [0x00006] in <81ca2fcbf93347f88269578d6b4aca1f>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Oxide.Plugins.ServerInfo.AddActiveButton (System.Int32 activeTabIndex, Oxide.Plugins.ServerInfo+HelpTab activeTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName) [0x00030] in <81ca2fcbf93347f88269578d6b4aca1f>:0 at Oxide.Plugins.ServerInfo.ShowInfo (BasePlayer player, System.String command, System.String[] args) [0x000f3] in <81ca2fcbf93347f88269578d6b4aca1f>:0 at Oxide.Plugins.ServerInfo.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00391] in <81ca2fcbf93347f88269578d6b4aca1f>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0



PLS HELP

Failed to run a 2.00 timer in 'ServerInfo v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ServerInfo+c__AnonStorey5.<>m__0 (Oxide.Game.Rust.Cui.CuiElement i) [0x00006] in <1c07aba1d7904ffbaef60ab85447bbc3>:0
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at Oxide.Plugins.ServerInfo.AddActiveButton (System.Int32 activeTabIndex, Oxide.Plugins.ServerInfo+HelpTab activeTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName) [0x00030] in <1c07aba1d7904ffbaef60ab85447bbc3>:0
  at Oxide.Plugins.ServerInfo.ShowInfo (BasePlayer player, System.String command, System.String[] args) [0x000f3] in <1c07aba1d7904ffbaef60ab85447bbc3>:0
  at Oxide.Plugins.ServerInfo.OnPlayerConnected (BasePlayer player) [0x000dc] in <1c07aba1d7904ffbaef60ab85447bbc3>:0
  at Oxide.Plugins.ServerInfo+c__AnonStorey2.<>m__0 () [0x00000] in <1c07aba1d7904ffbaef60ab85447bbc3>:0
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <46ff2b534abb4b35952608167523b7ec>:0

failed to call hook on show info

same.
20:21 [Error] Failed to call hook 'ShowInfo' on plugin 'ServerInfo v0.5.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.ServerInfo+c__AnonStorey5.<>m__0 (Oxide.Game.Rust.Cui.CuiElement i) [0x00006] in <89380f39496c4f07b80d7616a7faae6c>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Oxide.Plugins.ServerInfo.AddActiveButton (System.Int32 activeTabIndex, Oxide.Plugins.ServerInfo+HelpTab activeTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName) [0x00030] in <89380f39496c4f07b80d7616a7faae6c>:0 at Oxide.Plugins.ServerInfo.ShowInfo (BasePlayer player, System.String command, System.String[] args) [0x000f3] in <89380f39496c4f07b80d7616a7faae6c>:0 at Oxide.Plugins.ServerInfo.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00391] in <89380f39496c4f07b80d7616a7faae6c>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

just give a bit guys fast needs to update ... im sure hell do it soon

gLhKjcF6YJmheax.png NooBlet

just give a bit guys fast needs to update ... im sure hell do it soon

I'm not sure how active FastBurst is with updating, but the Patch button is there for other developers to help too. :)

It compiles but anytime you try to execute the command to open this error happens.

Failed to call hook 'ShowInfo' on plugin 'ServerInfo v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ServerInfo+<AddActiveButton>c__AnonStorey5.<>m__0 (Oxide.Game.Rust.Cui.CuiElement i) [0x00006] in <7ed14ef8cc3d4177a6450a3328420207>:0
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0                                                                        5kb/s in, 30kb/s out
  at Oxide.Plugins.ServerInfo.AddActiveButton (System.Int32 activeTabIndex, Oxide.Plugins.ServerInfo+HelpTab activeTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName) [0x00030] in <7ed14ef8cc3d4177a6450a3328420207>:0
  at Oxide.Plugins.ServerInfo.ShowInfo (BasePlayer player, System.String command, System.String[] args) [0x000f3] in <7ed14ef8cc3d4177a6450a3328420207>:0
  at Oxide.Plugins.ServerInfo.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00391] in <7ed14ef8cc3d4177a6450a3328420207>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

ok ill have a look

I also have the same issue

Hi, I am getting this error after patch.
Can you advise? thanks

06/02 20:45:19 | Failed to call hook 'ShowInfo' on plugin 'ServerInfo v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerInfo+<AddActiveButton>c__AnonStorey5.<>m__0 (Oxide.Game.Rust.Cui.CuiElement i) [0x00006] in <a611682cb79444eeab7cb0b42965a7d7>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.ServerInfo.AddActiveButton (System.Int32 activeTabIndex, Oxide.Plugins.ServerInfo+HelpTab activeTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName) [0x00030] in <a611682cb79444eeab7cb0b42965a7d7>:0
at Oxide.Plugins.ServerInfo.ShowInfo (BasePlayer player, System.String command, System.String[] args) [0x000f3] in <a611682cb79444eeab7cb0b42965a7d7>:0
at Oxide.Plugins.ServerInfo.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00391] in <a611682cb79444eeab7cb0b42965a7d7>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

i think someone might be working on a patch

I'm not able to reproduce this error so far with the default configuration. Could anyone provide their config for it?

2j2dlgPeuHKD3RB.png Wulf

I'm not able to reproduce this error so far with the default configuration. Could anyone provide their config for it?

I have sent you the json via discord (Toliman#7059)

ours is ~200 lines long..  is the 'example config' on the plugin page the default? I can see what's different if so

edit:  apparently the example is only about 30 lines shorter than ours, so i guess ours wasn't that big

Here's my error to add to the pile.

(20:32:26) | Failed to run a 2.00 timer in 'ServerInfo v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerInfo+<AddActiveButton>c__AnonStorey5.<>m__0 (Oxide.Game.Rust.Cui.CuiElement i) [0x00006] in <ba5075f68e53471291e726241a33a7bf>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.ServerInfo.AddActiveButton (System.Int32 activeTabIndex, Oxide.Plugins.ServerInfo+HelpTab activeTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName) [0x00030] in <ba5075f68e53471291e726241a33a7bf>:0
at Oxide.Plugins.ServerInfo.ShowInfo (BasePlayer player, System.String command, System.String[] args) [0x000f3] in <ba5075f68e53471291e726241a33a7bf>:0
at Oxide.Plugins.ServerInfo.OnPlayerConnected (BasePlayer player) [0x000dc] in <ba5075f68e53471291e726241a33a7bf>:0
at Oxide.Plugins.ServerInfo+<OnPlayerConnected>c__AnonStorey2.<>m__0 () [0x00000] in <ba5075f68e53471291e726241a33a7bf>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <46ff2b534abb4b35952608167523b7ec>:0
Locked automatically