NullReferenceException at DamageGroup.getLineForPlayerError

Sometimes gives such an error to the console
Sometimes it gives such an error to the console.
Tell me what it is connected with.
Thank you

Failed to call hook 'OnEntityKill' on plugin 'LootDefender v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.LootDefender+DamageGroup.getLineForPlayer (System.UInt64 playerId, System.String color, Oxide.Plugins.LootDefender+DamageInfo damageInfo) [0x00053] in <a344f9354bb247f28c308b734701024a>:0
at Oxide.Plugins.LootDefender+DamageGroup+<ToReport>c__AnonStorey0.<>m__0 (System.UInt64 x) [0x00000] in <a344f9354bb247f28c308b734701024a>:0
at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].MoveNext () [0x00048] in <b7efe7e6e548497fac3c4a6049a0a4b6>:0
at System.String.Join (System.String separator, System.Collections.Generic.IEnumerable`1[T] values) [0x0006b] in <a8ed250850854b439cedc18931a314fe>:0
at Oxide.Plugins.LootDefender+DamageGroup.ToReport (Oxide.Plugins.LootDefender+DamageInfo damageInfo) [0x0007f] in <a344f9354bb247f28c308b734701024a>:0
at Oxide.Plugins.LootDefender+DamageInfo.GetDamageReport (System.String userIDString) [0x000bf] in <a344f9354bb247f28c308b734701024a>:0
at Oxide.Plugins.LootDefender+DamageInfo.DisplayDamageReport () [0x00025] in <a344f9354bb247f28c308b734701024a>:0
at Oxide.Plugins.LootDefender+DamageInfo.OnKilled () [0x00065] in <a344f9354bb247f28c308b734701024a>:0
at Oxide.Plugins.LootDefender.OnEntityKill (BaseEntity entity) [0x00195] in <a344f9354bb247f28c308b734701024a>:0
at Oxide.Plugins.LootDefender.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0019f] in <a344f9354bb247f28c308b734701024a>: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
I'm getting this too, with bradley. and for heli after applying a fix from another thread
This appears to be from a wrongly applied fix from another thread and shouldn't be an issue normally.
But without the fix it happens for bradley anyway. And heli just doesn't work at all (not even an entry in the data json file)

Edit: When I comment out everything in getLineForPlayer that could cause the NullReference, the plugin functionality seems to work, just the chat output doesn't include all the details.
Could you test the latest version to see if it still happens please?
Yes, I'll try it.

The same error happens with heli with the new version. Still an issue with getLineForPlayer.

 

 Failed to call hook 'OnEntityKill' on plugin 'LootDefender v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.LootDefender+DamageGroup.getLineForPlayer (System.UInt64 playerId, System.String color, Oxide.Plugins.LootDefender+DamageInfo damageInfo) [0x00053] in <13575114439446c0b5bed69dcc20e6dc>:0
  at Oxide.Plugins.LootDefender+DamageGroup+<ToReport>c__AnonStorey0.<>m__0 (System.UInt64 x) [0x00000] in <13575114439446c0b5bed69dcc20e6dc>:0
  at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].MoveNext () [0x00048] in <b7efe7e6e548497fac3c4a6049a0a4b6>:0
  at System.String.Join (System.String separator, System.Collections.Generic.IEnumerable`1[T] values) [0x0006b] in <a8ed250850854b439cedc18931a314fe>:0
  at Oxide.Plugins.LootDefender+DamageGroup.ToReport (Oxide.Plugins.LootDefender+DamageInfo damageInfo) [0x0007f] in <13575114439446c0b5bed69dcc20e6dc>:0
  at Oxide.Plugins.LootDefender+DamageInfo.GetDamageReport (System.String userIDString) [0x000bf] in <13575114439446c0b5bed69dcc20e6dc>:0
  at Oxide.Plugins.LootDefender+DamageInfo.DisplayDamageReport () [0x00025] in <13575114439446c0b5bed69dcc20e6dc>:0
  at Oxide.Plugins.LootDefender+DamageInfo.OnKilled () [0x00065] in <13575114439446c0b5bed69dcc20e6dc>:0
  at Oxide.Plugins.LootDefender.OnEntityKill (BaseEntity entity) [0x00195] in <13575114439446c0b5bed69dcc20e6dc>:0
  at Oxide.Plugins.LootDefender.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0019f] in <13575114439446c0b5bed69dcc20e6dc>: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 update uMod to 4394 today ?

I have a lot of conflicts as well.

Yes updated!
Oxide.Rust Version: 2.0.4394

I have no issues with LootDefender anymore.
I found out (by testing plugins solo) that BradleyControl and HeliControl broke after the 4394 update and that messed with LootDefender but after I disabled the 2 broken plugins, LootDefender works fine again.
5d485c0d7001e.png?uid=5d485c56dcf2c FuelStream
I have no issues with LootDefender anymore.
I found out (by testing plugins solo) that BradleyControl and HeliControl broke after the 4394 update and that messed with LootDefender but after I disabled the 2 broken plugins, LootDefender works fine again.

Sorry, but that wasn't from the Oxide update.

I don't get it go be honest.
I updated LootDefender, HeliControl and umod/oxide.
I still get this error and it is spamming the console.

Where do i have to open a ticket for this, or do the 2 plugins just don't like each other?
Toliman
I don't get it go be honest.
I updated LootDefender, HeliControl and umod/oxide.
I still get this error and it is spamming the console.

Where do i have to open a ticket for this, or do the 2 plugins just don't like each other?

This plugin would need an update to fix the error.