java.lang.NullPointerException: Exception in server tick loop

GitHub | alicheek | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  2. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  5. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Exception in server tick loop

      at vazkii.botania.common.item.ItemBaubleBox$InvProvider.serializeNBT()
    2. vazkii.botania.common
      ItemBaubleBox$InvProvider.serializeNBT
      1. vazkii.botania.common.item.ItemBaubleBox$InvProvider.serializeNBT(ItemBaubleBox.java:82)
      1 frame
    3. net.minecraftforge.common
      CapabilityDispatcher.serializeNBT
      1. net.minecraftforge.common.capabilities.CapabilityDispatcher.serializeNBT(CapabilityDispatcher.java:121)
      1 frame
    4. Minecraft
      ItemStack.func_77946_l
      1. net.minecraft.item.ItemStack.func_77946_l(ItemStack.java:356)
      1 frame
    5. MC Forge
      ShapedOreRecipe.<init>
      1. net.minecraftforge.oredict.ShapedOreRecipe.<init>(ShapedOreRecipe.java:52)
      1 frame
    6. vazkii.botania.common
      Botania.init
      1. vazkii.botania.common.crafting.ModCraftingRecipes.addOreDictRecipe(ModCraftingRecipes.java:2194)
      2. vazkii.botania.common.crafting.ModCraftingRecipes.init(ModCraftingRecipes.java:1994)
      3. vazkii.botania.common.Botania.init(Botania.java:154)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. MC Forge
      FMLModContainer.handleModStateEvent
      1. net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:597)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    10. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)
      5 frames
    11. MC Forge
      LoadController.propogateStateMessage
      1. net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239)
      2. net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)
      2 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    13. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)
      5 frames
    14. MC Forge
      FMLCommonHandler.onServerStarted
      1. net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53)
      2. net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)
      3. net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:790)
      4. net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:107)
      5. net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:333)
      5 frames
    15. MC Server
      MinecraftServer.run
      1. net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:214)
      2. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
      2 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame