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
No value present
via GitHub by Inventitech
, 1 year ago
via Stack Overflow by LexR
, 2 weeks ago
via GitHub by SG-M1niCrusher
, 3 months ago
java.util.NoSuchElementException: No value present	at java.util.Optional.get(Unknown Source)	at io.github.azatik.grave.events.EventDropItem.onDropItem(EventDropItem.java:24)	at org.spongepowered.common.event.listener.DestructListener_EventDropItem_onDropItem6.handle(Unknown Source)	at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)	at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:303)	at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:316)	at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:138)	at org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.lambda$unwind$264(EntityPhase.java:182)	at org.spongepowered.common.event.tracking.CapturedMultiMapSupplier.ifPresentAndNotEmpty(CapturedMultiMapSupplier.java:60)	at org.spongepowered.common.event.tracking.phase.EntityPhase$State$1.unwind(EntityPhase.java:164)	at org.spongepowered.common.event.tracking.phase.EntityPhase.unwind(EntityPhase.java:462)	at org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:165)	at net.minecraft.entity.EntityLivingBase.func_70097_a(SourceFile:457)	at net.minecraft.entity.player.EntityPlayer.func_70097_a(SourceFile:887)	at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(SourceFile:456)	at net.minecraft.entity.EntityLivingBase.func_174812_G(SourceFile:158)	at net.minecraft.command.CommandKill.func_184881_a(SourceFile:35)	at net.minecraft.command.CommandHandler.func_175786_a(SourceFile:82)	at org.spongepowered.common.command.MinecraftCommandWrapper.tryExecute(MinecraftCommandWrapper.java:150)	at org.spongepowered.common.command.MinecraftCommandWrapper.process(MinecraftCommandWrapper.java:136)	at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)	at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:274)	at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)	at net.minecraft.network.NetHandlerPlayServer.func_147361_d(SourceFile:825)	at net.minecraft.network.NetHandlerPlayServer.func_147354_a(SourceFile:812)	at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)	at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)	at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:118)	at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)	at java.util.concurrent.FutureTask.run(Unknown Source)	at net.minecraft.util.Util.func_181617_a(SourceFile:45)	at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:134)	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:338)	at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:554)	at net.minecraft.server.MinecraftServer.run(SourceFile:458)	at java.lang.Thread.run(Unknown Source)