java.lang.NullPointerException

Stack Overflow | user8 | 5 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

    Substance LookAndFeel Font Issue

    Stack Overflow | 5 months ago | user8
    java.lang.NullPointerException
  2. 0

    "AWT-EventQueue-0" java.lang.NullPointerException exception

    Stack Overflow | 3 years ago | Sarah
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 25#2491016

    GitHub | 5 years ago | mbastian
    java.lang.NullPointerException

  1. rp 107 times, last 11 months ago
1 unregistered visitors
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 sun.font.FontDesignMetrics$MetricsKey.init()
  2. Java RT
    EventQueue.dispatchEvent
    1. sun.font.FontDesignMetrics$MetricsKey.init(FontDesignMetrics.java:217)
    2. sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:286)
    3. sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)
    4. javax.swing.JComponent.getFontMetrics(JComponent.java:1626)
    5. sun.swing.MenuItemLayoutHelper.reset(MenuItemLayoutHelper.java:126)
    6. javax.swing.plaf.synth.SynthMenuItemLayoutHelper.<init>(SynthMenuItemLayoutHelper.java:119)
    7. javax.swing.plaf.synth.SynthGraphicsUtils.getPreferredMenuItemSize(SynthGraphicsUtils.java:437)
    8. javax.swing.plaf.synth.SynthMenuItemUI.getPreferredMenuItemSize(SynthMenuItemUI.java:216)
    9. javax.swing.plaf.basic.BasicMenuItemUI.getPreferredSize(BasicMenuItemUI.java:367)
    10. javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
    11. javax.swing.BoxLayout.checkRequests(BoxLayout.java:484)
    12. javax.swing.BoxLayout.preferredLayoutSize(BoxLayout.java:301)
    13. javax.swing.plaf.basic.DefaultMenuLayout.preferredLayoutSize(DefaultMenuLayout.java:60)
    14. javax.swing.plaf.synth.SynthMenuLayout.preferredLayoutSize(SynthMenuLayout.java:51)
    15. java.awt.Container.preferredSize(Container.java:1796)
    16. java.awt.Container.getPreferredSize(Container.java:1780)
    17. javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    18. javax.swing.JMenu.getPopupMenuOrigin(JMenu.java:377)
    19. javax.swing.JMenu.setPopupMenuVisible(JMenu.java:343)
    20. javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1478)
    21. javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:125)
    22. javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:222)
    23. javax.swing.plaf.basic.BasicMenuUI.access$200(BasicMenuUI.java:49)
    24. javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:461)
    25. java.awt.Component.processMouseEvent(Component.java:6532)
    26. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    27. java.awt.Component.processEvent(Component.java:6300)
    28. java.awt.Container.processEvent(Container.java:2236)
    29. java.awt.Component.dispatchEventImpl(Component.java:4891)
    30. java.awt.Container.dispatchEventImpl(Container.java:2294)
    31. java.awt.Component.dispatchEvent(Component.java:4713)
    32. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    33. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
    34. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    35. java.awt.Container.dispatchEventImpl(Container.java:2280)
    36. java.awt.Window.dispatchEventImpl(Window.java:2750)
    37. java.awt.Component.dispatchEvent(Component.java:4713)
    38. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    39. java.awt.EventQueue.access$500(EventQueue.java:97)
    40. java.awt.EventQueue$3.run(EventQueue.java:709)
    41. java.awt.EventQueue$3.run(EventQueue.java:703)
    42. java.security.AccessController.doPrivileged(Native Method)
    43. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    44. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    45. java.awt.EventQueue$4.run(EventQueue.java:731)
    46. java.awt.EventQueue$4.run(EventQueue.java:729)
    47. java.security.AccessController.doPrivileged(Native Method)
    48. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    49. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    49 frames
  3. org.graffiti.editor
    GlobalHotkeyManager.dispatchEvent
    1. org.graffiti.editor.GlobalHotkeyManager.dispatchEvent(GlobalHotkeyManager.java:65)
    1 frame
  4. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    6 frames