java.lang.NullPointerException

findbugs | vampire0 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GUI doesn't redraw correctly

    findbugs | 1 decade ago | vampire0
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at javax.swing.text.html.CSS$FontSize.getValue()
    2. Java RT
      JComponent.paintDoubleBuffered
      1. javax.swing.text.html.CSS$FontSize.getValue(Unknown Source)
      2. javax.swing.text.html.CSS$FontSize.toStyleConstants(Unknown Source)
      3. javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(Unknown Source)
      4. javax.swing.text.StyleConstants.getFontSize(Unknown Source)
      5. javax.swing.text.html.CSS$FontSize.getValue(Unknown Source)
      6. javax.swing.text.html.CSS$FontSize.toStyleConstants(Unknown Source)
      7. javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(Unknown Source)
      8. javax.swing.text.StyleConstants.getFontSize(Unknown Source)
      9. javax.swing.text.html.CSS$FontSize.getValue(Unknown Source)
      10. javax.swing.text.html.CSS.getFontSize(Unknown Source)
      11. javax.swing.text.html.CSS.getFont(Unknown Source)
      12. javax.swing.text.html.StyleSheet.getFont(Unknown Source)
      13. javax.swing.text.DefaultStyledDocument.getFont(Unknown Source)
      14. javax.swing.text.LabelView.setPropertiesFromAttributes(Unknown Source)
      15. javax.swing.text.html.InlineView.setPropertiesFromAttributes(Unknown Source)
      16. javax.swing.text.LabelView.sync(Unknown Source)
      17. javax.swing.text.LabelView.getFont(Unknown Source)
      18. javax.swing.text.GlyphPainter1.sync(Unknown Source)
      19. javax.swing.text.GlyphPainter1.getSpan(Unknown Source)
      20. javax.swing.text.GlyphView.getPreferredSpan(Unknown Source)
      21. javax.swing.text.FlowView$LogicalView.getPreferredSpan(Unknown Source)
      22. javax.swing.text.FlowView.calculateMinorAxisRequirements(Unknown Source)
      23. javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(Unknown Source)
      24. javax.swing.text.BoxView.checkRequests(Unknown Source)
      25. javax.swing.text.BoxView.getMinimumSpan(Unknown Source)
      26. javax.swing.text.html.ParagraphView.getMinimumSpan(Unknown Source)
      27. javax.swing.text.BoxView.calculateMinorAxisRequirements(Unknown Source)
      28. javax.swing.text.html.BlockView.calculateMinorAxisRequirements(Unknown Source)
      29. javax.swing.text.BoxView.checkRequests(Unknown Source)
      30. javax.swing.text.BoxView.getMinimumSpan(Unknown Source)
      31. javax.swing.text.html.BlockView.getMinimumSpan(Unknown Source)
      32. javax.swing.text.BoxView.calculateMinorAxisRequirements(Unknown Source)
      33. javax.swing.text.html.BlockView.calculateMinorAxisRequirements(Unknown Source)
      34. javax.swing.text.BoxView.checkRequests(Unknown Source)
      35. javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
      36. javax.swing.text.BoxView.layout(Unknown Source)
      37. javax.swing.text.BoxView.setSize(Unknown Source)
      38. javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
      39. javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
      40. javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
      41. javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
      42. javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
      43. javax.swing.JComponent.paintComponent(Unknown Source)
      44. javax.swing.JComponent.paint(Unknown Source)
      45. javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      46. javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      46 frames