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 Oracle Community by 843797, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at java.awt.ContainerOrderFocusTraversalPolicy.accept(ContainerOrderFocusTraversalPolicy.java:366)
at javax.swing.SwingContainerOrderFocusTraversalPolicy.accept(SortingFocusTraversalPolicy.java:471)
at javax.swing.SortingFocusTraversalPolicy.accept(SortingFocusTraversalPolicy.java:461)
at javax.swing.LayoutFocusTraversalPolicy.accept(LayoutFocusTraversalPolicy.java:206)
at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(SortingFocusTraversalPolicy.java:111)
at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(SortingFocusTraversalPolicy.java:331)
at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(LayoutFocusTraversalPolicy.java:143)
at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(SortingFocusTraversalPolicy.java:391)
at java.awt.FocusTraversalPolicy.getInitialComponent(FocusTraversalPolicy.java:131)
at java.awt.Window.getMostRecentFocusOwner(Window.java:1247)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:256)
at java.awt.Component.dispatchEventImpl(Component.java:3396)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Window.dispatchEventImpl(Window.java:1581)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.SequencedEvent.dispatch(SequencedEvent.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
115 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
5 more bugmates

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