java.lang.StringIndexOutOfBoundsException: String index out of range: -1

JIRA | Mircea Carasel | 4 years ago
  1. 0

    The following exception is seen in the console: Exception in thread "AWT-EventQueue-1" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1949) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.parseRoleFromPacket(GroupChatParticipantList.java:408) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.addParticipant(GroupChatParticipantList.java:362) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList$3$1.run(GroupChatParticipantList.java:215) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670) at java.awt.EventQueue.access$400(EventQueue.java:96) at java.awt.EventQueue$2.run(EventQueue.java:631) at java.awt.EventQueue$2.run(EventQueue.java:629) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:640) at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:182) 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 | 4 years ago | Mircea Carasel
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    The following exception is seen in the console: Exception in thread "AWT-EventQueue-1" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1949) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.parseRoleFromPacket(GroupChatParticipantList.java:408) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.addParticipant(GroupChatParticipantList.java:362) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList$3$1.run(GroupChatParticipantList.java:215) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670) at java.awt.EventQueue.access$400(EventQueue.java:96) at java.awt.EventQueue$2.run(EventQueue.java:631) at java.awt.EventQueue$2.run(EventQueue.java:629) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:640) at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:182) 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 | 4 years ago | Mircea Carasel
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    The following exception is seen in the console: Exception in thread "AWT-EventQueue-1" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1949) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.parseRoleFromPacket(GroupChatParticipantList.java:408) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.addParticipant(GroupChatParticipantList.java:362) at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList$3$1.run(GroupChatParticipantList.java:215) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670) at java.awt.EventQueue.access$400(EventQueue.java:96) at java.awt.EventQueue$2.run(EventQueue.java:631) at java.awt.EventQueue$2.run(EventQueue.java:629) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:640) at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:182) 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 | 4 years ago | Mircea Carasel
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Invalid Markup shows StringIndexOutOfBoundsExceptionange instead of JadeCompilerException

    GitHub | 4 years ago | avalax
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    cassandra java client throws string index out of range exception

    Stack Overflow | 3 years ago | piyush
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  1. archenroot 17 times, last 1 week ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 3 weeks ago
  4. DoktorDoener666 6 times, last 4 weeks ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 unregistered visitors
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.StringIndexOutOfBoundsException

    String index out of range: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1949)
    1 frame
  3. org.jivesoftware.spark
    GroupChatParticipantList$3$1.run
    1. org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.parseRoleFromPacket(GroupChatParticipantList.java:408)
    2. org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.addParticipant(GroupChatParticipantList.java:362)
    3. org.jivesoftware.spark.ui.conferences.GroupChatParticipantList$3$1.run(GroupChatParticipantList.java:215)
    3 frames
  4. Java RT
    EventQueue.dispatchEvent
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
    3. java.awt.EventQueue.access$400(EventQueue.java:96)
    4. java.awt.EventQueue$2.run(EventQueue.java:631)
    5. java.awt.EventQueue$2.run(EventQueue.java:629)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
    8 frames
  5. org.jivesoftware.sparkimpl
    UserIdlePlugin$1.dispatchEvent
    1. org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent(UserIdlePlugin.java:182)
    1 frame
  6. 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