spark

spark

95M Downloads

java.lang.NumberFormatException related to server seed when uploading a Spark profile

Darkhand81 opened this issue · 0 comments

commented

Running MC 1.18.1 on Paper 181, getting a java.lang.NumberFormatException regarding my server seed whenever a profile is sent out:

> spark profiler --stop
[19:43:05 INFO]: [] The active profiler has been stopped! Uploading results...
[19:43:06 WARN]: java.lang.NumberFormatException: For input string: "6633914796277003003"
[19:43:06 WARN]:        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
[19:43:06 WARN]:        at java.base/java.lang.Integer.parseInt(Integer.java:668)
[19:43:06 WARN]:        at java.base/java.lang.Integer.parseInt(Integer.java:786)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.bukkit.BukkitServerConfigProvider.lambda$load$1(BukkitServerConfigProvider.java:87)
[19:43:06 WARN]:        at java.base/java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603)
[19:43:06 WARN]:        at java.base/java.util.Properties.forEach(Properties.java:1422)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.bukkit.BukkitServerConfigProvider.load(BukkitServerConfigProvider.java:80)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.bukkit.BukkitServerConfigProvider.load(BukkitServerConfigProvider.java:51)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.platform.serverconfig.AbstractServerConfigProvider.lambda$loadServerConfigurations$0(AbstractServerConfigProvider.java:57)
[19:43:06 WARN]:        at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:196)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.platform.serverconfig.AbstractServerConfigProvider.loadServerConfigurations(AbstractServerConfigProvider.java:55)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.platform.serverconfig.ServerConfigProvider.exportServerConfigurations(ServerConfigProvider.java:46)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.sampler.AbstractSampler.writeMetadataToProto(AbstractSampler.java:122)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.sampler.async.AsyncSampler.toProto(AsyncSampler.java:159)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.command.modules.SamplerModule.handleUpload(SamplerModule.java:308)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profilerStop(SamplerModule.java:302)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:136)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:387)
[19:43:06 WARN]:        at spark.jar//me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:300)
[19:43:06 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101)
[19:43:06 WARN]:        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[19:43:06 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[19:43:06 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[19:43:06 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[19:43:06 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)