java.util.NoSuchElementException: No value present

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

java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:135)
at io.github.geotan00.bowta.PlayerInteractListener.onPlayerInteract(PlayerInteractListener.java:38)
at org.spongepowered.common.event.listener.SecondaryListener_PlayerInteractListener_onPlayerInteract96.handle(Unknown Source)
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:305)
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:320)
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:144)
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractItemEventSecondary(SpongeCommonEventFactory.java:423)
at org.spongepowered.common.network.PacketUtil.firePreEvents(PacketUtil.java:250)
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:89)
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zjd000(SourceFile:539)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.util.Util.func_181617_a(SourceFile:46)
at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:1526)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:335)
at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:562)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

14 times, 11 hours ago
Once, 3 weeks ago
8 times, 2 months ago
4 times, 2 months ago
Once, 4 months ago
16 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.