java.util.NoSuchElementException: No value present

GitHub | Azatik | 4 months ago
  1. 0

    Follow-up to #1740 - various issues and broken modules

    GitHub | 1 year ago | Cervator
    java.util.NoSuchElementException: No value present
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. serious2monkeys 4 times, last 2 weeks ago
  2. aldrinleal 1 times, last 5 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.NoSuchElementException

    No value present

    at java.util.Optional.get()
  2. Java RT
    Optional.get
    1. java.util.Optional.get(Unknown Source)[?:1.8.0_101]
    1 frame
  3. io.github.azatik
    EventDropItem.onDropItem
    1. io.github.azatik.grave.events.EventDropItem.onDropItem(EventDropItem.java:24)[EventDropItem.class:?]
    1 frame
  4. org.spongepowered.common
    CauseTracker.completePhase
    1. org.spongepowered.common.event.listener.DestructListener_EventDropItem_onDropItem6.handle(Unknown Source)[?:?]
    2. org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)[RegisteredListener.class:1.10.2-5.0.0-BETA-99]
    3. org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:303)[SpongeEventManager.class:1.10.2-5.0.0-BETA-99]
    4. org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:316)[SpongeEventManager.class:1.10.2-5.0.0-BETA-99]
    5. org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:138)[SpongeImpl.class:1.10.2-5.0.0-BETA-99]
    6. org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.lambda$unwind$264(EntityPhase.java:182)[EntityPhase$State$1.class:1.10.2-5.0.0-BETA-99]
    7. org.spongepowered.common.event.tracking.CapturedMultiMapSupplier.ifPresentAndNotEmpty(CapturedMultiMapSupplier.java:60)[CapturedMultiMapSupplier.class:1.10.2-5.0.0-BETA-99]
    8. org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.unwind(EntityPhase.java:164)[EntityPhase$State$1.class:1.10.2-5.0.0-BETA-99]
    9. org.spongepowered.common.event.tracking.phase.EntityPhase.unwind(EntityPhase.java:462)[EntityPhase.class:1.10.2-5.0.0-BETA-99]
    10. org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:165)[CauseTracker.class:1.10.2-5.0.0-BETA-99]
    10 frames
  5. Minecraft
    EntityLivingBase.func_174812_G
    1. net.minecraft.entity.EntityLivingBase.func_70097_a(SourceFile:457)[sf.class:?]
    2. net.minecraft.entity.player.EntityPlayer.func_70097_a(SourceFile:887)[zs.class:?]
    3. net.minecraft.entity.player.EntityPlayerMP.func_70097_a(SourceFile:456)[lu.class:?]
    4. net.minecraft.entity.EntityLivingBase.func_174812_G(SourceFile:158)[sf.class:?]
    4 frames
  6. net.minecraft.command
    CommandHandler.func_175786_a
    1. net.minecraft.command.CommandKill.func_184881_a(SourceFile:35)[an.class:?]
    2. net.minecraft.command.CommandHandler.func_175786_a(SourceFile:82)[k.class:?]
    2 frames
  7. org.spongepowered.common
    MinecraftCommandWrapper.process
    1. org.spongepowered.common.command.MinecraftCommandWrapper.tryExecute(MinecraftCommandWrapper.java:150)[MinecraftCommandWrapper.class:1.10.2-5.0.0-BETA-99]
    2. org.spongepowered.common.command.MinecraftCommandWrapper.process(MinecraftCommandWrapper.java:136)[MinecraftCommandWrapper.class:1.10.2-5.0.0-BETA-99]
    2 frames
  8. org.spongepowered.api
    SimpleDispatcher.process
    1. org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)[SimpleDispatcher.class:1.10.2-5.0.0-BETA-99]
    1 frame
  9. org.spongepowered.common
    SpongeCommandManager.process
    1. org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:274)[SpongeCommandManager.class:1.10.2-5.0.0-BETA-99]
    1 frame
  10. net.minecraft.command
    ServerCommandManager.func_71556_a
    1. net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)[bd.class:?]
    1 frame
  11. Minecraft
    CPacketChatMessage.func_148833_a
    1. net.minecraft.network.NetHandlerPlayServer.func_147361_d(SourceFile:825)[me.class:?]
    2. net.minecraft.network.NetHandlerPlayServer.func_147354_a(SourceFile:812)[me.class:?]
    3. net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)[im.class:?]
    4. net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)[im.class:?]
    4 frames
  12. org.spongepowered.common
    PacketUtil.onProcessPacket
    1. org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:118)[PacketUtil.class:1.10.2-5.0.0-BETA-99]
    1 frame
  13. Minecraft
    PacketThreadUtil$1.run
    1. net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)[fl$1.class:?]
    2. net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)[fl$1.class:?]
    2 frames
  14. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_101]
    2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_101]
    2 frames
  15. net.minecraft.util
    Util.func_181617_a
    1. net.minecraft.util.Util.func_181617_a(SourceFile:45)[h.class:?]
    1 frame
  16. MC Server
    MinecraftServer.run
    1. net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:134)[MinecraftServer.class:?]
    2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:338)[ld.class:?]
    3. net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:554)[MinecraftServer.class:?]
    4. net.minecraft.server.MinecraftServer.run(SourceFile:458)[MinecraftServer.class:?]
    4 frames
  17. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[?:1.8.0_101]
    1 frame