java.lang.NoSuchMethodError

org.spongepowered.api.entity.living.player.User.getOption(Ljava/util/Set;Ljava/lang/String;)Ljava/util/Optional;

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via GitHub by 5igm
    ,
  • Stack trace

    • 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)[Util.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.NameUtil.getNameColour(NameUtil.java:137)[NameUtil.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.NameUtil.getName(NameUtil.java:81)[NameUtil.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.ChatUtil.getName(ChatUtil.java:375)[ChatUtil.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.ChatUtil.addCommandToDisplayName(ChatUtil.java:331)[ChatUtil.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.ChatUtil.getMessageFromTemplate(ChatUtil.java:133)[ChatUtil.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.ChatUtil.getPlayerMessageFromTemplate(ChatUtil.java:111)[ChatUtil.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.sendAFKMessage(AFKHandler.java:181)[AFKHandler.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.updateUserActivity(AFKHandler.java:170)[AFKHandler.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.lambda$updateUserActivity$0(AFKHandler.java:59)[AFKHandler.class:0.7.2-5.0] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)[?:1.8.0_101] at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)[?:1.8.0_101] at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)[?:1.8.0_101] at java.util.stream.AbstractPipeline.copyInto(Unknown Source)[?:1.8.0_101] at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)[?:1.8.0_101] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)[?:1.8.0_101] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)[?:1.8.0_101] at java.util.stream.AbstractPipeline.evaluate(Unknown Source)[?:1.8.0_101] at java.util.stream.ReferencePipeline.forEach(Unknown Source)[?:1.8.0_101] at io.github.nucleuspowered.nucleus.modules.afk.handlers.AFKHandler.updateUserActivity(AFKHandler.java:59)[AFKHandler.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.modules.afk.runnables.UpdateAFKTask.accept(UpdateAFKTask.java:30)[UpdateAFKTask.class:0.7.2-5.0] at io.github.nucleuspowered.nucleus.modules.afk.runnables.UpdateAFKTask.accept(UpdateAFKTask.java:14)[UpdateAFKTask.class:0.7.2-5.0] at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:177)[SchedulerBase.class:1.9.4-1968-5.0.0-BETA-1503] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_101] at java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_101] at java.lang.Thread.run(Unknown Source)[?:1.8.0_101]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.