Bastian/bstats-metrics

Could not find a suitable constructor in org.bstats.sponge.Metrics2

confuser opened this issue · 5 comments

Receiving a number of reports with the following errors from a variety of plugins which crashes Sponge servers

https://gist.github.com/PulzHF/7392a6f00435a3d54ae5013c34c81142
https://pastebin.com/wdgR9Tdg

Appears to be a conflict between bStat versions with plugins on Sponge?

Downgrading to v1.4 on Sponge appears to have resolved this

Thank you for reporting!
I've tested the Sponge bStats class on the latest Sponge version (spongevanilla-1.12.2-7.1.10.jar) and there's no error.
Maybe it's some incompatibility with plugins that use an older bStats version. I still have to test this.

I've seen a similar issue when multiple versions of bStats co-exist. This wasn't an issue when you could relocate the package in your own jar.

https://pastebin.com/raw/dibQPwML

I think this crash report might be related to this: https://hastebin.com/tebojohezu.log
My plugin here with metrics version 1.7 caused a plugin with 1.4 to crash.

I assume that this should no longer happen with the 2.x.x Metrics classes.
Please comment if someone still encounters this issue in the new Metrics classes and I'll reopen the issue.