Players being disconnected with a couple NullReferenceExceptionsError
I just witnessed a player getting disconnected from my server with this error, what would cause this?
(02:02:25) | IPaddress:Port/SteamID/Name disconnecting: NullReferenceException: Object reference not set to an instance of an object.
BaseCorpse.ClientInit (ProtoBuf.Entity info) (at <00000000000000000000000000000000>:0)
PlayerCorpse.ClientInit (ProtoBuf.Entity info) (at <00000000000000000000000000000000>:0)
BaseNetworkable.ClientSpawn (ProtoBuf.Entity info) (at <00000000000000000000000000000000>:0)
Client.CreateOrUpdateEntity (ProtoBuf.Entity info, System.Int64 size) (at <00000000000000000000000000000000>:0)
Client.OnEntities (Network.Message packet) (at <00000000000000000000000000000000>:0)
Client.OnNetworkMessage (Network.Message packet) (at <00000000000000000000000000000000>:0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <00000000000000000000000000000000>:0)
Facepunch.Network.Raknet.Client.Cycle () (at <00000000000000000000000000000000>:0)
Client.Update () (at <00000000000000000000000000000000>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()

Version: 43013​
(21:51:42) | IPaddress:Port/SteamID/Name disconnecting: NullReferenceException: Object reference not set to an instance of an object.
RepairBenchPanel.SkinClicked () (at <00000000000000000000000000000000>:0)
System.Threading.ThreadStart.Invoke () (at <00000000000000000000000000000000>:0)
IconSkinPicker.OnSkinChanged () (at <00000000000000000000000000000000>:0)
System.Threading.ThreadStart.Invoke () (at <00000000000000000000000000000000>:0)
IconSkin.Select () (at <00000000000000000000000000000000>:0)
System.Threading.ThreadStart.Invoke () (at <00000000000000000000000000000000>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <00000000000000000000000000000000>:0)
System.Net.UploadStringCompletedEventHandler.Invoke (System.Object sender, System.Net.UploadStringCompletedEventArgs e) (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.StandaloneInputModule.Process () (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.EventSystem.Update () (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.EventSystem:Update()

Version: 43013
looks like error in plugin that is moding usage of the RepairBench
I think the only plugin I have that might be modifying the usage of Repair Benches is ExtendedRecycler, which is basically a Repair Bench with a skin that the plugin converts into a Recycler.
seems that is probly it as it does refer to
RepairBenchPanel.SkinClicked ​


Merged post

is this error showing alot or just the once?
Those 2 are the only ones I've seen so far on my server. That is the full error message, it only showed once per kick.
i would ignore it unless you see more.
(23:22:10) | IP:Port/76561198000000000/Name disconnecting: NullReferenceException: Object reference not set to an instance of an object.
Facepunch.WebUtil+<PostValuesCoroutine>d__9.System.Collections.IEnumerator.Reset () (at <00000000000000000000000000000000>:0)
EasyAntiCheat.Client.Debug+WriterDelegate.Invoke (System.String message) (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () (at <00000000000000000000000000000000>:0)
UnityEngine.Events.UnityAction.Invoke () (at <00000000000000000000000000000000>:0)
EasyAntiCheat.Client.Debug+WriterDelegate.Invoke (System.String message) (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task task, System.Boolean canInlineContinuationTask) (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.Task.FinishContinuations () (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) (at <00000000000000000000000000000000>:0)
System.Threading.AsyncLocal`1[T].set_Value (T value) (at <00000000000000000000000000000000>:0)
Steamworks.SteamVideo.Shutdown () (at <00000000000000000000000000000000>:0)
EasyAntiCheat.Client.Debug+WriterDelegate.Invoke (System.String message) (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () (at <00000000000000000000000000000000>:0)
UnityEngine.Events.UnityAction.Invoke () (at <00000000000000000000000000000000>:0)
System.Threading.SendOrPostCallback.Invoke (System.Object state) (at <00000000000000000000000000000000>:0)
UnityEngine.WaitUntil.get_keepWaiting () (at <00000000000000000000000000000000>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <00000000000000000000000000000000>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.<PostValuesCoroutine>d__9:System.Collections.IEnumerator.Reset()
EasyAntiCheat.Client.WriterDelegate:Invoke(String)
UnityEngine.Events.UnityAction:Invoke()
EasyAntiCheat.Client.WriterDelegate:Invoke(String)
System.Threading.AsyncLocal`1:set_Value(T)
Steamworks.SteamVideo:Shutdown()
EasyAntiCheat.Client.WriterDelegate:Invoke(String)
UnityEngine.UnitySynchronizationContext:Exec()

Version: 44723


Merged post

(20:32:38) | IPaddress:Port/7656119XXXXXXXXXX/Name disconnecting: NullReferenceException: Object reference not set to an instance of an object.
BuildingBlock.GradeChangingOptions (System.Collections.Generic.List`1[GameMenu.Option]& options, BasePlayer player) (at <00000000000000000000000000000000>:0)
BuildingBlock.GetBuildMenu (BasePlayer player) (at <00000000000000000000000000000000>:0)
Hammer.OnInput () (at <00000000000000000000000000000000>:0)
BasePlayer.HeldEntityInput () (at <00000000000000000000000000000000>:0)
BasePlayer.ClientInput (InputState state) (at <00000000000000000000000000000000>:0)
BasePlayer.ClientUpdateLocalPlayer () (at <00000000000000000000000000000000>:0)
BasePlayer.ClientCycle (System.Single deltaTime) (at <00000000000000000000000000000000>:0)
Client.Update () (at <00000000000000000000000000000000>:0)

Version: 44795

i got the exaxt same problems

can anyone help please?
maybe you could send me your plugin list @runescape?

(17:32:05) | IPaddress:port/76561198XXXXXXXXX/name disconnecting: NullReferenceException: Object reference not set to an instance of an object.
Facepunch.WebUtil+<PostValuesCoroutine>d__9.System.Collections.IEnumerator.Reset () (at <00000000000000000000000000000000>:0)
EasyAntiCheat.Client.Debug+WriterDelegate.Invoke (System.String message) (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () (at <00000000000000000000000000000000>:0)
UnityEngine.Events.UnityAction.Invoke () (at <00000000000000000000000000000000>:0)
EasyAntiCheat.Client.Debug+WriterDelegate.Invoke (System.String message) (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation.Run (System.Threading.Tasks.Task task, System.Boolean canInlineContinuationTask) (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.Task.FinishContinuations () (at <00000000000000000000000000000000>:0)
System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) (at <00000000000000000000000000000000>:0)
System.Threading.AsyncLocal`1[T].set_Value (T value) (at <00000000000000000000000000000000>:0)
Steamworks.SteamVideo.Shutdown () (at <00000000000000000000000000000000>:0)
EasyAntiCheat.Client.Debug+WriterDelegate.Invoke (System.String message) (at <00000000000000000000000000000000>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <00000000000000000000000000000000>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () (at <00000000000000000000000000000000>:0)
UnityEngine.Events.UnityAction.Invoke () (at <00000000000000000000000000000000>:0)
System.Threading.SendOrPostCallback.Invoke (System.Object state) (at <00000000000000000000000000000000>:0)
UnityEngine.WaitUntil.get_keepWaiting () (at <00000000000000000000000000000000>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <00000000000000000000000000000000>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.<PostValuesCoroutine>d__9:System.Collections.IEnumerator.Reset()
EasyAntiCheat.Client.WriterDelegate:Invoke(String)
UnityEngine.Events.UnityAction:Invoke()
EasyAntiCheat.Client.WriterDelegate:Invoke(String)
System.Threading.AsyncLocal`1:set_Value(T)
Steamworks.SteamVideo:Shutdown()
EasyAntiCheat.Client.WriterDelegate:Invoke(String)
UnityEngine.UnitySynchronizationContext:Exec()

Version: 44795
I'm getting something similar when a player tries to reload his gun:

213.141.***.**:50573/7656119797918****/**** disconnecting: NullReferenceException: Object reference not set to an instance of an object.
BaseProjectile.PredictAmmoType () (at <00000000000000000000000000000000>:0)
BaseProjectile.DoReload () (at <00000000000000000000000000000000>:0)
BaseProjectile.OnInput () (at <00000000000000000000000000000000>:0)
BasePlayer.HeldEntityInput () (at <00000000000000000000000000000000>:0)
BasePlayer.ClientInput (InputState state) (at <00000000000000000000000000000000>:0)
BasePlayer.ClientUpdateLocalPlayer () (at <00000000000000000000000000000000>:0)
BasePlayer.ClientCycle (System.Single deltaTime) (at <00000000000000000000000000000000>:0)
Client.Update () (at <00000000000000000000000000000000>:0)​
I've had a similar error but it says something about the player trying to open a MiniCopter fuel tank.  I'll paste it in here if it happens again, so I can be part of the fun.
You could try the /recycle plugin  https://umod.org/plugins/recycle#updates
(which gives all players a recycle box)  instead of using the repair bench skin plugin.
I'm not using it anymore and I still get some players kicked with an NRE.

Here's the error I have seen a couple times.  Not sure if related.

(18:32:21) | IPADDRESS:PORT/STEAMID/PLAYERNAME disconnecting: NullReferenceException: Object reference not set to an instance of an object.
UnityEngine.Component.CompareTag (System.String tag) (at <00000000000000000000000000000000>:0)

MiniCopter.Menu_FuelStorage_ShowIf (BasePlayer player) (at <00000000000000000000000000000000>:0)

MiniCopter.GetMenuOptions (System.Collections.Generic.List`1[T] list) (at <00000000000000000000000000000000>:0)

BaseEntity.GetMenuItems (BasePlayer player) (at <00000000000000000000000000000000>:0)

BaseEntity.GetMenuInformation (UnityEngine.GameObject primaryObject, BasePlayer player) (at <00000000000000000000000000000000>:0)

GameMenu.Util.GetInfo (UnityEngine.GameObject obj, BasePlayer player) (at <00000000000000000000000000000000>:0)

BasePlayer.GetInteractionEntity () (at <00000000000000000000000000000000>:0)

Crosshair.ShouldShowCrosshair () (at <00000000000000000000000000000000>:0)

Crosshair.Update () (at <00000000000000000000000000000000>:0)

 

Version: 44795