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 807577, 1 year ago
via Google Groups by Brian J. Sayatovic, 3 months ago
via Google Groups by Brian J. Sayatovic, 2 years ago
via Google Groups by Robert, 3 months ago
This exception has no message.
java.lang.NullPointerException:
at javax.swing.text.PlainView.getLineWidth(PlainView.java:612)
at javax.swing.text.PlainView.getPreferredSpan(PlainView.java:211)
at javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1167)
at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:737)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1262)
at javax.swing.JTextArea.getPreferredSize(JTextArea.java:606)
at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:767)
at java.awt.Container.layout(Container.java:980)
at java.awt.Container.doLayout(Container.java:970)
at java.awt.Container.validateTree(Container.java:1048)
at java.awt.Container.validateTree(Container.java:1055)
at java.awt.Container.validateTree(Container.java:1055)
at java.awt.Container.validateTree(Container.java:1055)
at java.awt.Container.validateTree(Container.java:1055)
at java.awt.Container.validateTree(Container.java:1055)
at java.awt.Container.validateTree(Container.java:1055)
at java.awt.Container.validateTree(Container.java:1055)
at java.awt.Container.validate(Container.java:1023)
at java.awt.Window.show(Window.java:455)
at java.awt.Component.show(Component.java:1128)
at java.awt.Component.setVisible(Component.java:1083)
at com.teoco.events.EventViewerFrame.setVisible(EventViewerFrame.java:297)
at com.teoco.events.EventViewerFrame.display(EventViewerFrame.java:185)
at com.teoco.ImportGUI.Desktop.initializeApplication(Desktop.java:654)
at com.teoco.ImportGUI.Desktop.initializeApplication(Desktop.java:639)
at com.teoco.ImportGUI.Desktop.(Desktop.java:310)
at com.teoco.ImportGUI.Desktop.(Desktop.java:337)
at com.teoco.ImportGUI.Desktop.main(Desktop.java:1197)

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.