java.util.NoSuchElementException

tip

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


rp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • [1.0.4] 标记传送崩溃
    via GitHub by KSkun
    ,
  • Trait ASM Mixin Crash
    via GitHub by calclavia
    ,
  • Core: deal with missing groups
    via GitHub by slandelle
    ,
  • Crash in Tuple rewiring
    via GitHub by Roldak
    ,
    • 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 scala.collection.AbstractMap.apply(Map.scala:59) 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 scala.collection.immutable.List.foreach(List.scala:383) 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.<init>(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 cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) 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 net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    Users with the same issue

    Adarro
    17 times, last one,
    rp
    3 times, last one,
    poroszd
    1 times, last one,
    Mark
    2 times, last one,
    jokester
    1 times, last one,
    13 more bugmates