#java.lang.Exception: Wrong entity!

1 messages · Page 1 of 1 (latest)

lavish hinge
#

at gg.skytils.skytilsmod.features.impl.slayer.base.Slayer$detectSlayerEntities$1.invoke(Slayer.kt:114) ~[Slayer$detectSlayerEntities$1.class:?]

Keeps spamming the logs when doing Inferno Demonlord Tier 4. I have noticed theres debug messages in the code that prints the wrong entity's nametag but I have no idea how to enable debug mode and am too lazy to modify code to add the entity nametag to the exception message right now but could give it a look later if no one else finds the cause/fix till then.

No idea if it happens with other slayers or other tiers but a guess could be it trying to detect the Quazi/Typhoesus as Inferno Demonlord but failing? Just an idea as to how could it be happening.

Seems unharmful except my log files getting bloated but I like my log files clean so rather would get this fixed. It could also be causing FPS drops because of the constant errors but JVM is suprisingly keeping up with the constant errors just fine at least on my machine/OS/Java version.

untold vale
#

/st dev slayer

#

should error if it can't find a name tag to go with a slayer mob
do you know at which point it happens?

lavish hinge
# untold vale should error if it can't find a name tag to go with a slayer mob do you know at ...

just keeps printing one of those
timer regex matched
not the right entity! (0, 0)
Found skull armor stand
not the right entity! (0, 1)

not sure about the order. 0, 1 one only printed 3 times, 0, 0 one 54 times. timer regex matched got printed 4 times, found skull armor stand got printed 16 times after 2 t4 bosses done.

not very helpful output so i'll likely modify code to print out names of all armor stands (from where it couldnt find the boss entity, which is likely there but skytils cant find it) then ill manually check what's wrong i guess.

are you able to reproduce the error though? otherwise i'll try with no other mods before diving to debugging further but that seems unlikely that another mod would be interfering bc i can see the nametags myself (of the boss, despawn timer, attunement nametag, quazi/typhoesus nametag and everything else, so i dont think another mod is removing or changing names of those nametags).

lavish hinge
#

Well, I just modified code to return null instead of throwing exception (and the places this code is used to handle null return values gracefully) and all works fine.

By the way, this error is only causing log spam and not actually making any slayer features not work, so this fix on my personal st build is fine for me, if anyone else can reproduce and wants to upstream a proper fix, feel free to debug the issue further as I am too lazy to do so