Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-728

The Internal Directory is throwing a java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 on requiresPasswordChange()

    XMLWordPrintable

Details

    Description

      The following exception is being seen in extranet Crowd:

      17:00:38,684 ERROR org.codehaus.xfire.handler.DefaultFaultHandler: Fault occurred!
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
      	at java.util.ArrayList.get(ArrayList.java:322)
      	at org.hibernate.collection.PersistentList.get(PersistentList.java:271)
      	at com.atlassian.crowd.integration.directory.internal.InternalDirectory.requiresPasswordChange(InternalDirectory.java:797)
      	at com.atlassian.crowd.integration.directory.internal.InternalDirectory.processAuthentication(InternalDirectory.java:758)
      	at com.atlassian.crowd.integration.directory.internal.InternalDirectory.authenticate(InternalDirectory.java:184)
      

      We need to replace the current calls to AttributeValues with the singleValue calls.

      Attachments

        Activity

          People

            justin@atlassian.com Justin Koke
            justin@atlassian.com Justin Koke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: