java.lang.ArrayIndexOutOfBoundsException: 40 > 39

JIRA | Derek DeMoro | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448) at java.util.AbstractList$ListItr.set(AbstractList.java:485) at java.util.Collections.sort(Collections.java:159) at com.jivesoftware.spark.ui.ContactGroup.addContactItem(ContactGroup.java:189) at com.jivesoftware.spark.ui.ContactList.moveToOfflineGroup(ContactList.java:324) at com.jivesoftware.spark.ui.ContactList.reconnect(ContactList.java:1926) at com.jivesoftware.spark.ui.ContactList.connectionClosedOnError(ContactList.java:1999) at org.jivesoftware.smack.PacketReader.notifyConnectionError(PacketReader.java:215) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:389) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63) java.lang.ArrayIndexOutOfBoundsException: 40 > 39 at java.util.Vector.insertElementAt(Vector.java:557) at javax.swing.DefaultListModel.insertElementAt(DefaultListModel.java:335) at com.jivesoftware.spark.ui.ContactGroup.addContactItem(ContactGroup.java:196) at com.jivesoftware.spark.ui.ContactList.updateUserPresence(ContactList.java:298) at com.jivesoftware.spark.ui.ContactList.access$500(ContactList.java:100) at com.jivesoftware.spark.ui.ContactList$25.run(ContactList.java:1511) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    Jive Software Open Source | 1 decade ago | Derek DeMoro
    java.lang.ArrayIndexOutOfBoundsException: 40 > 39
  2. 0

    java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448) at java.util.AbstractList$ListItr.set(AbstractList.java:485) at java.util.Collections.sort(Collections.java:159) at com.jivesoftware.spark.ui.ContactGroup.addContactItem(ContactGroup.java:189) at com.jivesoftware.spark.ui.ContactList.moveToOfflineGroup(ContactList.java:324) at com.jivesoftware.spark.ui.ContactList.reconnect(ContactList.java:1926) at com.jivesoftware.spark.ui.ContactList.connectionClosedOnError(ContactList.java:1999) at org.jivesoftware.smack.PacketReader.notifyConnectionError(PacketReader.java:215) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:389) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63) java.lang.ArrayIndexOutOfBoundsException: 40 > 39 at java.util.Vector.insertElementAt(Vector.java:557) at javax.swing.DefaultListModel.insertElementAt(DefaultListModel.java:335) at com.jivesoftware.spark.ui.ContactGroup.addContactItem(ContactGroup.java:196) at com.jivesoftware.spark.ui.ContactList.updateUserPresence(ContactList.java:298) at com.jivesoftware.spark.ui.ContactList.access$500(ContactList.java:100) at com.jivesoftware.spark.ui.ContactList$25.run(ContactList.java:1511) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    JIRA | 1 decade ago | Derek DeMoro
    java.lang.ArrayIndexOutOfBoundsException: 40 > 39
  3. 0

    java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448) at java.util.AbstractList$ListItr.set(AbstractList.java:485) at java.util.Collections.sort(Collections.java:159) at com.jivesoftware.spark.ui.ContactGroup.addContactItem(ContactGroup.java:189) at com.jivesoftware.spark.ui.ContactList.moveToOfflineGroup(ContactList.java:324) at com.jivesoftware.spark.ui.ContactList.reconnect(ContactList.java:1926) at com.jivesoftware.spark.ui.ContactList.connectionClosedOnError(ContactList.java:1999) at org.jivesoftware.smack.PacketReader.notifyConnectionError(PacketReader.java:215) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:389) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63) java.lang.ArrayIndexOutOfBoundsException: 40 > 39 at java.util.Vector.insertElementAt(Vector.java:557) at javax.swing.DefaultListModel.insertElementAt(DefaultListModel.java:335) at com.jivesoftware.spark.ui.ContactGroup.addContactItem(ContactGroup.java:196) at com.jivesoftware.spark.ui.ContactList.updateUserPresence(ContactList.java:298) at com.jivesoftware.spark.ui.ContactList.access$500(ContactList.java:100) at com.jivesoftware.spark.ui.ContactList$25.run(ContactList.java:1511) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    Jive Software Open Source | 1 decade ago | Derek DeMoro
    java.lang.ArrayIndexOutOfBoundsException: 40 > 39
  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

      40 > 39

      at java.util.Vector.insertElementAt()
    2. Java RT
      DefaultListModel.insertElementAt
      1. java.util.Vector.insertElementAt(Vector.java:557)
      2. javax.swing.DefaultListModel.insertElementAt(DefaultListModel.java:335)
      2 frames
    3. com.jivesoftware.spark
      ContactList$25.run
      1. com.jivesoftware.spark.ui.ContactGroup.addContactItem(ContactGroup.java:196)
      2. com.jivesoftware.spark.ui.ContactList.updateUserPresence(ContactList.java:298)
      3. com.jivesoftware.spark.ui.ContactList.access$500(ContactList.java:100)
      4. com.jivesoftware.spark.ui.ContactList$25.run(ContactList.java:1511)
      4 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
      2. java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
      3. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      4. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      6. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      7. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      7 frames