Error when using JIRA for User Management with SSO enabled
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
Users are getting the following error when logging into Fisheye:
1
Password incorrect or unknown user
Also from Fisheye logs we got:
1
2
3
4
5
6
2011-06-14 11:13:53,999 WARN [btpool0-59 ] fisheye.app CrowdAuth-authenticate - Problem communicating with Crowd
com.atlassian.crowd.exception.OperationFailedException
at com.atlassian.crowd.integration.rest.service.RestCrowdClient.handleCommonExceptions(RestCrowdClient.java:1084)
at com.atlassian.crowd.integration.rest.service.RestCrowdClient.authenticateSSOUser(RestCrowdClient.java:809)
at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.authenticate(CrowdHttpAuthenticatorImpl.java:59)
at com.cenqua.fisheye.user.crowd.CrowdAuth$2.call(CrowdAuth.java:207)
and from JIRA logs we have:
1
2
3
4
5
6
7
8
9
10
Jun 14, 2011 11:13:53 AM com.sun.jersey.server.impl.application.WebApplicationImpl onException
SEVERE: Internal server error
java.lang.NullPointerException
at com.atlassian.crowd.plugin.rest.service.controller.TokenController.createSession(TokenController.java:170)
at com.atlassian.crowd.plugin.rest.service.controller.TokenController.authenticateUser(TokenController.java:65)
at com.atlassian.crowd.plugin.rest.service.resource.TokenResource.authenticateUser(TokenResource.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Cause
This happens when the SSO option is left enabled.
Resolution
Disabling SSO will do the trick:
Go to Fisheye Administration.
Click on Authentication under Security Settings.
Click Edit button under JIRA / Crowd Authentication Settings.
Set option Single Sign On to Disabled and click next.
Synchronize group(s) again, save and exit.
Was this helpful?