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 org.spongepowered.api.entity.living.player.User.getAchievementData(User.java:82)
at me.kyleclemens.spongejni.SpongeJNI$construction$1.execute(SpongeJNI.kt:59)
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:332)
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 org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:118)
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)
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: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 java.lang.Thread.run(Thread.java:745)

Users with the same issue

14 times, 8 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.