Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-52433

Site import failing with the error message: "User should not be null"

XMLWordPrintable

      Summary

      Site import are failing with the error message User should not be null displayed on the user interface and in Confluence logs.

      Steps to Reproduce

      1. Perform a site import

      Expected Results

      The site import completes properly

      Actual Results

      The site import fails at the latest stage of the operation and throws the error message User should not be null on the user interface

      In Confluence logs, the following error message is displayed:

       @4000000058b4ea0a1d5f0524 2017-02-28 03:09:52,491 ERROR [Long running task: Importing data] [confluence.importexport.actions.ImportTask] runInternal Failure during import
       @4000000058b4ea0a1d5f090c – url: /wiki/admin/import/doimportconfluencesite.action | traceId: ececdef35337776c | userName: admin | referer: [https://instanceurl.atlassian.net/wiki/admin/import/importconfluencesite.action] | action: doimportconfluencesite
       @4000000058b4ea0a1d5f0cf4 java.lang.NullPointerException: User should not be null
       @4000000058b4ea0a1d5f10dc at java.util.Objects.requireNonNull(Objects.java:228)
       @4000000058b4ea0a1d5f207c at com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManager.getCrowdUser(EmbeddedCrowdGroupManager.java:180)
       @4000000058b4ea0a1d5f2464 at com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManager.addMembership(EmbeddedCrowdGroupManager.java:136)
       @4000000058b4ea0a1d5f284c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       @4000000058b4ea0a1d5f284c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       @4000000058b4ea0a1d5f301c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       @4000000058b4ea0a1d5f301c at java.lang.reflect.Method.invoke(Method.java:498)
      

      Workaround

      Perform a space by space import and create a ticket with Atlassian Cloud Support to import the user accounts and groups.

              pwallach Phil Wallach
              eratsimiala ManuR (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: