1. Explore
  2. »
  3. Java Runtime
  4. »
  5. javax.swing.text
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

AbstractDocument.writeLock() has thrown an IllegalStateException

java.lang.IllegalStateException
javax.swing.text.AbstractDocument.writeLock
49Web pages
IllegalStateExceptionAbstractDocument.writeLock()49

BoxView.getOffset() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.text.BoxView.getOffset
27Web pages
ArrayIndexOutOfBoundsExceptionBoxView.getOffset()27

JTextComponent.setCaretPosition() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.text.JTextComponent.setCaretPosition
23Web pages
IllegalArgumentExceptionJTextComponent.setCaretPosition()23

AbstractDocument.replace() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
javax.swing.text.AbstractDocument.replace
23Web pages
IllegalStateExceptionAbstractDocument.replace()23

JTextComponent.setText() has thrown an IllegalStateException

java.lang.IllegalStateException
2 frames hidden
javax.swing.text.JTextComponent.setText
22Web pages
IllegalStateExceptionJTextComponent.setText()22

DefaultEditorKit$PasteAction.actionPerformed() has thrown a NullPointerException

java.lang.NullPointerException
21 frames hidden
javax.swing.text.DefaultEditorKit$PasteAction.actionPerformed
20Web pages
NullPointerExceptionDefaultEditorKit$PasteAction.actionPerformed()20

CompositeView.getView() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.text.CompositeView.getView
19Web pages
ArrayIndexOutOfBoundsExceptionCompositeView.getView()19

DefaultStyledDocument$ElementBuffer.insertElement() has thrown an EmptyStackException

java.util.EmptyStackException
1 frames hidden
javax.swing.text.DefaultStyledDocument$ElementBuffer.insertElement
18Web pages
EmptyStackExceptionDefaultStyledDocument$ElementBuffer.insertElement()18

BoxView.replace() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.text.BoxView.replace
16Web pages
ArrayIndexOutOfBoundsExceptionBoxView.replace()16

FlowView$FlowStrategy.layoutRow() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.FlowView$FlowStrategy.layoutRow
15Web pages
NullPointerExceptionFlowView$FlowStrategy.layoutRow()15

FlowView.layout() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
javax.swing.text.FlowView.layout
13Web pages
NullPointerExceptionFlowView.layout()13

PlainView.viewToModel() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
4 frames hidden
javax.swing.text.PlainView.viewToModel
11Web pages
ArrayIndexOutOfBoundsExceptionPlainView.viewToModel()11

AbstractDocument.writeLock() has thrown an Error

java.lang.Error
javax.swing.text.AbstractDocument.writeLock
11Web pages
ErrorAbstractDocument.writeLock()11

BoxView.setSize() has thrown a NullPointerException

java.lang.NullPointerException
7 frames hidden
javax.swing.text.BoxView.setSize
11Web pages
NullPointerExceptionBoxView.setSize()11

FlowView.calculateMinorAxisRequirements() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.FlowView.calculateMinorAxisRequirements
10Web pages
NullPointerExceptionFlowView.calculateMinorAxisRequirements()10

BoxView.setSize() has thrown a NullPointerException

java.lang.NullPointerException
4 frames hidden
javax.swing.text.BoxView.setSize
10Web pages
NullPointerExceptionBoxView.setSize()10

BoxView.setSize() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
6 frames hidden
javax.swing.text.BoxView.setSize
10Web pages
ArrayIndexOutOfBoundsExceptionBoxView.setSize()10

AbstractDocument.insertString() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
8 frames hidden
javax.swing.text.AbstractDocument.insertString
10Web pages
OutOfMemoryErrorAbstractDocument.insertString()10

CompositeView.replace() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.CompositeView.replace
9Web pages
NullPointerExceptionCompositeView.replace()9

GapContent.getChars() has thrown a BadLocationException

javax.swing.text.BadLocationException
javax.swing.text.GapContent.getChars
9Web pages
BadLocationExceptionGapContent.getChars()9

BoxView.layoutMinorAxis() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.text.BoxView.layoutMinorAxis
9Web pages
ArrayIndexOutOfBoundsExceptionBoxView.layoutMinorAxis()9

BoxView.setSize() has thrown a StateInvariantError

javax.swing.text.StateInvariantError
2 frames hidden
javax.swing.text.BoxView.setSize
9Web pages
StateInvariantErrorBoxView.setSize()9

BoxView.layout() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.text.BoxView.layout
8Web pages
ArrayIndexOutOfBoundsExceptionBoxView.layout()8

AbstractDocument.remove() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
javax.swing.text.AbstractDocument.remove
8Web pages
IllegalStateExceptionAbstractDocument.remove()8

JTextComponent.setDocument() has thrown a NullPointerException

java.lang.NullPointerException
31 frames hidden
javax.swing.text.JTextComponent.setDocument
8Web pages
NullPointerExceptionJTextComponent.setDocument()8

AbstractDocument.getText() has thrown a BadLocationException

javax.swing.text.BadLocationException
2 frames hidden
javax.swing.text.AbstractDocument.getText
8Web pages
BadLocationExceptionAbstractDocument.getText()8

BoxView.paint() has thrown a NullPointerException

java.lang.NullPointerException
6 frames hidden
javax.swing.text.BoxView.paint
7Web pages
NullPointerExceptionBoxView.paint()7

BoxView.setSize() has thrown a NullPointerException

java.lang.NullPointerException
8 frames hidden
javax.swing.text.BoxView.setSize
7Web pages
NullPointerExceptionBoxView.setSize()7

BoxView.setSize() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
10 frames hidden
javax.swing.text.BoxView.setSize
7Web pages
ArrayIndexOutOfBoundsExceptionBoxView.setSize()7

Utilities.getTabbedTextWidth() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.text.Utilities.getTabbedTextWidth
7Web pages
NullPointerExceptionUtilities.getTabbedTextWidth()7

PlainDocument.insertString() has thrown an Error

java.lang.Error
2 frames hidden
javax.swing.text.PlainDocument.insertString
7Web pages
ErrorPlainDocument.insertString()7

AbstractDocument.insertString() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
javax.swing.text.AbstractDocument.insertString
7Web pages
IllegalStateExceptionAbstractDocument.insertString()7

BoxView.paint() has thrown a ClassCastException

java.lang.ClassCastException
11 frames hidden
javax.swing.text.BoxView.paint
7Web pages
ClassCastExceptionBoxView.paint()7

GlyphView.getText() has thrown a StateInvariantError

javax.swing.text.StateInvariantError
javax.swing.text.GlyphView.getText
6Web pages
StateInvariantErrorGlyphView.getText()6

AbstractDocument$AbstractElement.checkForIllegalCast() has thrown a StateInvariantError

javax.swing.text.StateInvariantError
javax.swing.text.AbstractDocument$AbstractElement.checkForIllegalCast
6Web pages
StateInvariantErrorAbstractDocument$AbstractElement.checkForIllegalCast()6

DefaultStyledDocument.setCharacterAttributes() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
javax.swing.text.DefaultStyledDocument.setCharacterAttributes
6Web pages
IllegalStateExceptionDefaultStyledDocument.setCharacterAttributes()6

SimpleAttributeSet.addAttribute() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.text.SimpleAttributeSet.addAttribute
6Web pages
NullPointerExceptionSimpleAttributeSet.addAttribute()6

PlainView.updateMetrics() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.PlainView.updateMetrics
6Web pages
NullPointerExceptionPlainView.updateMetrics()6

JTextComponent.getSelectedText() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.text.JTextComponent.getSelectedText
6Web pages
IllegalArgumentExceptionJTextComponent.getSelectedText()6

PlainView.paint() has thrown an ArithmeticException

java.lang.ArithmeticException
javax.swing.text.PlainView.paint
5Web pages
ArithmeticExceptionPlainView.paint()5

JTextComponent.updateUI() has thrown an Error

java.lang.Error
4 frames hidden
javax.swing.text.JTextComponent.updateUI
5Web pages
ErrorJTextComponent.updateUI()5

BoxView.replace() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.text.BoxView.replace
5Web pages
NullPointerExceptionBoxView.replace()5

JTextComponent.setText() has thrown a NullPointerException

java.lang.NullPointerException
13 frames hidden
javax.swing.text.JTextComponent.setText
5Web pages
NullPointerExceptionJTextComponent.setText()5

JTextComponent$MutableCaretEvent.fire() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
4 frames hidden
javax.swing.text.JTextComponent$MutableCaretEvent.fire
5Web pages
IllegalArgumentExceptionJTextComponent$MutableCaretEvent.fire()5

FlowView.setParent() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
11 frames hidden
javax.swing.text.FlowView.setParent
5Web pages
ArrayIndexOutOfBoundsExceptionFlowView.setParent()5

DefaultCaret.setDot() has thrown a NullPointerException

java.lang.NullPointerException
9 frames hidden
javax.swing.text.DefaultCaret.setDot
4Web pages
NullPointerExceptionDefaultCaret.setDot()4

DefaultHighlighter.addHighlight() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
javax.swing.text.DefaultHighlighter.addHighlight
4Web pages
NullPointerExceptionDefaultHighlighter.addHighlight()4

PlainView.getLineWidth() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.PlainView.getLineWidth
4Web pages
NullPointerExceptionPlainView.getLineWidth()4

JTextComponent.setDocument() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.JTextComponent.setDocument
4Web pages
NullPointerExceptionJTextComponent.setDocument()4

JTextComponent.getSelectionStart() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.JTextComponent.getSelectionStart
4Web pages
NullPointerExceptionJTextComponent.getSelectionStart()4
Nothing to list here.
Nothing to list here.
Nothing to list here.