Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Laotouy opened this issue Jul 13, 2020 · 2 comments

Comments

@Laotouy
Copy link

Laotouy commented Jul 13, 2020

[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]

@mdcfe
Copy link
Contributor

mdcfe commented Jul 16, 2020

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

@lucko
Copy link
Owner

lucko commented Jul 21, 2020

1bf26ed

@lucko lucko closed this as completed Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants