Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-64830

No enum constant com.atlassian.crowd.embedded.api.DirectoryType.IDP error when migrating from Cloud to Server

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      When migrating the latest Server version the import is interrupted around 90% saying that JIRA is already setup, if the user continues to JIRA, they will see a 500 error and will not be able to continue any further.

      Steps to Reproduce

      1. Download the latest backup from Cloud (1000.824.2)
      2. Import into JIRA 7.3.3 (latest)

      Expected Results

      The data should import correctly and allow the user to login.

      Actual Results

      Accessing JIRA after the import results in a 500 error with the following stack trace:

      java.lang.RuntimeException: javax.servlet.ServletException: java.lang.RuntimeException: javax.servlet.ServletException: com.atlassian.cache.CacheException: java.lang.IllegalArgumentException: No enum constant com.atlassian.crowd.embedded.api.DirectoryType.IDP
      java.lang.RuntimeException: javax.servlet.ServletException: java.lang.RuntimeException: javax.servlet.ServletException: com.atlassian.cache.CacheException: java.lang.IllegalArgumentException: No enum constant com.atlassian.crowd.embedded.api.DirectoryType.IDP
      	at com.atlassian.web.servlet.plugin.DynamicAuthorizationServletForwarder.forward(DynamicAuthorizationServletForwarder.java:55) [?:?]
      	at com.atlassian.web.servlet.plugin.SanitizingServletForwarder.forward(SanitizingServletForwarder.java:32) [?:?]
      	at com.atlassian.web.servlet.plugin.RememberingServletForwarder.forward(RememberingServletForwarder.java:51) [?:?]
      	at com.atlassian.web.servlet.plugin.ResolvingServletForwarder.forward(ResolvingServletForwarder.java:38) [?:?]
      	at jsp.default_jsp._jspService(default_jsp.java:68) [classes/:?]...
      
      Caused by: com.atlassian.cache.CacheException: java.lang.IllegalArgumentException: No enum constant com.atlassian.crowd.embedded.api.DirectoryType.IDP
      

      Notes

      The backup contains two user directories, the internal and the IDP.

      <Directory id="1" directoryName="JIRA Internal Directory" lowerDirectoryName="jira internal directory" createdDate="2013-02-28 11:57:51.308" updatedDate="2016-01-06 16:25:09.931" active="1" description="JIRA default internal directory" implementationClass="com.atlassian.crowd.directory.InternalDirectory" lowerImplementationClass="com.atlassian.crowd.directory.internaldirectory" type="INTERNAL" position="0"/>
          <Directory id="10000" directoryName="Identity Platform Directory" lowerDirectoryName="identity platform directory" createdDate="2016-01-06 16:25:08.267" updatedDate="2017-03-14 12:09:37.647" active="1" description="Identity Platform Directory" implementationClass="com.atlassian.crowd.directory.IdentityPlatformRemoteDirectory" lowerImplementationClass="com.atlassian.crowd.directory.identityplatformremotedirectory" type="IDP" position="0"/> 
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              khannon Keri Duthie (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: