java.util.NoSuchElementException: key not found: 34

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

Samebug tips

,

Check if the field you try to read really exists in the database. If it is optional, just use com.mongodb.casbah.commons.MongoDBObject#getAs

Solutions on the web

java.util.NoSuchElementException: key not found: 34
at scala.collection.MapLike$class.default(MapLike.scala:228)
at scala.collection.AbstractMap.default(Map.scala:59)
at scala.collection.MapLike$class.apply(MapLike.scala:141)
at cn.academy.vanilla.teleporter.skill.LocationTeleport$Gui.cn$academy$vanilla$teleporter$skill$LocationTeleport$Gui$$newElem(LocationTeleport.scala:373)
at cn.academy.vanilla.teleporter.skill.LocationTeleport$Gui$$anonfun$cn$academy$vanilla$teleporter$skill$LocationTeleport$Gui$$updateList$1.apply(LocationTeleport.scala:353)
at cn.academy.vanilla.teleporter.skill.LocationTeleport$Gui$$anonfun$cn$academy$vanilla$teleporter$skill$LocationTeleport$Gui$$updateList$1.apply(LocationTeleport.scala:352)
at cn.academy.vanilla.teleporter.skill.LocationTeleport$Gui.cn$academy$vanilla$teleporter$skill$LocationTeleport$Gui$$updateList(LocationTeleport.scala:352)
at cn.academy.vanilla.teleporter.skill.LocationTeleport$Gui.(LocationTeleport.scala:287)
at cn.academy.vanilla.teleporter.skill.LocationTeleport$$anon$2.onKeyDown(LocationTeleport.scala:96)
at cn.academy.ability.api.context.ClientRuntime$Events.onClientTick(ClientRuntime.java:299)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_209_Events_onClientTick_ClientTickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1587)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

Users with the same issue

4 times, 3 weeks ago
Once, 3 weeks ago
2 times, 1 month ago
17 times, 5 months ago
3 times, 6 months ago
14 more bugmates

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