java.lang.NullPointerException

JDK Bug System | Webbug Group | 3 months ago
  1. 0

    FULL PRODUCT VERSION : [Java cpu=23% screen=1280x800 ppi=96 http://www.boardspace.net/java/v1.65a/ 1.8.0_101 Oracle Corporation http://java.oracle.com/ 52.0 Windows 7 x86 6.1] (Root 1 threads)Error in RootApplet main loop EXTRA RELEVANT SYSTEM CONFIGURATION : vanilla windows 10 A DESCRIPTION OF THE PROBLEM : Getting a NullPointerException from way down in the bowels of container.add is not in the manual. error is : java.lang.NullPointerException java.lang.NullPointerException at java.awt.EventQueue.setCurrentEventAndMostRecentTime(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source) at javax.swing.JMenuBar.add(Unknown Source) at online.common.XFrame.addToMenuBar(XFrame.java:132) at online.common.XFrame.addToMenuBar(XFrame.java:125) at online.common.LPanel.addToMenuBar(LPanel.java:223) at online.common.LPanel.addToMenuBar(LPanel.java:215) at online.common.commonLobby.init(commonLobby.java:350) at online.common.commonRootApplet.StartLframe(commonRootApplet.java:347) at online.common.commonRootApplet.run(commonRootApplet.java:394) at java.lang.Thread.run(Unknown Source) STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Not easily reproducable. Probably is the result of window/show interacting with starting the process that uses the window. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - NullPointerException is always wrong. ERROR MESSAGES/STACK TRACES THAT OCCUR : Getting a NullPointerException from way down in the bowels of container.add is not in the manual. error is : java.lang.NullPointerException java.lang.NullPointerException at java.awt.EventQueue.setCurrentEventAndMostRecentTime(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source) at javax.swing.JMenuBar.add(Unknown Source) at online.common.XFrame.addToMenuBar(XFrame.java:132) at online.common.XFrame.addToMenuBar(XFrame.java:125) at online.common.LPanel.addToMenuBar(LPanel.java:223) at online.common.LPanel.addToMenuBar(LPanel.java:215) at online.common.commonLobby.init(commonLobby.java:350) at online.common.commonRootApplet.StartLframe(commonRootApplet.java:347) at online.common.commonRootApplet.run(commonRootApplet.java:394) at java.lang.Thread.run(Unknown Source) REPRODUCIBILITY : This bug can be reproduced rarely.

    JDK Bug System | 3 months ago | Webbug Group
    java.lang.NullPointerException
  2. 0

    Error With My Java Notepad

    Stack Overflow | 1 year ago | Anmol Brar
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 java.awt.EventQueue.setCurrentEventAndMostRecentTime()
    2. Java RT
      JMenuBar.add
      1. java.awt.EventQueue.setCurrentEventAndMostRecentTime(Unknown Source)
      2. java.awt.Component.dispatchEventImpl(Unknown Source)
      3. java.awt.Container.dispatchEventImpl(Unknown Source)
      4. java.awt.Component.dispatchEvent(Unknown Source)
      5. java.awt.Container.addImpl(Unknown Source)
      6. java.awt.Container.add(Unknown Source)
      7. javax.swing.JMenuBar.add(Unknown Source)
      7 frames
    3. online.common
      commonRootApplet.run
      1. online.common.XFrame.addToMenuBar(XFrame.java:132)
      2. online.common.XFrame.addToMenuBar(XFrame.java:125)
      3. online.common.LPanel.addToMenuBar(LPanel.java:223)
      4. online.common.LPanel.addToMenuBar(LPanel.java:215)
      5. online.common.commonLobby.init(commonLobby.java:350)
      6. online.common.commonRootApplet.StartLframe(commonRootApplet.java:347)
      7. online.common.commonRootApplet.run(commonRootApplet.java:394)
      7 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame