Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1511

Sometimes when someone joins group chat room the user is not listed in the participants list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              mirceac Mircea Carasel
              Reporter:
              mirceac Mircea Carasel
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: