java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by aoighost
, 1 year ago
setSelectedIndex: 0 out of bounds
via GitHub by adam-m
, 1 year ago
setSelectedIndex: 0 out of bounds
via GitHub by steaky
, 1 year ago
setSelectedIndex: 22 out of bounds
via Netbeans Bugzilla by peterp, 4 months ago
setSelectedIndex: 5 out of bounds <---- here the number raises as you change property
via GitHub by steaky
, 1 year ago
setSelectedIndex: 22 out of bounds
via GitHub by stevek123
, 1 month ago
setSelectedIndex: 0 out of bounds
java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds
at org.sleuthkit.autopsy.casemodule.LocalDiskPanel.updateDisks(LocalDiskPanel.java:72)
at org.sleuthkit.autopsy.casemodule.LocalDiskPanel.(LocalDiskPanel.java:43)
at org.sleuthkit.autopsy.casemodule.LocalDiskPanel.getDefault(LocalDiskPanel.java:51)
at org.sleuthkit.autopsy.casemodule.ImageTypePanel.getPanels(ImageTypePanel.java:31)
at org.sleuthkit.autopsy.casemodule.AddImageVisualPanel1$ImageTypeModel.(AddImageVisualPanel1.java:375)
at org.sleuthkit.autopsy.casemodule.AddImageVisualPanel1$ImageTypeModel.(AddImageVisualPanel1.java:373)
at org.sleuthkit.autopsy.casemodule.AddImageVisualPanel1.customInit(AddImageVisualPanel1.java:73)
at org.sleuthkit.autopsy.casemodule.AddImageVisualPanel1.(AddImageVisualPanel1.java:69)
at org.sleuthkit.autopsy.casemodule.AddImageWizardPanel1.getComponent(AddImageWizardPanel1.java:64)
at org.sleuthkit.autopsy.casemodule.AddImageWizardPanel1.getComponent(AddImageWizardPanel1.java:41)
at org.sleuthkit.autopsy.casemodule.AddImageWizardIterator.getPanels(AddImageWizardIterator.java:58)
at org.sleuthkit.autopsy.casemodule.AddImageWizardIterator.current(AddImageWizardIterator.java:99)
at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:870)
at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:844)
at org.openide.WizardDescriptor.initialize(WizardDescriptor.java:519)
at org.openide.NotifyDescriptor.getterCalled(NotifyDescriptor.java:290)
at org.openide.DialogDescriptor.isModal(DialogDescriptor.java:322)
at org.netbeans.core.windows.services.NbDialog.(NbDialog.java:67)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1.run(DialogDisplayerImpl.java:152)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1.run(DialogDisplayerImpl.java:116)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1363)
at org.openide.util.Mutex.readAccess(Mutex.java:273)
at org.netbeans.core.windows.services.DialogDisplayerImpl.createDialog(DialogDisplayerImpl.java:116)
at org.sleuthkit.autopsy.casemodule.AddImageAction.actionPerformed(AddImageAction.java:125)
at org.sleuthkit.autopsy.casemodule.AddImageAction$1.actionPerformed(AddImageAction.java:93)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:696)
at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.