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
47Web pages
IllegalStateExceptionAbstractDocument.writeLock47

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
24Web pages
IllegalArgumentExceptionJTextComponent.setCaretPosition24

BoxView.getChildAllocation() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
3 frames hidden
javax.swing.text.BoxView.getChildAllocation
22Web pages
ArrayIndexOutOfBoundsExceptionBoxView.getChildAllocation22

BoxView.childAllocation() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
1 frames hidden
javax.swing.text.BoxView.childAllocation
22Web pages
ArrayIndexOutOfBoundsExceptionBoxView.childAllocation22

AbstractDocument.replace() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
javax.swing.text.AbstractDocument.replace
21Web pages
IllegalStateExceptionAbstractDocument.replace21

JTextComponent.setText() has thrown an IllegalStateException

java.lang.IllegalStateException
2 frames hidden
javax.swing.text.JTextComponent.setText
20Web pages
IllegalStateExceptionJTextComponent.setText20

DefaultStyledDocument$ElementBuffer.insertElement() has thrown an EmptyStackException

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

DefaultEditorKit$PasteAction.actionPerformed() has thrown a NullPointerException

java.lang.NullPointerException
21 frames hidden
javax.swing.text.DefaultEditorKit$PasteAction.actionPerformed
18Web pages
NullPointerExceptionDefaultEditorKit$PasteAction.actionPerformed18

JTextComponent$InputMethodRequestsHandler.getTextLocation() has thrown an IllegalComponentStateException

java.awt.IllegalComponentStateException
2 frames hidden
javax.swing.text.JTextComponent$InputMethodRequestsHandler.getTextLocation
16Web pages
IllegalComponentStateExceptionJTextComponent$InputMethodRequestsHandler.getTextLocation16

CompositeView.getView() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.text.CompositeView.getView
15Web pages
ArrayIndexOutOfBoundsExceptionCompositeView.getView15

BoxView.replace() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.text.BoxView.replace
15Web pages
ArrayIndexOutOfBoundsExceptionBoxView.replace15

FlowView$FlowStrategy.layoutRow() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.text.FlowView$FlowStrategy.layoutRow
14Web pages
NullPointerExceptionFlowView$FlowStrategy.layoutRow14

FlowView.layout() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
javax.swing.text.FlowView.layout
12Web pages
NullPointerExceptionFlowView.layout12

Utilities.getTabbedTextOffset() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.text.Utilities.getTabbedTextOffset
12Web pages
ArrayIndexOutOfBoundsExceptionUtilities.getTabbedTextOffset12

PlainView.viewToModel() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
4 frames hidden
javax.swing.text.PlainView.viewToModel
12Web pages
ArrayIndexOutOfBoundsExceptionPlainView.viewToModel12

AbstractDocument.insertString() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
8 frames hidden
javax.swing.text.AbstractDocument.insertString
11Web pages
OutOfMemoryErrorAbstractDocument.insertString11

AbstractDocument.writeLock() has thrown an Error

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

BoxView.setSize() has thrown a NullPointerException

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

BoxView.setSize() has thrown a NullPointerException

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

FlowView.calculateMinorAxisRequirements() has thrown a NullPointerException

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

CompositeView.replace() has thrown a NullPointerException

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

BoxView.setSize() has thrown a StateInvariantError

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

BoxView.setSize() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
6 frames hidden
javax.swing.text.BoxView.setSize
9Web pages
ArrayIndexOutOfBoundsExceptionBoxView.setSize9

BoxView.layoutMinorAxis() has thrown an ArrayIndexOutOfBoundsException

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

GapContent.getChars() has thrown a BadLocationException

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

BoxView.layout() has thrown an ArrayIndexOutOfBoundsException

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

BoxView.setSpanOnAxis() has thrown a NullPointerException

java.lang.NullPointerException
6 frames hidden
javax.swing.text.BoxView.setSpanOnAxis
8Web pages
NullPointerExceptionBoxView.setSpanOnAxis8

AbstractDocument.getText() has thrown a BadLocationException

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

AbstractDocument.remove() has thrown an IllegalStateException

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

SimpleAttributeSet.addAttribute() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.text.SimpleAttributeSet.addAttribute
8Web pages
NullPointerExceptionSimpleAttributeSet.addAttribute8

FieldView.viewToModel() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
5 frames hidden
javax.swing.text.FieldView.viewToModel
8Web pages
ArrayIndexOutOfBoundsExceptionFieldView.viewToModel8

AbstractDocument.insertString() has thrown an Error

java.lang.Error
1 frames hidden
javax.swing.text.AbstractDocument.insertString
8Web pages
ErrorAbstractDocument.insertString8

BoxView.paint() has thrown a NullPointerException

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

BoxView.paint() has thrown a NullPointerException

java.lang.NullPointerException
3 frames hidden
javax.swing.text.BoxView.paint
7Web pages
NullPointerExceptionBoxView.paint7

AbstractDocument.insertString() has thrown an IllegalStateException

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

PlainDocument.insertString() has thrown an Error

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

GlyphView.getText() has thrown a StateInvariantError

javax.swing.text.StateInvariantError
javax.swing.text.GlyphView.getText
7Web pages
StateInvariantErrorGlyphView.getText7

BoxView.setSize() has thrown a NullPointerException

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

BoxView.setSize() has thrown an ArrayIndexOutOfBoundsException

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

AbstractDocument$AbstractElement.checkForIllegalCast() has thrown a StateInvariantError

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

View.preferenceChanged() has thrown a Component$AWTTreeLock

java.awt.Component$AWTTreeLock
3 frames hidden
javax.swing.text.View.preferenceChanged
6Web pages
Component$AWTTreeLockView.preferenceChanged6

JTextComponent.getSelectedText() has thrown an IllegalArgumentException

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

DefaultStyledDocument.setCharacterAttributes() has thrown an IllegalStateException

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

BoxView.paint() has thrown a ClassCastException

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

Utilities.getTabbedTextWidth() has thrown a NullPointerException

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

FlowView$LogicalView.getPreferredSpan() has thrown a StateInvariantError

javax.swing.text.StateInvariantError
3 frames hidden
javax.swing.text.FlowView$LogicalView.getPreferredSpan
5Web pages
StateInvariantErrorFlowView$LogicalView.getPreferredSpan5

FlowView.setParent() has thrown an ArrayIndexOutOfBoundsException

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

BoxView.replace() has thrown a NullPointerException

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

JTextComponent$MutableCaretEvent.fire() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
4 frames hidden
javax.swing.text.JTextComponent$MutableCaretEvent.fire
5Web pages
IllegalArgumentExceptionJTextComponent$MutableCaretEvent.fire5
Package namePatterns foundSolution coverageSummary coverage
java.lang7927
java.util.concurrent4667
java.io4419
java.lang.reflect4019
java.awt2397
java.net2282
sun.reflect2209
java.util1921
javax.swing1636
java.security1033
javax.naming1017
java.sql803
sun.net.www.protocol.http740
sun.net.www.protocol.https718
sun.nio.ch466
sun.rmi.server381
sun.rmi.transport.tcp326
java.util.zip322
com.sun.jndi.ldap289
java.util.regex285
com.sun.org.apache.xerces.internal.impl269
sun.net.www.http261
java.nio.file257
com.sun.org.apache.xerces.internal.parsers247
javax.swing.plaf.basic240
sun.misc236
java.util.logging172
com.sun.org.apache.xerces.internal.jaxp168
java.util.jar162
java.beans160
javax.swing.text158
java.nio157
sun.rmi.registry151
java.util.stream143
javax.security.auth.login143
java.text143
javax.management.remote.rmi142
java.rmi137
javax.imageio135
sun.rmi.transport134
sun.nio.cs131
javax.net.ssl129
java.awt.event124
com.sun.org.apache.xalan.internal.xsltc.trax117
java.awt.image115
javax.security.auth115
java.nio.channels110
java.rmi.server92
java.util.concurrent.locks90
javax.naming.directory88
Package nameClass namePatterns foundSolution coverageSummary coverage
javax.swing.textBoxView38
javax.swing.textJTextComponent27
javax.swing.textAbstractDocument16
javax.swing.textFlowView8
javax.swing.textPlainView8
javax.swing.textView7
javax.swing.textUtilities6
javax.swing.textCompositeView6
javax.swing.textGlyphView4
javax.swing.textWrappedPlainView3
javax.swing.textAbstractDocument$AbstractElement3
javax.swing.textDefaultCaret3
javax.swing.textParagraphView3
javax.swing.textPlainDocument2
javax.swing.textGapContent2
javax.swing.textFieldView2
javax.swing.textDefaultHighlighter2
javax.swing.textDefaultStyledDocument$ElementBuffer1
javax.swing.textAbstractDocument$DefaultFilterBypass1
javax.swing.textSimpleAttributeSet1
javax.swing.textAbstractDocument$BranchElement1
javax.swing.textFlowView$FlowStrategy1
javax.swing.textFlowView$LogicalView1
javax.swing.textDefaultFormatter1
javax.swing.textJTextComponent$MutableCaretEvent1
javax.swing.textTextLayoutStrategy1
javax.swing.textDefaultStyledDocument1
javax.swing.textComponentView$Invalidator1
javax.swing.textAbstractDocument$DefaultDocumentEvent1
javax.swing.textStyleContext1
javax.swing.textStyleConstants1
javax.swing.textDefaultEditorKit$PasteAction1
javax.swing.textComponentView1
javax.swing.textGlyphPainter11
javax.swing.textJTextComponent$InputMethodRequestsHandler1
Package nameClass nameMethod namePatterns foundSolution coverage
javax.swing.textBoxViewsetSize12
javax.swing.textBoxViewpaint7
javax.swing.textJTextComponentsetText7
javax.swing.textBoxViewcheckRequests5
javax.swing.textAbstractDocumentgetText4
javax.swing.textJTextComponentsetDocument4
javax.swing.textAbstractDocumentinsertString4
javax.swing.textBoxViewreplace4
javax.swing.textCompositeViewreplace3
javax.swing.textJTextComponentsetCaretPosition3
javax.swing.textUtilitiesgetTabbedTextWidth3
javax.swing.textFlowViewcalculateMinorAxisRequirements3
javax.swing.textPlainDocumentinsertString2
javax.swing.textFlowViewlayout2
javax.swing.textPlainViewpaint2
javax.swing.textJTextComponentmodelToView2
javax.swing.textJTextComponentgetText2
javax.swing.textViewinsertUpdate2
javax.swing.textAbstractDocumentwriteLock2
javax.swing.textViewupdateChildren2
javax.swing.textParagraphViewpaint2
javax.swing.textGlyphViewgetBreakSpot2
javax.swing.textFlowViewsetParent2
javax.swing.textAbstractDocumentreplace2
javax.swing.textDefaultCaretchangeCaretPosition1
javax.swing.textJTextComponentmoveCaretPosition1
javax.swing.textDefaultStyledDocument$ElementBufferinsertElement1
javax.swing.textJTextComponent$InputMethodRequestsHandlergetTextLocation1
javax.swing.textJTextComponentprocessInputMethodEvent1
javax.swing.textGapContentinsertString1
javax.swing.textWrappedPlainViewcalculateBreakPosition1
javax.swing.textStyleConstantssetForeground1
javax.swing.textDefaultCaretsetDot1
javax.swing.textUtilitiesdrawComposedText1
javax.swing.textPlainViewinsertUpdate1
javax.swing.textJTextComponentgetSelectedText1
javax.swing.textAbstractDocument$DefaultDocumentEventundo1
javax.swing.textJTextComponent<clinit>1
javax.swing.textBoxViewlayoutMinorAxis1
javax.swing.textAbstractDocument$AbstractElementcheckForIllegalCast1
javax.swing.textDefaultEditorKit$PasteActionactionPerformed1
javax.swing.textAbstractDocument$AbstractElementaddAttributes1
javax.swing.textViewremoveUpdate1
javax.swing.textParagraphViewcalculateMinorAxisRequirements1
javax.swing.textAbstractDocumentcreateLeafElement1
javax.swing.textAbstractDocument$AbstractElement<init>1
javax.swing.textFlowView$FlowStrategylayoutRow1
javax.swing.textJTextComponentsetSelectionStart1
javax.swing.textPlainViewlineToRect1
javax.swing.textFlowView$LogicalViewgetPreferredSpan1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
javax.swing.textBoxViewsetSizeArrayIndexOutOfBoundsException5
javax.swing.textBoxViewpaintNullPointerException5
javax.swing.textAbstractDocumentgetTextBadLocationException4
javax.swing.textBoxViewsetSizeNullPointerException4
javax.swing.textBoxViewcheckRequestsNullPointerException4
javax.swing.textJTextComponentsetDocumentNullPointerException4
javax.swing.textBoxViewreplaceArrayIndexOutOfBoundsException3
javax.swing.textJTextComponentsetTextIllegalStateException2
javax.swing.textUtilitiesgetTabbedTextWidthArrayIndexOutOfBoundsException2
javax.swing.textFlowViewcalculateMinorAxisRequirementsNullPointerException2
javax.swing.textBoxViewsetSizeStateInvariantError2
javax.swing.textCompositeViewreplaceArrayIndexOutOfBoundsException2
javax.swing.textJTextComponentsetCaretPositionNullPointerException2
javax.swing.textGlyphViewgetBreakSpotIllegalArgumentException2
javax.swing.textAbstractDocument$BranchElementgetEndOffsetArrayIndexOutOfBoundsException1
javax.swing.textComponentView$InvalidatorvalidateIfNecessaryArrayIndexOutOfBoundsException1
javax.swing.textAbstractDocumentinsertStringOutOfMemoryError1
javax.swing.textJTextComponentgetSelectionStartNullPointerException1
javax.swing.textJTextComponentprocessInputMethodEventNullPointerException1
javax.swing.textFlowView$LogicalViewgetPreferredSpanStateInvariantError1
javax.swing.textCompositeViewsetParentNullPointerException1
javax.swing.textBoxViewgetOffsetArrayIndexOutOfBoundsException1
javax.swing.textPlainViewinsertUpdateNullPointerException1
javax.swing.textBoxViewlayoutArrayIndexOutOfBoundsException1
javax.swing.textBoxViewsetSpanOnAxisNullPointerException1
javax.swing.textPlainViewpaintArithmeticException1
javax.swing.textFlowViewremoveUpdateNullPointerException1
javax.swing.textFlowViewsetParentArrayIndexOutOfBoundsException1
javax.swing.textFlowViewlayoutArrayIndexOutOfBoundsException1
javax.swing.textDefaultHighlighterremoveHighlightNullPointerException1
javax.swing.textViewupdateChildrenNullPointerException1
javax.swing.textGlyphViewgetBreakWeightNullPointerException1
javax.swing.textBoxViewcheckRequestsStateInvariantError1
javax.swing.textDefaultFormatterinstallNullPointerException1
javax.swing.textWrappedPlainViewdrawLineArrayIndexOutOfBoundsException1
javax.swing.textDefaultCaretsetDotNullPointerException1
javax.swing.textJTextComponentsetTextComponent$AWTTreeLock1
javax.swing.textPlainViewdrawLineStateInvariantError1
javax.swing.textFlowViewlayoutNullPointerException1
javax.swing.textUtilitiesgetTabbedTextOffsetArrayIndexOutOfBoundsException1
javax.swing.textViewremoveUpdateNullPointerException1
javax.swing.textBoxViewreplaceNullPointerException1
javax.swing.textDefaultHighlighteraddHighlightNullPointerException1
javax.swing.textGapContentinsertStringBadLocationException1
javax.swing.textJTextComponent$MutableCaretEventfireIllegalArgumentException1
javax.swing.textAbstractDocumentwriteLockIllegalStateException1
javax.swing.textAbstractDocumentreplaceIllegalArgumentException1
javax.swing.textAbstractDocument$AbstractElementcheckForIllegalCastStateInvariantError1
javax.swing.textParagraphViewpaintNullPointerException1
javax.swing.textDefaultStyledDocument$ElementBufferinsertElementEmptyStackException1