Error synchronizing Fisheye user with Crowd
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Integrate Fisheye and Crowd 2.1 with SSO. Synchronizing users with Crowd will have the following error in the fisheye-debug-<date>.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2012-11-09 12:28:41,845 DEBUG [btpool0-18 ] perf.timer Timer-output - -> CrowdAuth.recreateAuth() mem_usage = 113185728 heapsize = 531759104 freemem = 418573376
2012-11-09 12:28:41,845 DEBUG [btpool0-18 ] fisheye.app CrowdAuth$4-call - Groups to Synchronize is empty. Checking if user: 'klfoong' can authenticate with Crowd.
2012-11-09 12:28:41,861 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "POST /crowd/rest/usermanagement/1/session?validate-password=false HTTP/1.1[\r][\n]"
2012-11-09 12:28:41,861 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "Accept: application/xml[\r][\n]"
2012-11-09 12:28:41,861 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "Authorization: Basic ZmlzaGV5ZTpjZW50ZXI=[\r][\n]"
2012-11-09 12:28:41,861 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
2012-11-09 12:28:41,861 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "Host: localhost:8095[\r][\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "Cookie: $Version=0; JSESSIONID=CA19B7BB71539B8E10240B060ABA643A; $Path=/crowd[\r][\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "Content-Length: 166[\r][\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "Content-Type: application/xml[\r][\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.header Wire-wire - >> "[\r][\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.content Wire-wire - >> "<?xml version="1.0" encoding="UTF-8" standalone="yes"?>[\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.content Wire-wire - >> "<authentication-context>[\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.content Wire-wire - >> " <username>klfoong</username>[\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.content Wire-wire - >> " <validation-factors/>[\n]"
2012-11-09 12:28:41,876 DEBUG [btpool0-18 ] wire.content Wire-wire - >> "</authentication-context>[\n]"
2012-11-09 12:28:41,923 DEBUG [btpool0-18 ] wire.header Wire-wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
2012-11-09 12:28:41,923 DEBUG [btpool0-18 ] wire.header Wire-wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
...
2012-11-09 12:28:41,970 DEBUG [btpool0-18 ] wire.content Wire-wire - << "<error><reason>ILLEGAL_ARGUMENT</reason><message>The validated object is null</message></error>"
2012-11-09 12:28:41,970 DEBUG [btpool0-18 ] perf.timer Timer-output - <- CrowdAuth.recreateAuth() time 125 millis mem_usage = 114073776 heapsize = 531759104 freemem = 417685328
2012-11-09 12:28:41,970 ERROR [btpool0-18 ] fisheye.app DefaultUserManager-synchroniseUsers - Error communicating with crowd. Skipping to the next user ...
com.cenqua.fisheye.user.AuthenticationException: Problem communicating with Crowd
at com.cenqua.fisheye.user.crowd.CrowdAuth.recreateAuth(CrowdAuth.java:306)
at com.cenqua.fisheye.user.DefaultUserManager.synchroniseUsers(DefaultUserManager.java:714)
at com.cenqua.fisheye.user.DefaultUserManager.synchroniseUsers(DefaultUserManager.java:660)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...
Caused by: com.atlassian.crowd.exception.OperationFailedException: The validated object is null
Cause
This is a bug in Crowd 2.1 CWD-2152 - Crowd SSO token resource to authenticate user without validating the password does not work
Resolution
Upgrade Crowd to version 2.1.1 or later
Was this helpful?