java.lang.NullPointerException

Terracotta | cxh | 7 years ago
  1. 0

    Re:整合Terracotta-3.1.1+Tomcat6.0.20的问题 求教

    Terracotta | 7 years ago | cxh
    java.lang.NullPointerException
  2. 0

    Changing theme/L&F causes NPE

    GitHub | 2 years ago | bflorat
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Using a custom Document implementation with JTextArea

    Google Groups | 1 decade ago | Brian J. Sayatovic
    java.lang.NullPointerException
  5. 0

    JTextPane/LabelView Bug?

    Google Groups | 2 decades ago | David Liersch
    java.lang.NullPointerException

    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 javax.swing.text.html.CSS$FontSize.getValue()
    2. Java RT
      JComponent.getPreferredSize
      1. javax.swing.text.html.CSS$FontSize.getValue(CSS.java:1672)
      2. javax.swing.text.html.CSS$FontSize.toStyleConstants(CSS.java:1805)
      3. javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(StyleSheet.java:2630)
      4. javax.swing.text.StyleConstants.getFontSize(StyleConstants.java:358)
      5. javax.swing.text.html.CSS$FontSize.getValue(CSS.java:1678)
      6. javax.swing.text.html.CSS$FontSize.toStyleConstants(CSS.java:1805)
      7. javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(StyleSheet.java:2630)
      8. javax.swing.text.StyleConstants.getFontSize(StyleConstants.java:358)
      9. javax.swing.text.html.CSS$FontSize.getValue(CSS.java:1678)
      10. javax.swing.text.html.CSS.getFontSize(CSS.java:614)
      11. javax.swing.text.html.CSS.getFont(CSS.java:574)
      12. javax.swing.text.html.StyleSheet.getFont(StyleSheet.java:867)
      13. javax.swing.text.DefaultStyledDocument.getFont(DefaultStyledDocument.java:777)
      14. javax.swing.text.LabelView.setPropertiesFromAttributes(LabelView.java:128)
      15. javax.swing.text.html.InlineView.setPropertiesFromAttributes(InlineView.java:229)
      16. javax.swing.text.LabelView.sync(LabelView.java:39)
      17. javax.swing.text.LabelView.getFont(LabelView.java:189)
      18. javax.swing.text.GlyphPainter1.sync(GlyphPainter1.java:194)
      19. javax.swing.text.GlyphPainter1.getSpan(GlyphPainter1.java:42)
      20. javax.swing.text.GlyphView.getPreferredSpan(GlyphView.java:536)
      21. javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:692)
      22. javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:216)
      23. javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(ParagraphView.java:128)
      24. javax.swing.text.BoxView.checkRequests(BoxView.java:911)
      25. javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542)
      26. javax.swing.text.html.ParagraphView.getMinimumSpan(ParagraphView.java:257)
      27. javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:879)
      28. javax.swing.text.html.BlockView.calculateMinorAxisRequirements(BlockView.java:129)
      29. javax.swing.text.BoxView.checkRequests(BoxView.java:911)
      30. javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542)
      31. javax.swing.text.html.BlockView.getMinimumSpan(BlockView.java:362)
      32. javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:879)
      33. javax.swing.text.html.BlockView.calculateMinorAxisRequirements(BlockView.java:129)
      34. javax.swing.text.BoxView.checkRequests(BoxView.java:911)
      35. javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:325)
      36. javax.swing.text.BoxView.layout(BoxView.java:682)
      37. javax.swing.text.BoxView.setSize(BoxView.java:379)
      38. javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1631)
      39. javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:830)
      40. javax.swing.JComponent.getPreferredSize(JComponent.java:1582)
      41. javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1227)
      42. javax.swing.text.JTextComponent.getPreferredScrollableViewportSize(JTextComponent.java:1712)
      43. javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:75)
      44. java.awt.Container.preferredSize(Container.java:1558)
      45. java.awt.Container.getPreferredSize(Container.java:1543)
      46. javax.swing.JComponent.getPreferredSize(JComponent.java:1584)
      47. javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:475)
      48. java.awt.Container.preferredSize(Container.java:1558)
      49. java.awt.Container.getPreferredSize(Container.java:1543)
      50. javax.swing.JComponent.getPreferredSize(JComponent.java:1584)
      50 frames
    3. com.izforge.izpack
      IzPanelLayout.layoutContainer
      1. com.izforge.izpack.gui.IzPanelLayout.rowHeight(Unknown Source)
      2. com.izforge.izpack.gui.IzPanelLayout.layoutContainer(Unknown Source)
      2 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.Container.layout(Container.java:1401)
      2. java.awt.Container.doLayout(Container.java:1390)
      3. java.awt.Container.validateTree(Container.java:1473)
      4. java.awt.Container.validateTree(Container.java:1480)
      5. java.awt.Container.validateTree(Container.java:1480)
      6. java.awt.Container.validateTree(Container.java:1480)
      7. java.awt.Container.validateTree(Container.java:1480)
      8. java.awt.Container.validate(Container.java:1448)
      9. javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
      10. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
      11. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      12. java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
      13. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
      14. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      15. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      16. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
      17. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      17 frames