java.lang.NullPointerException

GitHub | 5igm | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 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
  3. 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

    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 io.github.nucleuspowered.nucleus.dataservices.GeneralService.getBlacklistedTypes()
    2. io.github.nucleuspowered
      BlacklistListener.onPlayerChangeItem
      1. io.github.nucleuspowered.nucleus.dataservices.GeneralService.getBlacklistedTypes(GeneralService.java:59)[GeneralService.class:0.7.1-SNAPSHOT]
      2. io.github.nucleuspowered.nucleus.modules.blacklist.listeners.BlacklistListener.onPlayerChangeItem(BlacklistListener.java:58)[BlacklistListener.class:0.7.1-SNAPSHOT]
      2 frames
    3. org.spongepowered.common
      RegisteredListener.handle
      1. org.spongepowered.common.event.listener.ChangeInventoryEventListener_BlacklistListener_onPlayerChangeItem91.handle(Unknown Source)[?:?]
      2. org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)[RegisteredListener.class:1.8.9-1890-4.2.0-BETA-1666]
      2 frames
    4. org.spongepowered.mod
      SpongeModEventManager.post
      1. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:201)[SpongeModEventManager.class:1.8.9-1890-4.2.0-BETA-1666]
      2. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:242)[SpongeModEventManager.class:1.8.9-1890-4.2.0-BETA-1666]
      3. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:214)[SpongeModEventManager.class:1.8.9-1890-4.2.0-BETA-1666]
      3 frames
    5. org.spongepowered.common
      PacketUtil.onProcessPacket
      1. org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:129)[SpongeImpl.class:1.8.9-1890-4.2.0-BETA-1666]
      2. org.spongepowered.common.event.SpongeCommonEventFactory.handleClickInteractInventoryEvent(SpongeCommonEventFactory.java:468)[SpongeCommonEventFactory.class:1.8.9-1890-4.2.0-BETA-1666]
      3. org.spongepowered.common.event.CauseTracker.handlePostTickCaptures(CauseTracker.java:430)[CauseTracker.class:1.8.9-1890-4.2.0-BETA-1666]
      4. org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:122)[PacketUtil.class:1.8.9-1890-4.2.0-BETA-1666]
      4 frames
    6. Minecraft
      PacketThreadUtil$1.run
      1. net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)[fh$1.class:?]
      2. net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)[fh$1.class:?]
      2 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_101]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_101]
      2 frames
    8. net.minecraft.util
      Util.func_181617_a
      1. net.minecraft.util.Util.func_181617_a(SourceFile:44)[g.class:?]
      1 frame
    9. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:660)[MinecraftServer.class:?]
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)[ko.class:?]
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)[MinecraftServer.class:?]
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)[MinecraftServer.class:?]
      4 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_101]
      1 frame