com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error>

Atlassian JIRA | phpBB phpBB | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We have JIRA connected to a read-only Crowd instance (2.6.1) and when users attempt to update the email address on their profile, a system error and stack trace is returned. If the user directory is read-only, the user shouldn't be allowed to edit the field, or at least receive an error stating it is not possible to change the email. An exception page isn't particularly helpful for them. The returned error message when submitting a new email address: {code}System Error A system error has occurred. Please try submitting this problem via the Support Request Page Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information: a description of your problem cut & paste the error and system information found below attach the application server log file ( /home/jira/log/atlassian-jira.log ) Cause: com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error> Stack Trace: [hide] com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error> at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:329) at com.atlassian.crowd.embedded.core.DelegatingCrowdService.updateUser(DelegatingCrowdService.java:90) at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.updateUser(FilteredCrowdServiceImpl.java:51) at com.atlassian.jira.web.action.user.EditProfile.doExecute(EditProfile.java:122) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) *snip* at java.lang.Thread.run(Thread.java:662) Caused by: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error> at com.atlassian.crowd.integration.rest.service.RestExecutor.throwError(RestExecutor.java:458) at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andCheckResponse(RestExecutor.java:384) at com.atlassian.crowd.integration.rest.service.RestCrowdClient.updateUser(RestCrowdClient.java:154) at com.atlassian.crowd.directory.RemoteCrowdDirectory.updateUser(RemoteCrowdDirectory.java:192) at com.atlassian.crowd.directory.DbCachingRemoteDirectory.updateUser(DbCachingRemoteDirectory.java:267) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.updateUser(DirectoryManagerGeneric.java:352) at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.updateUser(ApplicationServiceGeneric.java:433) at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:315) ... 161 more *snip*{code}

    Atlassian JIRA | 4 years ago | phpBB phpBB
    com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error>
  2. 0

    We have JIRA connected to a read-only Crowd instance (2.6.1) and when users attempt to update the email address on their profile, a system error and stack trace is returned. If the user directory is read-only, the user shouldn't be allowed to edit the field, or at least receive an error stating it is not possible to change the email. An exception page isn't particularly helpful for them. The returned error message when submitting a new email address: {code}System Error A system error has occurred. Please try submitting this problem via the Support Request Page Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information: a description of your problem cut & paste the error and system information found below attach the application server log file ( /home/jira/log/atlassian-jira.log ) Cause: com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error> Stack Trace: [hide] com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error> at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:329) at com.atlassian.crowd.embedded.core.DelegatingCrowdService.updateUser(DelegatingCrowdService.java:90) at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.updateUser(FilteredCrowdServiceImpl.java:51) at com.atlassian.jira.web.action.user.EditProfile.doExecute(EditProfile.java:122) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) *snip* at java.lang.Thread.run(Thread.java:662) Caused by: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error> at com.atlassian.crowd.integration.rest.service.RestExecutor.throwError(RestExecutor.java:458) at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andCheckResponse(RestExecutor.java:384) at com.atlassian.crowd.integration.rest.service.RestCrowdClient.updateUser(RestCrowdClient.java:154) at com.atlassian.crowd.directory.RemoteCrowdDirectory.updateUser(RemoteCrowdDirectory.java:192) at com.atlassian.crowd.directory.DbCachingRemoteDirectory.updateUser(DbCachingRemoteDirectory.java:267) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.updateUser(DirectoryManagerGeneric.java:352) at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.updateUser(ApplicationServiceGeneric.java:433) at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:315) ... 161 more *snip*{code}

    Atlassian JIRA | 4 years ago | phpBB phpBB
    com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error>

    Root Cause Analysis

    1. com.atlassian.crowd.exception.runtime.OperationFailedException

      com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'My User' because directory 'phpBB' does not allow updates.</message></error>

      at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser()
    2. com.atlassian.crowd
      FilteredCrowdServiceImpl.updateUser
      1. com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:329)
      2. com.atlassian.crowd.embedded.core.DelegatingCrowdService.updateUser(DelegatingCrowdService.java:90)
      3. com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.updateUser(FilteredCrowdServiceImpl.java:51)
      3 frames
    3. com.atlassian.jira
      EditProfile.doExecute
      1. com.atlassian.jira.web.action.user.EditProfile.doExecute(EditProfile.java:122)
      1 frame
    4. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:165)
      1 frame
    5. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82)
      1 frame
    6. webwork.interceptor
      ChainedInterceptor.intercept
      1. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
      2. webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
      3. webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
      3 frames