Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-16030

Fail import data from another environment during installation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 3.0
    • None
    • Windows, java version "1.6.0_13"

    Description

      I'm trying to install new confluence server and take the data from another environment. The backup zip from another environment copied to

      {confluence.home}

      /restore before first starting of the server.
      The process fails during the import with the following exception:

      INFO: Initializing Spring root WebApplicationContext
      Exception in thread "Importing data task" java.lang.NullPointerException
      at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:50)
      at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21)
      at java.lang.Thread.run(Thread.java:619)

      ImportLongRunningTask.java:50
      log.info("Beginning import by user " + context.getCurrentUser().getName());
      

      I think the problem is missed user during installation. The expression context.getCurrentUser() returns null.
      Can you fix it please?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c849232ef13c Hersh Shafer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: