Anti X-Ray

Anti X-Ray

572k Downloads

Error on log

blablubbabcDEV opened this issue ยท 5 comments

commented

Migrated from: https://dev.bukkit.org/projects/anti-x-ray/issues/17

Originally posted by MithrandirMage (Jul 30, 2016):

Found this error on console:http://hastebin.com/nacazuwolo.avrasm

commented

Originally commented by blablubbabc (Jul 31, 2016):

I am pretty sure that this is an issue with some other, outdated plugin.
Unfortunately it is saying that it is caused by 'AntiXRay', because AntiXRay triggers it like so:
AntiXray has third-party code in it for the mcstats stats tracking. This code is in a class named org.mcstats.Metrics
Now some other plugins has an earlier (outdated) version of that same class with the same name, and it gets loaded first by bukkit / jvm.
Now java loads the outdated version of that class (for that class name) from that other plugin, instead of the version from AntiXRay.
Now when AntiXRay wants to use it, it actually uses that (outdated) class from some other plugin.

I can 'fix' this in the future by renaming/moving the class inside AntiXRay to some other location, so that it should no longer conflict with other plugins attempting to use the same class. However, then your outdated plugin will still throw the same error, but it should then at least correctly report which plugin is causing it.

commented

Originally commented by MithrandirMage (Aug 4, 2016):

(at)blablubbabc:
I don't think I have any plugin which may be hooking up to yours ._. but I may be wrong.
Thanks for taking a look at this. Allthough from my perspective it doesn't seem critical :)

commented

Originally closed by blablubbabc (May 29, 2017)

commented

Originally commented by blablubbabc (Aug 4, 2016):

(at)MasterMithrandir:
It's probably some completely unrelated plugin which has nothing to do with AntiXRay intentionally (so it's not 'hooking' into AntiXRay or anything like that).

commented

Originally commented by blablubbabc (Feb 6, 2017):

This should be fixed since v1.8.6, 2017