java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via neuroph by lemfn64
, 1 year ago
This exception has no message.
via Stack Overflow by luis enrique mesias flores
, 1 year ago
This exception has no message.
via GitHub by kayosetsu
, 2 years ago
via Google Groups by Mathieu Lartigaud, 3 months ago
This exception has no message.
java.lang.NullPointerException:
at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(XPStyle.java:155)
at com.sun.java.swing.plaf.windows.XPStyle.getBorder(XPStyle.java:275)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(WindowsLookAndFeel.java:2403)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(WindowsLookAndFeel.java:2357)
at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:233)
at javax.swing.UIDefaults.get(UIDefaults.java:163)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:64)
at javax.swing.UIDefaults.getBorder(UIDefaults.java:481)
at javax.swing.UIManager.getBorder(UIManager.java:759)
at javax.swing.border.TitledBorder.getBorder(TitledBorder.java:416)
at javax.swing.border.TitledBorder.getBorderInsets(TitledBorder.java:349)
at javax.swing.border.AbstractBorder.getBorderInsets(AbstractBorder.java:75)
at javax.swing.JComponent.getInsets(JComponent.java:1826)
at javax.swing.GroupLayout.adjustSize(GroupLayout.java:1109)
at javax.swing.GroupLayout.preferredLayoutSize(GroupLayout.java:879)
at java.awt.Container.preferredSize(Container.java:1794)
at java.awt.Container.getPreferredSize(Container.java:1778)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1115)
at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:916)
at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:2071)
at java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:2031)
at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:812)
at java.awt.Container.layout(Container.java:1508)
at java.awt.Container.doLayout(Container.java:1497)
at java.awt.Container.validateTree(Container.java:1693)
at java.awt.Container.validateTree(Container.java:1702)
at java.awt.Container.validateTree(Container.java:1702)
at java.awt.Container.validateTree(Container.java:1702)
at java.awt.Container.validate(Container.java:1628)
at java.awt.Window.dispatchEventImpl(Window.java:2748)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.