java.lang.NullPointerException

GitHub | DanielBoudreau | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NPE when trying to change preferences..

    GitHub | 8 months ago | DanielBoudreau
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at apps.gui3.TabbedPreferencesFrame.getTitle()
    2. apps.gui3
      TabbedPreferencesFrame.getTitle
      1. apps.gui3.TabbedPreferencesFrame.getTitle(TabbedPreferencesFrame.java:20)
      1 frame
    3. jmri.util
      JmriJFrame.<init>
      1. jmri.util.JmriJFrame.generateWindowRef(JmriJFrame.java:216)
      2. jmri.util.JmriJFrame.<init>(JmriJFrame.java:117)
      3. jmri.util.JmriJFrame.<init>(JmriJFrame.java:127)
      3 frames
    4. apps.gui3
      TabbedPreferencesAction.actionPerformed
      1. apps.gui3.TabbedPreferencesFrame.<init>(TabbedPreferencesFrame.java:31)
      2. apps.gui3.TabbedPreferencesAction$1.<init>(TabbedPreferencesAction.java:81)
      3. apps.gui3.TabbedPreferencesAction.actionPerformed(TabbedPreferencesAction.java:81)
      4. apps.gui3.TabbedPreferencesAction.actionPerformed(TabbedPreferencesAction.java:121)
      4 frames
    5. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      5. javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
      7. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
      8. java.awt.Component.processMouseEvent(Component.java:6525)
      9. javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      10. java.awt.Component.processEvent(Component.java:6290)
      11. java.awt.Container.processEvent(Container.java:2234)
      12. java.awt.Component.dispatchEventImpl(Component.java:4881)
      13. java.awt.Container.dispatchEventImpl(Container.java:2292)
      14. java.awt.Component.dispatchEvent(Component.java:4703)
      15. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
      16. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
      17. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
      18. java.awt.Container.dispatchEventImpl(Container.java:2278)
      19. java.awt.Window.dispatchEventImpl(Window.java:2739)
      20. java.awt.Component.dispatchEvent(Component.java:4703)
      21. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
      22. java.awt.EventQueue.access$400(EventQueue.java:97)
      23. java.awt.EventQueue$3.run(EventQueue.java:697)
      24. java.awt.EventQueue$3.run(EventQueue.java:691)
      25. java.security.AccessController.doPrivileged(Native Method)
      26. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      27. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
      28. java.awt.EventQueue$4.run(EventQueue.java:719)
      29. java.awt.EventQueue$4.run(EventQueue.java:717)
      30. java.security.AccessController.doPrivileged(Native Method)
      31. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      32. java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
      33. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      34. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      35. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      36. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      37. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      38. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      38 frames