Java Runtime errors

Core environment and runtime library

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

DescriptionException TypeEntry MethodWeb pages

ImageIcon.<init>() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.ImageIcon.<init>
317Web pages
NullPointerExceptionImageIcon.<init>317

UIDefaults.getUIError() has thrown an Error

java.lang.Error
javax.swing.UIDefaults.getUIError
91Web pages
ErrorUIDefaults.getUIError91

JTable$BooleanRenderer.getTableCellRendererComponent() has thrown a ClassCastException

java.lang.ClassCastException
javax.swing.JTable$BooleanRenderer.getTableCellRendererComponent
71Web pages
ClassCastExceptionJTable$BooleanRenderer.getTableCellRendererComponent71

JTabbedPane.checkIndex() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
javax.swing.JTabbedPane.checkIndex
48Web pages
IndexOutOfBoundsExceptionJTabbedPane.checkIndex48

JFrame.createRootPaneException() has thrown an Error

java.lang.Error
javax.swing.JFrame.createRootPaneException
37Web pages
ErrorJFrame.createRootPaneException37

JComboBox.setSelectedIndex() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.JComboBox.setSelectedIndex
33Web pages
IllegalArgumentExceptionJComboBox.setSelectedIndex33

DefaultRowSorter.convertRowIndexToModel() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
javax.swing.DefaultRowSorter.convertRowIndexToModel
29Web pages
IndexOutOfBoundsExceptionDefaultRowSorter.convertRowIndexToModel29

UIManager.getUI() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
javax.swing.UIManager.getUI
27Web pages
NullPointerExceptionUIManager.getUI27

GroupLayout.checkComponents() has thrown an IllegalStateException

java.lang.IllegalStateException
javax.swing.GroupLayout.checkComponents
26Web pages
IllegalStateExceptionGroupLayout.checkComponents26

LayoutComparator.compare() has thrown a ClassCastException

java.lang.ClassCastException
javax.swing.LayoutComparator.compare
25Web pages
ClassCastExceptionLayoutComparator.compare25

UIManager.initializeDefaultLAF() has thrown an Error

java.lang.Error
javax.swing.UIManager.initializeDefaultLAF
23Web pages
ErrorUIManager.initializeDefaultLAF23

DefaultRowSorter.checkAgainstModel() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
javax.swing.DefaultRowSorter.checkAgainstModel
21Web pages
IndexOutOfBoundsExceptionDefaultRowSorter.checkAgainstModel21

JList$AccessibleJList$AccessibleJListChild.getAccessibleValue() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.JList$AccessibleJList$AccessibleJListChild.getAccessibleValue
21Web pages
NullPointerExceptionJList$AccessibleJList$AccessibleJListChild.getAccessibleValue21

JTable.prepareRenderer() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.JTable.prepareRenderer
19Web pages
NullPointerExceptionJTable.prepareRenderer19

JComponent._paintImmediately() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.JComponent._paintImmediately
18Web pages
NullPointerExceptionJComponent._paintImmediately18

JTable.boundRow() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.JTable.boundRow
17Web pages
IllegalArgumentExceptionJTable.boundRow17

BoxLayout.preferredLayoutSize() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.BoxLayout.preferredLayoutSize
17Web pages
NullPointerExceptionBoxLayout.preferredLayoutSize17

SwingWorker$1.call() has thrown a LngsException

lngs.util.LngsException
4 frames hidden
javax.swing.SwingWorker$1.call
17Web pages
LngsExceptionSwingWorker$1.call17

SwingUtilities.getWindowAncestor() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.SwingUtilities.getWindowAncestor
17Web pages
NullPointerExceptionSwingUtilities.getWindowAncestor17

JTable.convertRowIndexToModel() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.JTable.convertRowIndexToModel
16Web pages
NullPointerExceptionJTable.convertRowIndexToModel16

BufferStrategyPaintManager.flushAccumulatedRegion() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion
15Web pages
NullPointerExceptionBufferStrategyPaintManager.flushAccumulatedRegion15

SpinnerNumberModel.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.SpinnerNumberModel.<init>
14Web pages
IllegalArgumentExceptionSpinnerNumberModel.<init>14

JTable$1.getValueAt() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.JTable$1.getValueAt
13Web pages
ArrayIndexOutOfBoundsExceptionJTable$1.getValueAt13

JComponent.repaint() has thrown an Exception

java.lang.Exception
2 frames hidden
javax.swing.JComponent.repaint
13Web pages
ExceptionJComponent.repaint13

DefaultRowSorter.convertRowIndexToModel() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.DefaultRowSorter.convertRowIndexToModel
12Web pages
ArrayIndexOutOfBoundsExceptionDefaultRowSorter.convertRowIndexToModel12

SwingUtilities.computeIntersection() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.SwingUtilities.computeIntersection
12Web pages
NullPointerExceptionSwingUtilities.computeIntersection12

JComponent.scrollRectToVisible() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.JComponent.scrollRectToVisible
11Web pages
NullPointerExceptionJComponent.scrollRectToVisible11

DefaultBoundedRangeModel.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.DefaultBoundedRangeModel.<init>
11Web pages
IllegalArgumentExceptionDefaultBoundedRangeModel.<init>11

SwingUtilities.convertPoint() has thrown an Error

java.lang.Error
javax.swing.SwingUtilities.convertPoint
11Web pages
ErrorSwingUtilities.convertPoint11

UIManager.maybeInitialize() has thrown a VerifyError

java.lang.VerifyError
3 frames hidden
javax.swing.UIManager.maybeInitialize
10Web pages
VerifyErrorUIManager.maybeInitialize10

JComponent.paint() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
5 frames hidden
javax.swing.JComponent.paint
10Web pages
IllegalArgumentExceptionJComponent.paint10

UIManager.getBorder() has thrown a NullPointerException

java.lang.NullPointerException
8 frames hidden
javax.swing.UIManager.getBorder
10Web pages
NullPointerExceptionUIManager.getBorder10

SizeRequirements.calculateTiledPositions() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
1 frames hidden
javax.swing.SizeRequirements.calculateTiledPositions
9Web pages
ArrayIndexOutOfBoundsExceptionSizeRequirements.calculateTiledPositions9

JComponent.getPreferredSize() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.JComponent.getPreferredSize
9Web pages
NullPointerExceptionJComponent.getPreferredSize9

JLabel.setHorizontalAlignment() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
javax.swing.JLabel.setHorizontalAlignment
9Web pages
IllegalArgumentExceptionJLabel.setHorizontalAlignment9

AbstractButton.doClick() has thrown an IllegalStateException

java.lang.IllegalStateException
10 frames hidden
javax.swing.AbstractButton.doClick
9Web pages
IllegalStateExceptionAbstractButton.doClick9

DefaultDesktopManager.maximizeFrame() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.DefaultDesktopManager.maximizeFrame
9Web pages
NullPointerExceptionDefaultDesktopManager.maximizeFrame9

JTable.getScrollableUnitIncrement() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.JTable.getScrollableUnitIncrement
8Web pages
NullPointerExceptionJTable.getScrollableUnitIncrement8

TimerQueue.run() has thrown a TimerQueue

javax.swing.TimerQueue
javax.swing.TimerQueue.run
8Web pages
TimerQueueTimerQueue.run8

LayoutFocusTraversalPolicy.getComponentAfter() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
javax.swing.LayoutFocusTraversalPolicy.getComponentAfter
8Web pages
IllegalArgumentExceptionLayoutFocusTraversalPolicy.getComponentAfter8

ImageIcon.writeObject() has thrown an IOException

java.io.IOException
javax.swing.ImageIcon.writeObject
8Web pages
IOExceptionImageIcon.writeObject8

JComponent.paint() has thrown a NullPointerException

java.lang.NullPointerException
3 frames hidden
javax.swing.JComponent.paint
8Web pages
NullPointerExceptionJComponent.paint8

AbstractButton$Handler.actionPerformed() has thrown an UndeclaredThrowableException

java.lang.reflect.UndeclaredThrowableException
2 frames hidden
javax.swing.AbstractButton$Handler.actionPerformed
8Web pages
UndeclaredThrowableExceptionAbstractButton$Handler.actionPerformed8

JTextArea.replaceRange() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.JTextArea.replaceRange
7Web pages
IllegalArgumentExceptionJTextArea.replaceRange7

JTable$1.getRowCount() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.JTable$1.getRowCount
7Web pages
NullPointerExceptionJTable$1.getRowCount7

LayoutComparator.compare() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.LayoutComparator.compare
7Web pages
NullPointerExceptionLayoutComparator.compare7

SizeRequirements.calculateAlignedPositions() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
javax.swing.SizeRequirements.calculateAlignedPositions
6Web pages
ArrayIndexOutOfBoundsExceptionSizeRequirements.calculateAlignedPositions6

JScrollPane.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
javax.swing.JScrollPane.<init>
6Web pages
IllegalArgumentExceptionJScrollPane.<init>6

BoxLayout.checkRequests() has thrown a NullPointerException

java.lang.NullPointerException
javax.swing.BoxLayout.checkRequests
6Web pages
NullPointerExceptionBoxLayout.checkRequests6

JOptionPane.createInternalFrame() has thrown a RuntimeException

java.lang.RuntimeException
javax.swing.JOptionPane.createInternalFrame
6Web pages
RuntimeExceptionJOptionPane.createInternalFrame6
Package namePatterns foundSolution coverageSummary coverage
java.lang40970
java.io3903
java.awt3666
java.util.concurrent3518
java.lang.reflect3507
sun.reflect2132
java.util2082
java.net2076
javax.swing1415
java.security864
javax.naming845
java.sql697
sun.net.www.protocol.https694
sun.net.www.protocol.http692
sun.nio.ch460
java.util.zip291
sun.rmi.server288
java.nio.file270
java.util.regex261
sun.rmi.transport.tcp261
com.sun.jndi.ldap245
com.sun.org.apache.xerces.internal.impl236
com.sun.org.apache.xerces.internal.parsers225
javax.swing.plaf.basic219
sun.net.www.http217
java.util.stream189
sun.misc180
java.util.logging155
com.sun.org.apache.xerces.internal.jaxp151
java.nio149
java.util.jar144
javax.swing.text142
sun.launcher138
java.beans137
java.text133
javax.imageio130
sun.rmi.registry127
javax.net.ssl117
javax.management.remote.rmi116
javax.security.auth.login115
java.rmi114
com.sun.org.apache.xalan.internal.xsltc.trax110
sun.nio.cs110
java.awt.image104
sun.rmi.transport97
javax.security.auth97
java.nio.channels95
sun.instrument92
java.awt.event86
javax.naming.directory78
Package nameClass namePatterns foundSolution coverageSummary coverage
javax.swingJComponent503
javax.swingJTable72
javax.swingAbstractButton71
javax.swingUIManager59
javax.swingDefaultButtonModel42
javax.swingJFrame36
javax.swingRepaintManager36
javax.swingJEditorPane35
javax.swingDefaultListSelectionModel34
javax.swingJFileChooser31
javax.swingSwingUtilities28
javax.swingJTabbedPane28
javax.swingImageIcon25
javax.swingJPanel22
javax.swingJComboBox21
javax.swingJOptionPane20
javax.swingJLayeredPane19
javax.swingJTree18
javax.swingJViewport17
javax.swingRepaintManager$PaintManager14
javax.swingDefaultRowSorter12
javax.swingJDialog11
javax.swingJMenu11
javax.swingJLabel11
javax.swingJList10
javax.swingDefaultListModel9
javax.swingJRootPane9
javax.swingJSlider8
javax.swingSwingWorker$18
javax.swingSwingWorker8
javax.swingJTextArea8
javax.swingJScrollPane8
javax.swingJScrollBar7
javax.swingGroupLayout6
javax.swingMenuSelectionManager6
javax.swingSortingFocusTraversalPolicy6
javax.swingDefaultBoundedRangeModel6
javax.swingMultiUIDefaults5
javax.swingJPopupMenu5
javax.swingDefaultCellEditor5
javax.swingJTextField5
javax.swingDefaultComboBoxModel5
javax.swingAbstractButton$Handler5
javax.swingSpinnerNumberModel4
javax.swingUIDefaults4
javax.swingJTable$14
javax.swingLayoutComparator4
javax.swingBoxLayout4
javax.swingJButton4
javax.swingLayoutFocusTraversalPolicy3
Package nameClass nameMethod namePatterns foundSolution coverage
javax.swingJComponentpaint253
javax.swingJComponentpaintChildren64
javax.swingJComponentpaintToOffscreen47
javax.swingAbstractButtonfireActionPerformed41
javax.swingJFrame<init>29
javax.swingDefaultButtonModelsetPressed29
javax.swingJComponentgetPreferredSize25
javax.swingUIManagersetLookAndFeel25
javax.swingDefaultListSelectionModelfireValueChanged24
javax.swingAbstractButtondoClick23
javax.swingJComponentpaintImmediately21
javax.swingJComponentaddNotify19
javax.swingJPanel<init>17
javax.swingJLayeredPanepaint17
javax.swingRepaintManagerpaintDirtyRegions15
javax.swingJTableprepareRenderer15
javax.swingJFileChooser<init>14
javax.swingImageIcon<init>14
javax.swingJComponentpaintComponent13
javax.swingRepaintManager$PaintManagerpaint12
javax.swingDefaultButtonModelfireActionPerformed12
javax.swingJEditorPanegetPreferredSize11
javax.swingJComponentgetFontMetrics11
javax.swingJTreeexpandPath10
javax.swingUIManagergetUI9
javax.swingJTablegetValueAt9
javax.swingJViewportpaint9
javax.swingRepaintManagerpaint8
javax.swingJComponentgetMinimumSize8
javax.swingSwingWorker$1call8
javax.swingDefaultListSelectionModelsetSelectionInterval7
javax.swingJDialog<init>7
javax.swingJScrollPane<init>7
javax.swingJEditorPanesetText7
javax.swingJLabel<init>7
javax.swingJEditorPanesetPage7
javax.swingUIManagermaybeInitialize7
javax.swingJTabletableChanged6
javax.swingSwingUtilitiesinvokeAndWait6
javax.swingRepaintManagervalidateInvalidComponents6
javax.swingJTabbedPaneaddTab6
javax.swingUIManagergetDefaults6
javax.swingImageIconpaintIcon6
javax.swingSwingWorkerrun6
javax.swingJTabbedPanesetSelectedIndex6
javax.swingJRootPane<init>5
javax.swingAbstractButton$HandleractionPerformed5
javax.swingJOptionPaneshowMessageDialog5
javax.swingJFileChoosersetCurrentDirectory5
javax.swingJMenusetSelected5
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
javax.swingJComponentpaintNullPointerException87
javax.swingJComponentpaintArrayIndexOutOfBoundsException52
javax.swingJComponentpaintClassCastException46
javax.swingJComponentpaintIllegalArgumentException20
javax.swingJComponentpaintChildrenClassCastException19
javax.swingJComponentpaintChildrenNullPointerException18
javax.swingDefaultListSelectionModelfireValueChangedNullPointerException18
javax.swingJComponentpaintToOffscreenArrayIndexOutOfBoundsException16
javax.swingJComponentpaintChildrenArrayIndexOutOfBoundsException15
javax.swingJComponentgetPreferredSizeNullPointerException15
javax.swingJComponentpaintToOffscreenClassCastException15
javax.swingJComponentpaintToOffscreenNullPointerException12
javax.swingAbstractButtonfireActionPerformedNullPointerException11
javax.swingAbstractButtondoClickNullPointerException11
javax.swingJComponentpaintIndexOutOfBoundsException10
javax.swingJComponentpaintImmediatelyArrayIndexOutOfBoundsException10
javax.swingJFrame<init>InternalError9
javax.swingJComponentgetFontMetricsNullPointerException9
javax.swingJComponentaddNotifyNullPointerException8
javax.swingJComponentpaintImmediatelyNullPointerException8
javax.swingJLayeredPanepaintNullPointerException7
javax.swingJPanel<init>Error7
javax.swingRepaintManagerpaintDirtyRegionsArrayIndexOutOfBoundsException7
javax.swingRepaintManagerpaintDirtyRegionsNullPointerException6
javax.swingDefaultButtonModelfireActionPerformedNullPointerException6
javax.swingJTablegetValueAtArrayIndexOutOfBoundsException6
javax.swingJComponentpaintComponentNullPointerException6
javax.swingUIManagersetLookAndFeelNoClassDefFoundError6
javax.swingJFileChooser<init>NullPointerException5
javax.swingUIManagersetLookAndFeelNullPointerException5
javax.swingJComponentaddNotifyXException5
javax.swingJViewportpaintNullPointerException5
javax.swingJComponentgetMinimumSizeNullPointerException5
javax.swingJEditorPanegetPreferredSizeNullPointerException5
javax.swingJComponentgetPreferredSizeArrayIndexOutOfBoundsException5
javax.swingJScrollPane<init>Error5
javax.swingJFrame<init>NullPointerException5
javax.swingJTreeexpandPathNoSuchMethodError5
javax.swingRepaintManager$PaintManagerpaintClassCastException5
javax.swingRepaintManagervalidateInvalidComponentsArrayIndexOutOfBoundsException4
javax.swingJTableprepareRendererArrayIndexOutOfBoundsException4
javax.swingJComponentpaintOutOfMemoryError4
javax.swingJComponentpaintChildrenIllegalArgumentException4
javax.swingAbstractButtonfireActionPerformedSQLException4
javax.swingJEditorPanegetPreferredSizeArrayIndexOutOfBoundsException4
javax.swingJRootPane<init>Error4
javax.swingJTablegetRowCountNullPointerException4
javax.swingJFileChooser<init>AccessControlException4
javax.swingUIManagersetLookAndFeelClassNotFoundException4
javax.swingJTabletableChangedIndexOutOfBoundsException4