You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the spark profiler commands results in an error.
Reproduction Steps
Run /spark profiler start or /spark profiler stop
Expected Behaviour
Not to error
Platform Information
Minecraft Version: 1.21.1
Platform Type: Server
Platform Brand: Sponge
Platform Version: 12.0.0
Spark Version
1.10.122
Logs and Configs
[21:56:27] [Sponge-AsyncScheduler-1651/ERROR] [spark]: Exception occurred whilst executing a spark command
java.lang.NullPointerException: Cannot invoke "java.util.UUID.hashCode()" because the return value of "me.lucko.spark.sponge.SpongeCommandSender.getUniqueId()" is null
at TRANSFORMER/[email protected]/me.lucko.spark.sponge.SpongeCommandSender.hashCode(SpongeCommandSender.java:95) ~[?:?]
at java.base/java.util.HashMap.hash(HashMap.java:338) ~[?:?]
at java.base/java.util.HashMap.put(HashMap.java:618) ~[?:?]
at java.base/java.util.HashSet.add(HashSet.java:229) ~[?:?]
at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[?:?]
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:194) ~[?:?]
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:212) ~[?:?]
at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546) ~[?:?]
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265) ~[?:?]
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:702) ~[?:?]
at TRANSFORMER/[email protected]/me.lucko.spark.common.command.CommandResponseHandler.allSenders(CommandResponseHandler.java:77) ~[?:?]
at TRANSFORMER/[email protected]/me.lucko.spark.common.command.CommandResponseHandler.broadcast(CommandResponseHandler.java:101) ~[?:?]
at TRANSFORMER/[email protected]/me.lucko.spark.common.command.CommandResponseHandler.broadcastPrefixed(CommandResponseHandler.java:121) ~[?:?]
at TRANSFORMER/[email protected]/me.lucko.spark.common.command.modules.SamplerModule.profilerStop(SamplerModule.java:402) ~[?:?]
at TRANSFORMER/[email protected]/me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:141) ~[?:?]
at TRANSFORMER/[email protected]/me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:472) ~[?:?]
at TRANSFORMER/[email protected]/me.lucko.spark.common.SparkPlatform.lambda$executeCommand$3(SparkPlatform.java:370) ~[?:?]
at TRANSFORMER/[email protected]/org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:85) ~[?:?]
at TRANSFORMER/[email protected]/org.spongepowered.common.scheduler.SpongeScheduler.lambda$startTask$1(SpongeScheduler.java:274) ~[?:?]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1570) [?:?]
Extra Details
No response
The text was updated successfully, but these errors were encountered:
Description
Running the spark profiler commands results in an error.
Reproduction Steps
Run /spark profiler start or /spark profiler stop
Expected Behaviour
Not to error
Platform Information
Spark Version
1.10.122
Logs and Configs
Extra Details
No response
The text was updated successfully, but these errors were encountered: