spark

spark

26M Downloads

java.lang.NoSuchMethodError: org.bukkit.Server.getMinecraftVersion()Ljava/lang/String;

Laotouy opened this issue · 2 comments

commented

[23:05:26 INFO]: LaotouY issued server command: /spark:spark sampler --stop
[23:05:26 INFO]: [⚡] The active sampling operation has been stopped! Uploading results...
[23:05:27 WARN]: [spark] Plugin spark v1.4.2 generated an exception while executing task 35093684
java.lang.NoSuchMethodError: org.bukkit.Server.getMinecraftVersion()Ljava/lang/String;
at me.lucko.spark.bukkit.BukkitPlatformInfo.getMinecraftVersion(BukkitPlatformInfo.java:50) ~[?:?]
at me.lucko.spark.common.platform.PlatformInfo.toData(PlatformInfo.java:43) ~[?:?]
at me.lucko.spark.common.sampler.Sampler.toProto(Sampler.java:167) ~[?:?]
at me.lucko.spark.common.sampler.Sampler.formCompressedDataPayload(Sampler.java:192) ~[?:?]
at me.lucko.spark.common.command.modules.SamplerModule.lambda$handleUpload$5(SamplerModule.java:270) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_251]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_251]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]

commented

Duplicate of #59 - for now, if you're not using Paper 1.15.2+ then use build 140.

commented