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

Adding a Principal to Sun DSEE 6.2 throws a NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.2.1, 1.3
    • 1.1.2
    • Directory - LDAP
    • None

    Description

      This came in via the forums:

      http://forums.atlassian.com/post!reply.jspa?messageID=257256340

      I'm using Crowd 1.1.2 with Sun Directory Server EE 6.2 (this was previously SunONE). The initial import of users from JIRA worked fine. However, when I try to create a new user in JIRA, I get this error:

      com.opensymphony.user.ImmutableException: No provider successfully created entity rivertest
      at com.opensymphony.user.UserManager.createEntity(UserManager.java:379)

      Crowd logs this:

      06:17:09,935 ERROR org.codehaus.xfire.handler.DefaultFaultHandler: Fault occurred!
      java.lang.NullPointerException
      at com.atlassian.crowd.integration.directory.connector.SunONE.getPassword(SunONE.java:41)
      at com.atlassian.crowd.integration.directory.connector.SunONE.addPrincipal(SunONE.java:62)

      Looking at the source code it appears that the credentials for the user are null.

      ie a null List of 'null' credentials are being passed to our SunOne code, which is a little weird.

      Attachments

        Activity

          People

            doflynn David O'Flynn [Atlassian]
            justin@atlassian.com Justin Koke
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified