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

CLONE -Principal attributes containing UTF-8 characters cause exceptions in Crowd client

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 0.4.5
    • 0.3.2
    • Integration/Connectors
    • None
    • Active Directory

      Calls to findPrincipalByName are failing with below exception. When I look at the SOAP calls I find that char 4337 to be the active directory "ObjectSID" property which is UTF-8. This error stops the Email, Fullname and groups from showing up in Jira. See attachment.

      2007-01-03 16:05:54,468 http-8080-Processor25 FATAL [service.soap.client.SecurityServerClient] Unable to connect to the crowd server: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Error parsing document.. Nested exception is com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 17))
      at [row,col

      {unknown-source}]: [1,4337]
      org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Error parsing document.. Nested exception is com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 17))
      at [row,col {unknown-source}

      ]: [1,4337]
      org.codehaus.xfire.fault.XFireFault: Error parsing document.. Nested exception is com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 17))
      at [row,col

      {unknown-source}

      ]: [1,4337]
      at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
      at org.codehaus.xfire.client.Client.onReceive(Client.java:386)
      at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
      at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
      at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
      at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
      at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
      at org.codehaus.xfire.client.Client.invoke(Client.java:335)
      at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
      at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
      at $Proxy5.findPrincipalByName(Unknown Source)
      at com.atlassian.crowd.integration.service.soap.client.SecurityServerClient.findPrincipalByName(SecurityServerClient.java:270)
      at com.atlassian.crowd.integration.osuser.CrowdBaseProvider.findPrincipalByName(CrowdBaseProvider.java:123)
      at com.atlassian.crowd.integration.osuser.CrowdPropertySet.init(CrowdPropertySet.java:237)
      at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:45)
      at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:22)
      at com.atlassian.crowd.integration.osuser.CrowdProfileProvider.getPropertySet(CrowdProfileProvider.java:25)
      at com.opensymphony.user.Entity.getPropertySet(Entity.java:87)
      at com.opensymphony.user.User.getFullName(User.java:83)

            [CWD-167] CLONE -Principal attributes containing UTF-8 characters cause exceptions in Crowd client

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1510080 ] New: JAC Bug Workflow v3 [ 3364939 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392839 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1510080 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 272252 ] New: Simplified Crowd Development Workflow v2 [ 1392839 ]
            jawong.adm made changes -
            Workflow Original: JIRA Bug Workflow v2 [ 173517 ] New: Crowd Development Workflow v2 [ 272252 ]
            Justin Koke made changes -
            Workflow Original: jira [ 76846 ] New: JIRA Bug Workflow v2 [ 173517 ]
            Justin Koke made changes -
            Assignee Original: shihab [ shamid@atlassian.com ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            shihab made changes -
            Fix Version/s New: 0.4.5 [ 12652 ]
            Fix Version/s Original: 0.4.2 [ 12623 ]
            Fix Version/s Original: 0.4.4 [ 12642 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            shihab added a comment -

            Any attribute values with invalid XML characters are filtered out. If no valid values exist for an attribute, the attribute is not included in the SOAP message.

            shihab added a comment - Any attribute values with invalid XML characters are filtered out. If no valid values exist for an attribute, the attribute is not included in the SOAP message.
            shihab made changes -
            Link New: This issue is derived from CWD-109 [ CWD-109 ]
            Damon Rand created issue -

              Unassigned Unassigned
              65037adbeda8 Damon Rand
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: