Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by 5igm
, 1 year ago
org.spongepowered.api.entity.living.player.User.getOption(Ljava/util/Set;Ljava/lang/String;)Ljava/util/Optional;
java.lang.NoSuchMethodError: org.spongepowered.api.entity.living.player.User.getOption(Ljava/util/Set;Ljava/lang/String;)Ljava/util/Optional;	at io.github.nucleuspowered.nucleus.Util.getOptionFromSubject(Util.java:192)	at io.github.nucleuspowered.nucleus.NameUtil.getNameColour(NameUtil.java:137)	at io.github.nucleuspowered.nucleus.NameUtil.getName(NameUtil.java:81)	at io.github.nucleuspowered.nucleus.ChatUtil.getName(ChatUtil.java:375)	at io.github.nucleuspowered.nucleus.ChatUtil.addCommandToDisplayName(ChatUtil.java:331)	at io.github.nucleuspowered.nucleus.ChatUtil.getMessageFromTemplate(ChatUtil.java:133)	at io.github.nucleuspowered.nucleus.ChatUtil.getPlayerMessageFromTemplate(ChatUtil.java:111)	at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.sendAFKMessage(AFKHandler.java:181)	at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.updateUserActivity(AFKHandler.java:170)	at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.lambda$updateUserActivity$0(AFKHandler.java:59)	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)	at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)	at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)	at java.util.stream.AbstractPipeline.copyInto(Unknown Source)	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)	at java.util.stream.ReferencePipeline.forEach(Unknown Source)	at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.updateUserActivity(AFKHandler.java:59)	at io.github.nucleuspowered.nucleus.modules.afk.runnables.UpdateAFKTask.accept(UpdateAFKTask.java:30)	at io.github.nucleuspowered.nucleus.modules.afk.runnables.UpdateAFKTask.accept(UpdateAFKTask.java:14)	at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:177)	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)	at java.util.concurrent.FutureTask.run(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)