java.lang.NullPointerException

GitHub | Fey142 | 9 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 | 7 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

      No message provided

      at refinedstorage.tile.TileNode.getNetwork()
    2. refinedstorage.tile
      TileDiskDrive$3.onContentsChanged
      1. refinedstorage.tile.TileNode.getNetwork(TileNode.java:89)[TileNode.class:?]
      2. refinedstorage.tile.TileDiskDrive$3.onContentsChanged(TileDiskDrive.java:117)[TileDiskDrive$3.class:?]
      2 frames
    3. net.minecraftforge.items
      ItemStackHandler.insertItem
      1. net.minecraftforge.items.ItemStackHandler.insertItem(ItemStackHandler.java:110)[ItemStackHandler.class:?]
      1 frame
    4. refinedstorage.inventory
      ItemHandlerBasic.insertItem
      1. refinedstorage.inventory.ItemHandlerBasic.insertItem(ItemHandlerBasic.java:28)[ItemHandlerBasic.class:?]
      1 frame
    5. refinedstorage.tile
      TileBase.func_145839_a
      1. refinedstorage.tile.TileBase.readItems(TileBase.java:166)[TileBase.class:?]
      2. refinedstorage.tile.TileDiskDrive.read(TileDiskDrive.java:233)[TileDiskDrive.class:?]
      3. refinedstorage.tile.TileBase.func_145839_a(TileBase.java:115)[TileBase.class:?]
      3 frames
    6. net.minecraft.tileentity
      TileEntity.func_190200_a
      1. net.minecraft.tileentity.TileEntity.func_190200_a(TileEntity.java:123)[aqk.class:?]
      1 frame
    7. net.minecraft.world
      AnvilChunkLoader.loadEntities
      1. net.minecraft.world.chunk.storage.AnvilChunkLoader.loadEntities(AnvilChunkLoader.java:486)[atj.class:?]
      1 frame
    8. MC Forge
      ChunkIOExecutor.syncChunkLoad
      1. net.minecraftforge.common.chunkio.ChunkIOProvider.syncCallback(ChunkIOProvider.java:96)[ChunkIOProvider.class:?]
      2. net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:94)[ChunkIOExecutor.class:?]
      2 frames
    9. Minecraft
      World.func_72964_e
      1. net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:115)[lr.class:?]
      2. net.minecraft.world.gen.ChunkProviderServer.func_186028_c(ChunkProviderServer.java:86)[lr.class:?]
      3. net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:132)[lr.class:?]
      4. net.minecraft.world.World.func_72964_e(World.java:303)[aid.class:?]
      4 frames
    10. MC Forge
      ForgeChunkManager$1.apply
      1. net.minecraftforge.common.ForgeChunkManager$1.apply(ForgeChunkManager.java:142)[ForgeChunkManager$1.class:?]
      2. net.minecraftforge.common.ForgeChunkManager$1.apply(ForgeChunkManager.java:137)[ForgeChunkManager$1.class:?]
      2 frames
    11. Guava
      ImmutableSet$Builder.addAll
      1. com.google.common.collect.Iterators$8.transform(Iterators.java:794)[minecraft_server.1.10.2.jar:?]
      2. com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)[minecraft_server.1.10.2.jar:?]
      3. com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)[minecraft_server.1.10.2.jar:?]
      4. com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)[minecraft_server.1.10.2.jar:?]
      4 frames
    12. MC Forge
      ForgeChunkManager.getPersistentChunksIterableFor
      1. net.minecraftforge.common.ForgeChunkManager.getPersistentChunksIterableFor(ForgeChunkManager.java:137)[ForgeChunkManager.class:?]
      1 frame
    13. Minecraft
      WorldServer.func_72835_b
      1. net.minecraft.world.World.getPersistentChunkIterable(World.java:3868)[aid.class:?]
      2. net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:386)[ls.class:?]
      3. net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:220)[ls.class:?]
      3 frames
    14. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:698)[MinecraftServer.class:?]
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)[ld.class:?]
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)[MinecraftServer.class:?]
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?]
      4 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_102]
      1 frame