java.lang.NullPointerException

Coderanch | Alex Birmingham | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at javax.swing.text.DefaultStyledDocument.getParagraphElement()
  2. Java RT
    JTextComponent.setCaretPosition
    1. javax.swing.text.DefaultStyledDocument.getParagraphElement(Unknown Source)
    2. javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes(Unknown Source)
    3. javax.swing.text.StyledEditorKit$AttributeTracker.caretUpdate(Unknown Source)
    4. javax.swing.text.JTextComponent.fireCaretUpdate(Unknown Source)
    5. javax.swing.text.JTextComponent$MutableCaretEvent.fire(Unknown Source)
    6. javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(Unknown Source)
    7. javax.swing.text.DefaultCaret.fireStateChanged(Unknown Source)
    8. javax.swing.text.DefaultCaret.changeCaretPosition(Unknown Source)
    9. javax.swing.text.DefaultCaret.handleSetDot(Unknown Source)
    10. javax.swing.text.DefaultCaret.setDot(Unknown Source)
    11. javax.swing.text.DefaultCaret.setDot(Unknown Source)
    12. javax.swing.text.JTextComponent.setCaretPosition(Unknown Source)
    12 frames
  3. navea.system
    Display.actionPerformed
    1. navea.system.Display.scrollToBottom(Display.java:116)
    2. navea.system.Display.actionPerformed(Display.java:150)
    2 frames