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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via findbugs by vampire0
, 1 year ago
This exception has no message.
via Terracotta by cxh, 1 year ago
via Terracotta by julioc, 1 year ago
This exception has no message.
via Oracle Community by 843804, 1 year ago
This exception has no message.
via hivmr.com by Unknown author, 1 year ago
This exception has no message.
via hivmr.com by Unknown author, 1 year ago
java.lang.NullPointerException:
at javax.swing.text.html.CSS$FontSize.getValue(Unknown Source)
at javax.swing.text.html.CSS$FontSize.toStyleConstants(Unknown Source)
at javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(Unknown Source)
at javax.swing.text.StyleConstants.getFontSize(Unknown Source)
at javax.swing.text.html.CSS$FontSize.getValue(Unknown Source)
at javax.swing.text.html.CSS$FontSize.toStyleConstants(Unknown Source)
at javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(Unknown Source)
at javax.swing.text.StyleConstants.getFontSize(Unknown Source)
at javax.swing.text.html.CSS$FontSize.getValue(Unknown Source)
at javax.swing.text.html.CSS.getFontSize(Unknown Source)
at javax.swing.text.html.CSS.getFont(Unknown Source)
at javax.swing.text.html.StyleSheet.getFont(Unknown Source)
at javax.swing.text.DefaultStyledDocument.getFont(Unknown Source)
at javax.swing.text.LabelView.setPropertiesFromAttributes(Unknown Source)
at javax.swing.text.html.InlineView.setPropertiesFromAttributes(Unknown Source)
at javax.swing.text.LabelView.sync(Unknown Source)
at javax.swing.text.LabelView.getFont(Unknown Source)
at javax.swing.text.GlyphPainter1.sync(Unknown Source)
at javax.swing.text.GlyphPainter1.getSpan(Unknown Source)
at javax.swing.text.GlyphView.getPreferredSpan(Unknown Source)
at javax.swing.text.FlowView$LogicalView.getPreferredSpan(Unknown Source)
at javax.swing.text.FlowView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.BoxView.checkRequests(Unknown Source)
at javax.swing.text.BoxView.getMinimumSpan(Unknown Source)
at javax.swing.text.html.ParagraphView.getMinimumSpan(Unknown Source)
at javax.swing.text.BoxView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.html.BlockView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.BoxView.checkRequests(Unknown Source)
at javax.swing.text.BoxView.getMinimumSpan(Unknown Source)
at javax.swing.text.html.BlockView.getMinimumSpan(Unknown Source)
at javax.swing.text.BoxView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.html.BlockView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.BoxView.checkRequests(Unknown Source)
at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
at javax.swing.text.BoxView.layout(Unknown Source)
at javax.swing.text.BoxView.setSize(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JEditorPane.getPreferredSize(Unknown Source)
at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

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

Write tip

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