Java Runtime errors

Core environment and runtime library

https://java.com
Solution coverage:
Summary coverage:

DescriptionException TypeEntry MethodWeb pages

AbstractDocument.writeLock() has thrown an IllegalStateException

java.lang.IllegalStateException
javax.swing.text.AbstractDocument.writeLock
48Web pages
IllegalStateExceptionAbstractDocument.writeLock48

BoxView.getOffset() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.text.BoxView.getOffset
24Web pages
ArrayIndexOutOfBoundsExceptionBoxView.getOffset24

JTextComponent.setCaretPosition() has thrown an IllegalArgumentException

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

CompositeView.getView() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.text.CompositeView.getView
16Web pages
ArrayIndexOutOfBoundsExceptionCompositeView.getView16

FlowView$FlowStrategy.layoutRow() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.FlowView$FlowStrategy.layoutRow
13Web pages
NullPointerExceptionFlowView$FlowStrategy.layoutRow13

AbstractDocument.writeLock() has thrown an Error

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

FlowView.calculateMinorAxisRequirements() has thrown a NullPointerException

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

BoxView.setSize() has thrown a NullPointerException

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

AbstractDocument.insertString() has thrown an OutOfMemoryError

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

CompositeView.replace() has thrown a NullPointerException

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

GapContent.getChars() has thrown a BadLocationException

javax.swing.text.BadLocationException
javax.swing.text.GapContent.getChars
9Web pages
BadLocationExceptionGapContent.getChars9

BoxView.layoutMinorAxis() has thrown an ArrayIndexOutOfBoundsException

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

BoxView.setSize() has thrown a StateInvariantError

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

GlyphView.getText() has thrown a StateInvariantError

javax.swing.text.StateInvariantError
javax.swing.text.GlyphView.getText
6Web pages
StateInvariantErrorGlyphView.getText6

AbstractDocument$AbstractElement.checkForIllegalCast() has thrown a StateInvariantError

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

Utilities.getTabbedTextWidth() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.text.Utilities.getTabbedTextWidth
6Web pages
NullPointerExceptionUtilities.getTabbedTextWidth6

PlainView.updateMetrics() has thrown a NullPointerException

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

JTextComponent.getSelectedText() has thrown an IllegalArgumentException

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

BoxView.paint() has thrown a ClassCastException

java.lang.ClassCastException
11 frames hidden
javax.swing.text.BoxView.paint
6Web pages
ClassCastExceptionBoxView.paint6

PlainView.paint() has thrown an ArithmeticException

java.lang.ArithmeticException
javax.swing.text.PlainView.paint
4Web pages
ArithmeticExceptionPlainView.paint4

DefaultHighlighter.addHighlight() has thrown a NullPointerException

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

PlainView.getLineWidth() has thrown a NullPointerException

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

JTextComponent.setDocument() has thrown a NullPointerException

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

JTextComponent.getSelectionStart() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.JTextComponent.getSelectionStart
4Web pages
NullPointerExceptionJTextComponent.getSelectionStart4

BoxView.checkRequests() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
javax.swing.text.BoxView.checkRequests
4Web pages
NullPointerExceptionBoxView.checkRequests4

DefaultCaret.setDot() has thrown a NullPointerException

java.lang.NullPointerException
9 frames hidden
javax.swing.text.DefaultCaret.setDot
3Web pages
NullPointerExceptionDefaultCaret.setDot3

GapContent.insertString() has thrown a BadLocationException

javax.swing.text.BadLocationException
javax.swing.text.GapContent.insertString
3Web pages
BadLocationExceptionGapContent.insertString3

BoxView.setSize() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.text.BoxView.setSize
3Web pages
ArrayIndexOutOfBoundsExceptionBoxView.setSize3

AbstractDocument$DefaultDocumentEvent.undo() has thrown a CannotUndoException

javax.swing.undo.CannotUndoException
2 frames hidden
javax.swing.text.AbstractDocument$DefaultDocumentEvent.undo
3Web pages
CannotUndoExceptionAbstractDocument$DefaultDocumentEvent.undo3

ParagraphView.calculateMinorAxisRequirements() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
javax.swing.text.ParagraphView.calculateMinorAxisRequirements
3Web pages
NullPointerExceptionParagraphView.calculateMinorAxisRequirements3

ComponentView.setComponentParent() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.ComponentView.setComponentParent
3Web pages
NullPointerExceptionComponentView.setComponentParent3

WrappedPlainView.drawLine() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.text.WrappedPlainView.drawLine
3Web pages
ArrayIndexOutOfBoundsExceptionWrappedPlainView.drawLine3

JTextComponent.modelToView() has thrown a BadLocationException

javax.swing.text.BadLocationException
5 frames hidden
javax.swing.text.JTextComponent.modelToView
3Web pages
BadLocationExceptionJTextComponent.modelToView3

JTextComponent.setText() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
6 frames hidden
javax.swing.text.JTextComponent.setText
3Web pages
OutOfMemoryErrorJTextComponent.setText3

CompositeView.setParent() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.text.CompositeView.setParent
3Web pages
NullPointerExceptionCompositeView.setParent3

JTextComponent.setCaretPosition() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.JTextComponent.setCaretPosition
3Web pages
NullPointerExceptionJTextComponent.setCaretPosition3

Utilities.drawComposedText() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
javax.swing.text.Utilities.drawComposedText
3Web pages
IllegalArgumentExceptionUtilities.drawComposedText3

JTextComponent.setSelectionStart() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.text.JTextComponent.setSelectionStart
3Web pages
NullPointerExceptionJTextComponent.setSelectionStart3

JTextComponent.processInputMethodEvent() has thrown a NullPointerException

java.lang.NullPointerException
4 frames hidden
javax.swing.text.JTextComponent.processInputMethodEvent
2Web pages
NullPointerExceptionJTextComponent.processInputMethodEvent2

BoxView.paintChild() has thrown a BadLocationException

javax.swing.text.BadLocationException
13 frames hidden
javax.swing.text.BoxView.paintChild
2Web pages
BadLocationExceptionBoxView.paintChild2

DefaultHighlighter.removeHighlight() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.DefaultHighlighter.removeHighlight
2Web pages
NullPointerExceptionDefaultHighlighter.removeHighlight2

AbstractDocument.fireInsertUpdate() has thrown a NullPointerException

java.lang.NullPointerException
5 frames hidden
javax.swing.text.AbstractDocument.fireInsertUpdate
2Web pages
NullPointerExceptionAbstractDocument.fireInsertUpdate2

BoxView.layoutMajorAxis() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.text.BoxView.layoutMajorAxis
2Web pages
ArrayIndexOutOfBoundsExceptionBoxView.layoutMajorAxis2

JTextComponent.getCaretPosition() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.JTextComponent.getCaretPosition
2Web pages
NullPointerExceptionJTextComponent.getCaretPosition2

View.forwardUpdate() has thrown a NullPointerException

java.lang.NullPointerException
3 frames hidden
javax.swing.text.View.forwardUpdate
2Web pages
NullPointerExceptionView.forwardUpdate2

JTextComponent.<clinit>() has thrown a LinkageError

java.lang.LinkageError
javax.swing.text.JTextComponent.<clinit>
2Web pages
LinkageErrorJTextComponent.<clinit>2

WrappedPlainView.updateMetrics() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.WrappedPlainView.updateMetrics
2Web pages
NullPointerExceptionWrappedPlainView.updateMetrics2

AbstractDocument.getText() has thrown a BadLocationException

javax.swing.text.BadLocationException
javax.swing.text.AbstractDocument.getText
2Web pages
BadLocationExceptionAbstractDocument.getText2

BoxView.checkRequests() has thrown a NullPointerException

java.lang.NullPointerException
21 frames hidden
javax.swing.text.BoxView.checkRequests
2Web pages
NullPointerExceptionBoxView.checkRequests2

DefaultCaret.changeCaretPosition() has thrown a NullPointerException

java.lang.NullPointerException
6 frames hidden
javax.swing.text.DefaultCaret.changeCaretPosition
2Web pages
NullPointerExceptionDefaultCaret.changeCaretPosition2
Package namePatterns foundSolution coverageSummary coverage
java.lang40155
java.io3870
java.awt3607
java.util.concurrent3491
java.lang.reflect3454
sun.reflect2108
java.util2071
java.net2067
javax.swing1378
java.security854
javax.naming842
java.sql689
sun.net.www.protocol.http688
sun.net.www.protocol.https681
sun.nio.ch457
java.util.zip289
sun.rmi.server287
java.nio.file261
java.util.regex260
sun.rmi.transport.tcp259
com.sun.jndi.ldap243
com.sun.org.apache.xerces.internal.impl235
com.sun.org.apache.xerces.internal.parsers221
javax.swing.plaf.basic217
sun.net.www.http217
java.util.stream180
sun.misc179
java.util.logging153
com.sun.org.apache.xerces.internal.jaxp151
java.nio148
java.util.jar142
javax.swing.text141
sun.launcher138
java.beans137
java.text133
javax.imageio130
sun.rmi.registry127
javax.management.remote.rmi116
javax.security.auth.login115
javax.net.ssl114
java.rmi114
com.sun.org.apache.xalan.internal.xsltc.trax110
sun.nio.cs110
java.awt.image104
javax.security.auth98
sun.rmi.transport97
java.nio.channels95
sun.instrument92
java.util.concurrent.locks88
java.awt.event86
Package nameClass namePatterns foundSolution coverageSummary coverage
javax.swing.textBoxView35
javax.swing.textJTextComponent25
javax.swing.textAbstractDocument16
javax.swing.textPlainView7
javax.swing.textFlowView6
javax.swing.textUtilities6
javax.swing.textCompositeView6
javax.swing.textView5
javax.swing.textParagraphView3
javax.swing.textDefaultCaret3
javax.swing.textWrappedPlainView3
javax.swing.textAbstractDocument$AbstractElement2
javax.swing.textGapContent2
javax.swing.textDefaultHighlighter2
javax.swing.textFlowView$FlowStrategy1
javax.swing.textGlyphView1
javax.swing.textStyleConstants1
javax.swing.textDefaultStyledDocument1
javax.swing.textFlowView$LogicalView1
javax.swing.textPlainDocument1
javax.swing.textStyleContext1
javax.swing.textComponentView1
javax.swing.textDefaultEditorKit$PasteAction1
javax.swing.textDefaultStyledDocument$ElementBuffer1
javax.swing.textFieldView1
javax.swing.textJTextComponent$InputMethodRequestsHandler1
javax.swing.textTextLayoutStrategy1
javax.swing.textAbstractDocument$BranchElement1
javax.swing.textComponentView$Invalidator1
javax.swing.textDefaultFormatter1
javax.swing.textGlyphPainter11
javax.swing.textJTextComponent$MutableCaretEvent1
javax.swing.textSimpleAttributeSet1
javax.swing.textAbstractDocument$DefaultDocumentEvent1
Package nameClass nameMethod namePatterns foundSolution coverage
javax.swing.textBoxViewsetSize13
javax.swing.textBoxViewpaint6
javax.swing.textJTextComponentsetText6
javax.swing.textBoxViewcheckRequests5
javax.swing.textAbstractDocumentinsertString4
javax.swing.textJTextComponentsetDocument4
javax.swing.textBoxViewreplace4
javax.swing.textUtilitiesgetTabbedTextWidth3
javax.swing.textJTextComponentsetCaretPosition3
javax.swing.textAbstractDocumentgetText3
javax.swing.textCompositeViewreplace3
javax.swing.textAbstractDocumentreplace2
javax.swing.textParagraphViewpaint2
javax.swing.textJTextComponentgetText2
javax.swing.textFlowViewlayout2
javax.swing.textAbstractDocumentwriteLock2
javax.swing.textViewupdateChildren2
javax.swing.textFlowViewsetParent2
javax.swing.textViewinsertUpdate2
javax.swing.textPlainViewpaint2
javax.swing.textJTextComponentupdateUI2
javax.swing.textFieldViewpaint1
javax.swing.textGlyphPainter1sync1
javax.swing.textFlowViewremoveUpdate1
javax.swing.textAbstractDocumentfireUndoableEditUpdate1
javax.swing.textPlainViewupdateMetrics1
javax.swing.textViewforwardUpdate1
javax.swing.textDefaultCaretchangeCaretPosition1
javax.swing.textComponentView$InvalidatorvalidateIfNecessary1
javax.swing.textBoxViewlayoutMajorAxis1
javax.swing.textAbstractDocument$BranchElementgetEndOffset1
javax.swing.textDefaultHighlighterremoveHighlight1
javax.swing.textFlowView$LogicalViewgetPreferredSpan1
javax.swing.textTextLayoutStrategylayoutRow1
javax.swing.textWrappedPlainViewupdateMetrics1
javax.swing.textPlainViewgetLineWidth1
javax.swing.textCompositeViewsetParent1
javax.swing.textJTextComponent$InputMethodRequestsHandlergetTextLocation1
javax.swing.textBoxViewgetOffset1
javax.swing.textJTextComponent<clinit>1
javax.swing.textFlowViewcalculateMinorAxisRequirements1
javax.swing.textGlyphViewgetText1
javax.swing.textUtilitiesdrawComposedText1
javax.swing.textSimpleAttributeSetaddAttribute1
javax.swing.textDefaultEditorKit$PasteActionactionPerformed1
javax.swing.textPlainDocumentinsertString1
javax.swing.textBoxViewlayout1
javax.swing.textJTextComponentmodelToView1
javax.swing.textJTextComponentgetSelectionStart1
javax.swing.textAbstractDocument$DefaultDocumentEventundo1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
javax.swing.textBoxViewsetSizeArrayIndexOutOfBoundsException6
javax.swing.textBoxViewcheckRequestsNullPointerException4
javax.swing.textBoxViewpaintNullPointerException4
javax.swing.textBoxViewsetSizeNullPointerException4
javax.swing.textJTextComponentsetDocumentNullPointerException4
javax.swing.textAbstractDocumentgetTextBadLocationException3
javax.swing.textBoxViewreplaceArrayIndexOutOfBoundsException3
javax.swing.textBoxViewsetSizeStateInvariantError2
javax.swing.textCompositeViewreplaceArrayIndexOutOfBoundsException2
javax.swing.textJTextComponentsetCaretPositionNullPointerException2
javax.swing.textJTextComponentsetTextIllegalStateException2
javax.swing.textUtilitiesgetTabbedTextWidthArrayIndexOutOfBoundsException2
javax.swing.textAbstractDocumentfireUndoableEditUpdateClassCastException1
javax.swing.textAbstractDocumentwriteLockError1
javax.swing.textAbstractDocumenthandleInsertStringIllegalStateException1
javax.swing.textAbstractDocumentfireInsertUpdateNullPointerException1
javax.swing.textAbstractDocumentwriteLockIllegalStateException1
javax.swing.textAbstractDocumentremoveIllegalStateException1
javax.swing.textAbstractDocumentcreateLeafElementStateInvariantError1
javax.swing.textAbstractDocumentreplaceIllegalStateException1
javax.swing.textAbstractDocumentinsertStringOutOfMemoryError1
javax.swing.textAbstractDocumentinsertStringError1
javax.swing.textAbstractDocumentreplaceIllegalArgumentException1
javax.swing.textAbstractDocumentinsertStringIllegalStateException1
javax.swing.textAbstractDocumentinsertStringBadLocationException1
javax.swing.textAbstractDocument$AbstractElementcheckForIllegalCastStateInvariantError1
javax.swing.textAbstractDocument$AbstractElement<init>StateInvariantError1
javax.swing.textAbstractDocument$BranchElementgetEndOffsetArrayIndexOutOfBoundsException1
javax.swing.textAbstractDocument$DefaultDocumentEventundoCannotUndoException1
javax.swing.textBoxViewpaintChildBadLocationException1
javax.swing.textBoxViewlayoutMajorAxisArrayIndexOutOfBoundsException1
javax.swing.textBoxViewlayoutArrayIndexOutOfBoundsException1
javax.swing.textBoxViewreplaceNullPointerException1
javax.swing.textBoxViewsetSpanOnAxisNullPointerException1
javax.swing.textBoxViewpaintArrayIndexOutOfBoundsException1
javax.swing.textBoxViewmodelToViewNullPointerException1
javax.swing.textBoxViewcheckRequestsStateInvariantError1
javax.swing.textBoxViewgetOffsetArrayIndexOutOfBoundsException1
javax.swing.textBoxViewsetSizeClassCastException1
javax.swing.textBoxViewpaintClassCastException1
javax.swing.textBoxViewlayoutMinorAxisArrayIndexOutOfBoundsException1
javax.swing.textComponentViewsetComponentParentNullPointerException1
javax.swing.textComponentView$InvalidatorvalidateIfNecessaryArrayIndexOutOfBoundsException1
javax.swing.textCompositeViewreplaceNullPointerException1
javax.swing.textCompositeViewgetNextVisualPositionFromArrayIndexOutOfBoundsException1
javax.swing.textCompositeViewgetViewArrayIndexOutOfBoundsException1
javax.swing.textCompositeViewsetParentNullPointerException1
javax.swing.textDefaultCaretsetDotNullPointerException1
javax.swing.textDefaultCaretselectWordClassCastException1
javax.swing.textDefaultCaretchangeCaretPositionNullPointerException1