java.lang.ArrayIndexOutOfBoundsException: -1

JIRA | Konstantin Zolotarev | 7 years ago
  1. 0

    If in some cases you wouldn't select any language into Spell checker Preference window. this error will occupied: Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:338) at java.util.ArrayList.get(ArrayList.java:351) at org.jivesoftware.spellchecker.SpellcheckerPreferenceDialog.getSelectedLanguage(SpellcheckerPreferenceDialog.java:87) at org.jivesoftware.spellchecker.SpellcheckerPreference.commit(SpellcheckerPreference.java:30) at org.jivesoftware.sparkimpl.preference.PreferencesPanel.valueChanged(PreferencesPanel.java:74) at javax.swing.JList.fireSelectionValueChanged(JList.java:1782) at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1796) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154) at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685) at javax.swing.JList.setValueIsAdjusting(JList.java:2127) at javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2786) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6108) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:5873) at java.awt.Container.processEvent(Container.java:2105) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:140) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

    Jive Software Open Source | 7 years ago | Konstantin Zolotarev
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    If in some cases you wouldn't select any language into Spell checker Preference window. this error will occupied: Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:338) at java.util.ArrayList.get(ArrayList.java:351) at org.jivesoftware.spellchecker.SpellcheckerPreferenceDialog.getSelectedLanguage(SpellcheckerPreferenceDialog.java:87) at org.jivesoftware.spellchecker.SpellcheckerPreference.commit(SpellcheckerPreference.java:30) at org.jivesoftware.sparkimpl.preference.PreferencesPanel.valueChanged(PreferencesPanel.java:74) at javax.swing.JList.fireSelectionValueChanged(JList.java:1782) at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1796) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154) at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685) at javax.swing.JList.setValueIsAdjusting(JList.java:2127) at javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2786) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6108) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:5873) at java.awt.Container.processEvent(Container.java:2105) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:140) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

    JIRA | 7 years ago | Konstantin Zolotarev
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    If in some cases you wouldn't select any language into Spell checker Preference window. this error will occupied: Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:338) at java.util.ArrayList.get(ArrayList.java:351) at org.jivesoftware.spellchecker.SpellcheckerPreferenceDialog.getSelectedLanguage(SpellcheckerPreferenceDialog.java:87) at org.jivesoftware.spellchecker.SpellcheckerPreference.commit(SpellcheckerPreference.java:30) at org.jivesoftware.sparkimpl.preference.PreferencesPanel.valueChanged(PreferencesPanel.java:74) at javax.swing.JList.fireSelectionValueChanged(JList.java:1782) at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1796) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154) at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685) at javax.swing.JList.setValueIsAdjusting(JList.java:2127) at javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2786) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6108) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:5873) at java.awt.Container.processEvent(Container.java:2105) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:140) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

    Jive Software Open Source | 7 years ago | Konstantin Zolotarev
    java.lang.ArrayIndexOutOfBoundsException: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at java.util.ArrayList.elementData()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.elementData(ArrayList.java:338)
    2. java.util.ArrayList.get(ArrayList.java:351)
    2 frames
  3. org.jivesoftware.spellchecker
    SpellcheckerPreference.commit
    1. org.jivesoftware.spellchecker.SpellcheckerPreferenceDialog.getSelectedLanguage(SpellcheckerPreferenceDialog.java:87)
    2. org.jivesoftware.spellchecker.SpellcheckerPreference.commit(SpellcheckerPreference.java:30)
    2 frames
  4. org.jivesoftware.sparkimpl
    PreferencesPanel.valueChanged
    1. org.jivesoftware.sparkimpl.preference.PreferencesPanel.valueChanged(PreferencesPanel.java:74)
    1 frame
  5. Java RT
    EventQueue.dispatchEvent
    1. javax.swing.JList.fireSelectionValueChanged(JList.java:1782)
    2. javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1796)
    3. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
    4. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154)
    5. javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685)
    6. javax.swing.JList.setValueIsAdjusting(JList.java:2127)
    7. javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2786)
    8. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
    9. java.awt.Component.processMouseEvent(Component.java:6108)
    10. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    11. java.awt.Component.processEvent(Component.java:5873)
    12. java.awt.Container.processEvent(Container.java:2105)
    13. java.awt.Component.dispatchEventImpl(Component.java:4469)
    14. java.awt.Container.dispatchEventImpl(Container.java:2163)
    15. java.awt.Component.dispatchEvent(Component.java:4295)
    16. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
    17. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
    18. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
    19. java.awt.Container.dispatchEventImpl(Container.java:2149)
    20. java.awt.Window.dispatchEventImpl(Window.java:2478)
    21. java.awt.Component.dispatchEvent(Component.java:4295)
    22. java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
    22 frames
  6. org.jivesoftware.sparkimpl
    UserIdlePlugin$1.dispatchEvent
    1. org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:140)
    1 frame
  7. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
    6 frames