java.lang.NoSuchMethodError: org.spongepowered.api.service.permission.Subject.getOption(Ljava/lang/String;)Ljava/util/Optional;

GitHub | qstjb | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [1.9.4]sethome failed

    GitHub | 6 months ago | qstjb
    java.lang.NoSuchMethodError: org.spongepowered.api.service.permission.Subject.getOption(Ljava/lang/String;)Ljava/util/Optional;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.spongepowered.api.service.permission.Subject.getOption(Ljava/lang/String;)Ljava/util/Optional;

      at io.github.hsyyid.essentialcmds.cmdexecutors.SetHomeExecutor.executeAsync()
    2. io.github.hsyyid
      AsyncCommandExecutorBase.lambda$execute$0
      1. io.github.hsyyid.essentialcmds.cmdexecutors.SetHomeExecutor.executeAsync(SetHomeExecutor.java:52)[SetHomeExecutor.class:?]
      2. io.github.hsyyid.essentialcmds.internal.AsyncCommandExecutorBase.lambda$execute$0(AsyncCommandExecutorBase.java:54)[AsyncCommandExecutorBase.class:?]
      2 frames
    3. org.spongepowered.api
      Task$Builder.lambda$execute$0
      1. org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)[Task$Builder.class:1.9.4-1968-5.0.0-BETA-1503]
      1 frame
    4. org.spongepowered.common
      SchedulerBase.lambda$startTask$0
      1. org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:177)[SchedulerBase.class:1.9.4-1968-5.0.0-BETA-1503]
      1 frame
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_102]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_102]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_102]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_102]
      4 frames