User Management Operations Fail with com.opensymphony.user.ImmutableException

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When JIRA is integrated with Crowd, performing any operation related to user management such as adding a user, changing passwords, JIRA may throw the following error:

com.opensymphony.user.ImmutableException
at com.opensymphony.user.User.setPassword(User.java:106)
at com.atlassian.core.user.UserUtils.resetPassword(UserUtils.java:310)
at com.atlassian.jira.web.action.user.ForgotPassword.doPassword(ForgotPassword.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417)
at webwork.action.ActionSupport.execute(ActionSupport.java:146)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

Cause

JIRA is missing necessary permissions to modify user properties within Crowd.

Resolution

  1. Login to Crowd Administration page.
  2. Click Applications.
  3. Select the JIRA application.

Since user operations must go through Crowd now, ensure that the JIRA application has the necessary rights needed to modify JIRA users. For more explicit directions, see the Crowd documentation on Specifying an Application's Directory Permissions.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.