Java Runtime errors

Core environment and runtime library

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

DescriptionException TypeEntry MethodWeb pages

JComponent.paintToOffscreen() has thrown a ClassCastException

java.lang.ClassCastException
12 frames hidden
javax.swing.JComponent.paintToOffscreen
676Web pages
ClassCastExceptionJComponent.paintToOffscreen676

ImageIcon.<init>() has thrown a NullPointerException

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

JComponent.paintChildren() has thrown a ClassCastException

java.lang.ClassCastException
21 frames hidden
javax.swing.JComponent.paintChildren
278Web pages
ClassCastExceptionJComponent.paintChildren278

JComponent.paintToOffscreen() has thrown a ClassCastException

java.lang.ClassCastException
22 frames hidden
javax.swing.JComponent.paintToOffscreen
152Web pages
ClassCastExceptionJComponent.paintToOffscreen152

JComponent.paintToOffscreen() has thrown a ClassCastException

java.lang.ClassCastException
23 frames hidden
javax.swing.JComponent.paintToOffscreen
126Web pages
ClassCastExceptionJComponent.paintToOffscreen126

JFrame.<init>() has thrown a HeadlessException

java.awt.HeadlessException
4 frames hidden
javax.swing.JFrame.<init>
124Web pages
HeadlessExceptionJFrame.<init>124

UIDefaults.getUIError() has thrown an Error

java.lang.Error
javax.swing.UIDefaults.getUIError
90Web pages
ErrorUIDefaults.getUIError90

ImageIcon.paintIcon() has thrown a ClassCastException

java.lang.ClassCastException
11 frames hidden
javax.swing.ImageIcon.paintIcon
86Web pages
ClassCastExceptionImageIcon.paintIcon86

ImageIcon.<init>() has thrown an AccessControlException

java.security.AccessControlException
6 frames hidden
javax.swing.ImageIcon.<init>
85Web pages
AccessControlExceptionImageIcon.<init>85

ImageIcon.<init>() has thrown an AccessControlException

java.security.AccessControlException
7 frames hidden
javax.swing.ImageIcon.<init>
81Web pages
AccessControlExceptionImageIcon.<init>81

RepaintManager$PaintManager.paint() has thrown a ClassCastException

java.lang.ClassCastException
14 frames hidden
javax.swing.RepaintManager$PaintManager.paint
75Web pages
ClassCastExceptionRepaintManager$PaintManager.paint75

JTable$BooleanRenderer.getTableCellRendererComponent() has thrown a ClassCastException

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

JComponent.paint() has thrown a ClassCastException

java.lang.ClassCastException
17 frames hidden
javax.swing.JComponent.paint
70Web pages
ClassCastExceptionJComponent.paint70

JTable.prepareRenderer() has thrown a ClassCastException

java.lang.ClassCastException
1 frames hidden
javax.swing.JTable.prepareRenderer
68Web pages
ClassCastExceptionJTable.prepareRenderer68

JFrame.<init>() has thrown a HeadlessException

java.awt.HeadlessException
3 frames hidden
javax.swing.JFrame.<init>
63Web pages
HeadlessExceptionJFrame.<init>63

JTable.getValueAt() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.JTable.getValueAt
61Web pages
ArrayIndexOutOfBoundsExceptionJTable.getValueAt61

MultiUIDefaults.getUIError() has thrown an Error

java.lang.Error
1 frames hidden
javax.swing.MultiUIDefaults.getUIError
58Web pages
ErrorMultiUIDefaults.getUIError58

UIManager.getUI() has thrown an Error

java.lang.Error
3 frames hidden
javax.swing.UIManager.getUI
57Web pages
ErrorUIManager.getUI57

SwingUtilities.getSharedOwnerFrame() has thrown a HeadlessException

java.awt.HeadlessException
5 frames hidden
javax.swing.SwingUtilities.getSharedOwnerFrame
54Web pages
HeadlessExceptionSwingUtilities.getSharedOwnerFrame54

JTable.prepareRenderer() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
3 frames hidden
javax.swing.JTable.prepareRenderer
51Web pages
ArrayIndexOutOfBoundsExceptionJTable.prepareRenderer51

ImageIcon.paintIcon() has thrown a ClassCastException

java.lang.ClassCastException
13 frames hidden
javax.swing.ImageIcon.paintIcon
49Web pages
ClassCastExceptionImageIcon.paintIcon49

JTabbedPane.checkIndex() has thrown an IndexOutOfBoundsException

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

JComponent.rectangleIsObscured() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
1 frames hidden
javax.swing.JComponent.rectangleIsObscured
44Web pages
ArrayIndexOutOfBoundsExceptionJComponent.rectangleIsObscured44

JComponent.paint() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.JComponent.paint
43Web pages
ArrayIndexOutOfBoundsExceptionJComponent.paint43

JComponent.paintChildren() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
5 frames hidden
javax.swing.JComponent.paintChildren
39Web pages
IndexOutOfBoundsExceptionJComponent.paintChildren39

JFrame.createRootPaneException() has thrown an Error

java.lang.Error
javax.swing.JFrame.createRootPaneException
38Web pages
ErrorJFrame.createRootPaneException38

SwingWorker$1.call() has thrown an Exception

java.lang.Exception
4 frames hidden
javax.swing.SwingWorker$1.call
37Web pages
ExceptionSwingWorker$1.call37

RepaintManager$PaintManager.paint() has thrown a ClassCastException

java.lang.ClassCastException
24 frames hidden
javax.swing.RepaintManager$PaintManager.paint
37Web pages
ClassCastExceptionRepaintManager$PaintManager.paint37

JPopupMenu.show() has thrown an IllegalComponentStateException

java.awt.IllegalComponentStateException
2 frames hidden
javax.swing.JPopupMenu.show
35Web pages
IllegalComponentStateExceptionJPopupMenu.show35

SwingWorker.run() has thrown an Exception

java.lang.Exception
7 frames hidden
javax.swing.SwingWorker.run
34Web pages
ExceptionSwingWorker.run34

JComponent.paint() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
9 frames hidden
javax.swing.JComponent.paint
34Web pages
ArrayIndexOutOfBoundsExceptionJComponent.paint34

JTable.setValueAt() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
2 frames hidden
javax.swing.JTable.setValueAt
33Web pages
ArrayIndexOutOfBoundsExceptionJTable.setValueAt33

JComponent.paint() has thrown a ClassCastException

java.lang.ClassCastException
19 frames hidden
javax.swing.JComponent.paint
33Web pages
ClassCastExceptionJComponent.paint33

DefaultListModel.getElementAt() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
1 frames hidden
javax.swing.DefaultListModel.getElementAt
32Web pages
ArrayIndexOutOfBoundsExceptionDefaultListModel.getElementAt32

JComponent.paintToOffscreen() has thrown a ClassCastException

java.lang.ClassCastException
19 frames hidden
javax.swing.JComponent.paintToOffscreen
32Web pages
ClassCastExceptionJComponent.paintToOffscreen32

JOptionPane.getRootFrame() has thrown a HeadlessException

java.awt.HeadlessException
6 frames hidden
javax.swing.JOptionPane.getRootFrame
32Web pages
HeadlessExceptionJOptionPane.getRootFrame32

UIDefaults.getUI() has thrown an Error

java.lang.Error
1 frames hidden
javax.swing.UIDefaults.getUI
31Web pages
ErrorUIDefaults.getUI31

UIManager.getUI() has thrown an Error

java.lang.Error
2 frames hidden
javax.swing.UIManager.getUI
31Web pages
ErrorUIManager.getUI31

JComboBox.setSelectedIndex() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
javax.swing.JComboBox.setSelectedIndex
31Web pages
IllegalArgumentExceptionJComboBox.setSelectedIndex31

JTable.editingStopped() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
3 frames hidden
javax.swing.JTable.editingStopped
30Web pages
ArrayIndexOutOfBoundsExceptionJTable.editingStopped30

AbstractCellEditor.fireEditingStopped() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
4 frames hidden
javax.swing.AbstractCellEditor.fireEditingStopped
29Web pages
ArrayIndexOutOfBoundsExceptionAbstractCellEditor.fireEditingStopped29

ImageIcon.<init>() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
javax.swing.ImageIcon.<init>
28Web pages
NullPointerExceptionImageIcon.<init>28

LayoutComparator.compare() has thrown a ClassCastException

java.lang.ClassCastException
javax.swing.LayoutComparator.compare
27Web pages
ClassCastExceptionLayoutComparator.compare27

DefaultRowSorter.convertRowIndexToModel() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
javax.swing.DefaultRowSorter.convertRowIndexToModel
27Web pages
IndexOutOfBoundsExceptionDefaultRowSorter.convertRowIndexToModel27

JOptionPane.showOptionDialog() has thrown a HeadlessException

java.awt.HeadlessException
7 frames hidden
javax.swing.JOptionPane.showOptionDialog
26Web pages
HeadlessExceptionJOptionPane.showOptionDialog26

BoxLayout.checkContainer() has thrown an AWTError

java.awt.AWTError
javax.swing.BoxLayout.checkContainer
26Web pages
AWTErrorBoxLayout.checkContainer26

JComponent.paint() has thrown a NumberFormatException

java.lang.NumberFormatException
38 frames hidden
javax.swing.JComponent.paint
26Web pages
NumberFormatExceptionJComponent.paint26

UIManager.getUI() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
javax.swing.UIManager.getUI
26Web pages
NullPointerExceptionUIManager.getUI26

GroupLayout.checkComponents() has thrown an IllegalStateException

java.lang.IllegalStateException
javax.swing.GroupLayout.checkComponents
25Web pages
IllegalStateExceptionGroupLayout.checkComponents25

JFrame.setDefaultCloseOperation() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
javax.swing.JFrame.setDefaultCloseOperation
25Web pages
AccessControlExceptionJFrame.setDefaultCloseOperation25
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.swingJComponent546
javax.swingAbstractButton113
javax.swingJTable74
javax.swingUIManager71
javax.swingDefaultButtonModel63
javax.swingRepaintManager51
javax.swingJFrame45
javax.swingJEditorPane42
javax.swingJFileChooser38
javax.swingDefaultListSelectionModel35
javax.swingSwingUtilities33
javax.swingJTabbedPane30
javax.swingJPanel29
javax.swingImageIcon28
javax.swingJComboBox24
javax.swingJTree23
javax.swingJOptionPane23
javax.swingJLayeredPane19
javax.swingJViewport18
javax.swingRepaintManager$PaintManager16
javax.swingDefaultRowSorter14
javax.swingJDialog13
javax.swingSwingWorker12
javax.swingJList11
javax.swingJLabel10
javax.swingAbstractButton$Handler10
javax.swingDefaultListModel9
javax.swingJTextArea9
javax.swingSwingWorker$19
javax.swingJScrollBar8
javax.swingSortingFocusTraversalPolicy8
javax.swingJMenu8
javax.swingJRootPane7
javax.swingJPopupMenu7
javax.swingDefaultComboBoxModel7
javax.swingDefaultBoundedRangeModel7
javax.swingJScrollPane7
javax.swingJSlider7
javax.swingJButton5
javax.swingJTextField5
javax.swingDefaultCellEditor5
javax.swingLookAndFeel5
javax.swingMenuSelectionManager5
javax.swingGroupLayout5
javax.swingJApplet4
javax.swingLayoutFocusTraversalPolicy4
javax.swingLayoutComparator4
javax.swingMultiUIDefaults4
javax.swingBoxLayout4
javax.swingJTable$14
Package nameClass nameMethod namePatterns foundSolution coverage
javax.swingJComponentpaint262
javax.swingJComponentpaintChildren67
javax.swingAbstractButtonfireActionPerformed62
javax.swingJComponentpaintToOffscreen46
javax.swingDefaultButtonModelsetPressed46
javax.swingAbstractButtondoClick39
javax.swingJFrame<init>37
javax.swingUIManagersetLookAndFeel30
javax.swingJComponentgetPreferredSize26
javax.swingDefaultListSelectionModelfireValueChanged25
javax.swingJComponentaddNotify24
javax.swingRepaintManagerpaintDirtyRegions22
javax.swingJComponentpaintImmediately22
javax.swingJLayeredPanepaint17
javax.swingJPanel<init>16
javax.swingDefaultButtonModelfireActionPerformed16
javax.swingImageIcon<init>16
javax.swingJFileChooser<init>15
javax.swingJComponentpaintComponent14
javax.swingJTableprepareRenderer14
javax.swingRepaintManager$PaintManagerpaint14
javax.swingJPanelupdateUI13
javax.swingUIManagergetUI11
javax.swingJEditorPanegetPreferredSize11
javax.swingRepaintManagerpaint11
javax.swingAbstractButton$HandleractionPerformed10
javax.swingJComponentgetFontMetrics10
javax.swingSwingWorkerrun10
javax.swingJViewportpaint10
javax.swingJEditorPanesetPage10
javax.swingJTreeexpandPath10
javax.swingSwingWorker$1call9
javax.swingUIManagermaybeInitialize9
javax.swingJComponentgetMinimumSize9
javax.swingJTablegetValueAt9
javax.swingJComponentprocessMouseEvent9
javax.swingSwingUtilitiesinvokeAndWait8
javax.swingJDialog<init>8
javax.swingRepaintManagervalidateInvalidComponents8
javax.swingImageIconpaintIcon7
javax.swingJTabbedPaneaddTab7
javax.swingDefaultListSelectionModelsetSelectionInterval6
javax.swingJEditorPanesetText6
javax.swingSwingUtilitiesinvokeLater6
javax.swingJTabletableChanged6
javax.swingJTabbedPanesetSelectedIndex6
javax.swingJLabel<init>6
javax.swingJFileChoosersetCurrentDirectory6
javax.swingUIManagergetDefaults6
javax.swingJComponentfirePropertyChange6
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
javax.swingJComponentpaintNullPointerException92
javax.swingJComponentpaintArrayIndexOutOfBoundsException60
javax.swingJComponentpaintClassCastException39
javax.swingJComponentpaintChildrenNullPointerException22
javax.swingJComponentpaintIllegalArgumentException20
javax.swingDefaultListSelectionModelfireValueChangedNullPointerException18
javax.swingAbstractButtonfireActionPerformedNullPointerException17
javax.swingJComponentpaintChildrenArrayIndexOutOfBoundsException17
javax.swingJComponentgetPreferredSizeNullPointerException15
javax.swingJComponentpaintToOffscreenArrayIndexOutOfBoundsException15
javax.swingAbstractButtondoClickNullPointerException15
javax.swingJComponentpaintChildrenClassCastException14
javax.swingJComponentpaintToOffscreenClassCastException12
javax.swingJComponentpaintImmediatelyArrayIndexOutOfBoundsException11
javax.swingJComponentpaintIndexOutOfBoundsException10
javax.swingJComponentpaintToOffscreenNullPointerException10
javax.swingJFrame<init>InternalError9
javax.swingRepaintManagerpaintDirtyRegionsArrayIndexOutOfBoundsException9
javax.swingJComponentaddNotifyNullPointerException8
javax.swingJComponentgetFontMetricsNullPointerException8
javax.swingJComponentpaintImmediatelyNullPointerException8
javax.swingRepaintManagerpaintDirtyRegionsNullPointerException8
javax.swingJPanelupdateUINullPointerException7
javax.swingUIManagersetLookAndFeelNoClassDefFoundError7
javax.swingAbstractButtonfireActionPerformedSQLException7
javax.swingJPanel<init>Error7
javax.swingJComponentpaintComponentNullPointerException7
javax.swingJLayeredPanepaintNullPointerException7
javax.swingJTablegetValueAtArrayIndexOutOfBoundsException6
javax.swingJFrame<init>NullPointerException6
javax.swingDefaultButtonModelfireActionPerformedNullPointerException6
javax.swingAbstractButtonfireActionPerformedNoClassDefFoundError6
javax.swingJFileChooser<init>NullPointerException5
javax.swingRepaintManagervalidateInvalidComponentsArrayIndexOutOfBoundsException5
javax.swingJFileChooser<init>AccessControlException5
javax.swingRepaintManager$PaintManagerpaintClassCastException5
javax.swingDefaultButtonModelsetPressedNullPointerException5
javax.swingAbstractButton$HandleractionPerformedNullPointerException5
javax.swingJViewportpaintNullPointerException5
javax.swingJTabletableChangedIndexOutOfBoundsException5
javax.swingJComponentgetMinimumSizeNullPointerException5
javax.swingJComponentaddNotifyXException5
javax.swingUIManagersetLookAndFeelNullPointerException5
javax.swingJEditorPanegetPreferredSizeNullPointerException5
javax.swingJTableprepareRendererArrayIndexOutOfBoundsException4
javax.swingJComponentpaintOutOfMemoryError4
javax.swingSortingFocusTraversalPolicygetFocusTraversalCycleIllegalArgumentException4
javax.swingJComponentpaintChildrenIllegalArgumentException4
javax.swingDefaultListSelectionModelsetSelectionIntervalNullPointerException4
javax.swingJComponentpaintInternalError4