com.atlassian.confluence.importexport.ImportExportException: java.lang.NullPointerException @4000000051e40d4f0f114acc at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:395) @4000000051e40d4f0f114eb4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f0f11529c at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f0f115684 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f0f115a6c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f0f1171dc at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f0f1175c4 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f0f117d94 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f0f117d94 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f0f11817c at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f0f118564 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f0f11894c at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f119504 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f1198ec at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f1198ec at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f0f119cd4 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f0f11a0bc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f0f11a4a4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f0f11a88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f0f11ac74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

Atlassian JIRA | Azwandi Mohd Aris | 3 years ago
  1. 0

    h4. Steps to Reproduce: # Export a Confluence to XML, say from a Confluence 5.1. The attached backup was created from a vanilla Confluence 5.1 with the Demonstration Space. # Import to Confluence-only OnDemand through the Confluence OnDemand site import feature. h4. Expected Results: Import is successful. h4. Actual Results: Import process halted with this error: bq. Import failed. Check your server logs for more information. java.lang.NullPointerException (see screenshot attached) The logs: {code} @4000000051e40d4e0e81fb4c 2013-07-15 14:55:00,242 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] preImport Switching scheduler to standby mode @4000000051e40d4e0e820aec 2013-07-15 14:55:00,242 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running main import @4000000051e40d4e0e83436c 2013-07-15 14:55:00,243 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] doImportInternal Starting import of data @4000000051e40d4e0ee8a48c 2013-07-15 14:55:00,246 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Importing XML @4000000051e40d4e197fd30c 2013-07-15 14:55:00,413 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: admin, entityId: 524289 @4000000051e40d4e1b03c38c 2013-07-15 14:55:00,452 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user admin @4000000051e40d4e26c1804c 2013-07-15 14:55:00,649 INFO [Long running task: Importing data] [pre.whitelist.bandanafilters.BandanaGlobalSettingsFilter] process Merging general config: atlassian.confluence.settings @4000000051e40d4f029654a4 2013-07-15 14:55:01,042 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc220009] @4000000051e40d4f0296605c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f029dcacc 2013-07-15 14:55:01,043 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65556, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98314], Property[userName]=jmasson, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc220009] @4000000051e40d4f029dde54 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02a452ac 2013-07-15 14:55:01,043 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc060007] @4000000051e40d4f02a45694 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02aa9ff4 2013-07-15 14:55:01,044 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65549, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98307], Property[userName]=htapia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc060007] @4000000051e40d4f02aab37c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02b06484 2013-07-15 14:55:01,044 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006] @4000000051e40d4f02b0686c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02b6e0ac 2013-07-15 14:55:01,045 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65548, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98305], Property[userName]=admin, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006] @4000000051e40d4f02b6f81c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02bcdbec 2013-07-15 14:55:01,045 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65547, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98309], Property[userName]=admin, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006] @4000000051e40d4f02bceb8c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02c55bb4 2013-07-15 14:55:01,046 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Set property user on class = com.atlassian.confluence.user.PersonalInformation, id = 524289 to class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006 @4000000051e40d4f02c56384 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02ca39cc 2013-07-15 14:55:01,046 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02ca3db4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02d02184 2013-07-15 14:55:01,046 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65543, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98310], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02d03124 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02d6d844 2013-07-15 14:55:01,047 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65544, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98312], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02d6f39c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02dcd384 2013-07-15 14:55:01,047 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65541, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98313], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02dce324 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02e3d47c 2013-07-15 14:55:01,048 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65542, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98309], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02e3ebec -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02e96644 2013-07-15 14:55:01,048 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65539, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98308], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02e979cc -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03c124bc 2013-07-15 14:55:01,048 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65540, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98307], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03c15f54 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03cdabc4 2013-07-15 14:55:01,062 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65537, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98306], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03cdc71c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03d39f34 2013-07-15 14:55:01,063 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65538, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98311], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03d3aed4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03d9f064 2013-07-15 14:55:01,064 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65546, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98314], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03da1b5c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03dfd04c 2013-07-15 14:55:01,064 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65545, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98305], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03dfe3d4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03e62d34 2013-07-15 14:55:01,065 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03e6311c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03ec14ec 2013-07-15 14:55:01,065 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65550, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98313], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03ec248c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03f2008c 2013-07-15 14:55:01,065 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65552, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98309], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03f21414 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03f89bf4 2013-07-15 14:55:01,066 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65551, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98305], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03f8c304 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03fe9b1c 2013-07-15 14:55:01,066 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65554, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98314], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03fecde4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f04047b04 2013-07-15 14:55:01,067 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65553, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98307], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f0404a9e4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f040a725c 2013-07-15 14:55:01,067 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65555, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98308], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f040a81fc -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f04100bf4 2013-07-15 14:55:01,067 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities XML import complete @4000000051e40d4f04d5ffbc 2013-07-15 14:55:01,078 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Cannot import the entities: @4000000051e40d4f04d6078c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f04d60f5c java.lang.NullPointerException @4000000051e40d4f04d60f5c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.isExportedDefaultUserGroupPermission(BackupImporter.java:673) @4000000051e40d4f04d6460c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doSpecialProcessing(BackupImporter.java:607) @4000000051e40d4f04d649f4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.postProcess(BackupImporter.java:427) @4000000051e40d4f04d649f4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:388) @4000000051e40d4f04d651c4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f04d655ac at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f04d66164 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f04d6654c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f04d66934 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f04d67104 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f04d674ec at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f04d678d4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f04d67cbc at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f04d67cbc at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f04d68874 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f04d68874 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f04d68c5c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f04d68c5c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f04d6942c at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f04d6942c at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f04d69814 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f04d69814 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f04d69fe4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f04d69fe4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f04d6a3cc at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @4000000051e40d4f04d6ab9c at $Proxy124.performImport(Unknown Source) @4000000051e40d4f04d6af84 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f04d6af84 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f04d6b36c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f04d6b36c at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f04d6bb3c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @4000000051e40d4f04d6bb3c at $Proxy362.performImport(Unknown Source) @4000000051e40d4f04d6bf24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f04d6bf24 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f04d6cec4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f04d6d2ac at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f04d6d2ac at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @4000000051e40d4f04d6de64 at $Proxy362.performImport(Unknown Source) @4000000051e40d4f04d6de64 at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:88) @4000000051e40d4f04d6e24c at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f04d6e634 at com.atlassian.ondemand.confluenceimporter.service.importer.OnDemandImportLongRunningTask.runInternal(OnDemandImportLongRunningTask.java:155) @4000000051e40d4f04d6ea1c at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f04d6ee04 at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) @4000000051e40d4f04d6f1ec at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) @4000000051e40d4f04d6f5d4 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) @4000000051e40d4f04d6f5d4 at java.util.concurrent.FutureTask.run(FutureTask.java:138) @4000000051e40d4f04d6f5d4 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @4000000051e40d4f04d6f9bc at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @4000000051e40d4f04d70574 at java.lang.Thread.run(Thread.java:662) @4000000051e40d4f05063b64 2013-07-15 14:55:01,083 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running post-import attempt tasks @4000000051e40d4f050b1594 2013-07-15 14:55:01,084 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] postImportAndCleanUp Restarting the scheduler @4000000051e40d4f050ffb7c 2013-07-15 14:55:01,084 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] postImportAndCleanUp The scheduler was successfully restarted @4000000051e40d4f05159514 2013-07-15 14:55:01,085 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.FileBackupImporter] postImportAndCleanUp Deleting /data/jirastudio/confluence/home/temp/import_07152013_145459 @4000000051e40d4f0ef3b494 2013-07-15 14:55:01,250 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Finished running the post-import tasks @4000000051e40d4f0f11335c 2013-07-15 14:55:01,251 ERROR [Long running task: Importing data] [confluence.importexport.actions.ImportLongRunningTask] runInternal Failure during import @4000000051e40d4f0f113744 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f0f113b2c com.atlassian.confluence.importexport.ImportExportException: java.lang.NullPointerException @4000000051e40d4f0f114acc at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:395) @4000000051e40d4f0f114eb4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f0f11529c at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f0f115684 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f0f115a6c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f0f1171dc at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f0f1175c4 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f0f117d94 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f0f117d94 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f0f11817c at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f0f118564 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f0f11894c at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f119504 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f1198ec at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f1198ec at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f0f119cd4 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f0f11a0bc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f0f11a4a4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f0f11a88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f0f11ac74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @4000000051e40d4f0f11b05c at $Proxy124.performImport(Unknown Source) @4000000051e40d4f0f11b05c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f11b05c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f11b82c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f11bffc at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f11bffc at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @4000000051e40d4f0f11c3e4 at $Proxy362.performImport(Unknown Source) @4000000051e40d4f0f11c3e4 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f11cbb4 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f11cbb4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f11cf9c at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f11cf9c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @4000000051e40d4f0f11d76c at $Proxy362.performImport(Unknown Source) @4000000051e40d4f0f11d76c at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:88) @4000000051e40d4f0f11db54 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f0f11eaf4 at com.atlassian.ondemand.confluenceimporter.service.importer.OnDemandImportLongRunningTask.runInternal(OnDemandImportLongRunningTask.java:155) @4000000051e40d4f0f11eedc at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f0f11eedc at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) @4000000051e40d4f0f11f6ac at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) @4000000051e40d4f0f11f6ac at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) @4000000051e40d4f0f11fa94 at java.util.concurrent.FutureTask.run(FutureTask.java:138) @4000000051e40d4f0f11fa94 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @4000000051e40d4f0f11fe7c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @4000000051e40d4f0f120264 at java.lang.Thread.run(Thread.java:662) @4000000051e40d4f0f120264 Caused by: java.lang.NullPointerException @4000000051e40d4f0f12064c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.isExportedDefaultUserGroupPermission(BackupImporter.java:673) @4000000051e40d4f0f12064c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doSpecialProcessing(BackupImporter.java:607) @4000000051e40d4f0f12258c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.postProcess(BackupImporter.java:427) @4000000051e40d4f0f12258c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:388) @4000000051e40d4f0f122974 ... 45 more @4000000051e40d4f0f2ce534 2013-07-15 14:55:01,254 INFO [Long running task: Importing data] [confluenceimporter.service.importer.OnDemandImportLongRunningTask] runInternal Import has finished running. isSuccessful=false, status=Import failed. Check your server logs for more information. java.lang.NullPointerException, elapsedTime=1605 @4000000051e40d4f0f3378cc 2013-07-15 14:55:01,254 INFO [Long running task: Importing data] [confluenceimporter.service.importer.CleanUpManager] cleanUpInstance Cleaning up the instance @4000000051e40d4f10225d0c 2013-07-15 14:55:01,269 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.NotificationCleanupProcessor] execute Deleting notifications for user 'admin' @4000000051e40d4f10870e64 2013-07-15 14:55:01,276 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.NotificationCleanupProcessor] execute Deleting notifications for user 'sysadmin' @4000000051e40d4f10b8c10c 2013-07-15 14:55:01,280 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.SpaceCleanupProcessor] execute Deleting space 'Demonstration Space' @4000000051e40d4f2695e43c 2013-07-15 14:55:01,642 INFO [Long running task: Importing data] [core.persistence.hibernate.HibernateSessionManager] executeWithSessionClearing Processed 1 of 1 in 'Remove pages'... @4000000051e40d4f2ce7cfbc 2013-07-15 14:55:01,752 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.UserAndGroupCleanupProcessor] removeUsers Deleting user 'admin' @4000000051e40d4f2dccec14 2013-07-15 14:55:01,758 WARN [Long running task: Importing data] [atlassian.confluence.user.DefaultPersonalInformationManager] removePersonalInformation No PersonalInformation found for user 'admin'; cannot remove. @4000000051e40d4f2dccf7cc -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d50019f5a14 2013-07-15 14:55:02,026 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.BandanaResidueCleanupProcessor] execute Removing extrenuous Bandana records for context 'ds', if any... @4000000051e40d50030e99b4 2013-07-15 14:55:02,049 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache synchronisation for directory [ 65537 ] starting @4000000051e40d5003d79ea4 2013-07-15 14:55:02,061 INFO [Long running task: Importing data] [confluenceimporter.service.importer.CleanUpManager] cleanUpInstance Finished cleaning up. @4000000051e40d50079fc64c 2013-07-15 14:55:02,126 INFO [scheduler_Worker-7] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteUsers found [ 1 ] remote users in [ 50ms ] @4000000051e40d5007f65674 2013-07-15 14:55:02,131 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] getUsersToAddAndUpdate scanning [ 1 ] users to add or update @4000000051e40d5007f65a5c 2013-07-15 14:55:02,131 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers scanned and compared [ 1 ] users for update in DB cache in [ 5ms ] @4000000051e40d5007f65e44 2013-07-15 14:55:02,132 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers synchronised [ 1 ] users in [ 6ms ] @4000000051e40d50082d8f2c 2013-07-15 14:55:02,132 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned and compared [ 1 ] users for delete in DB cache in [ 0ms ] @4000000051e40d50082d9314 2013-07-15 14:55:02,132 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned for deleted users in [ 0ms ] @4000000051e40d5009bce5a4 2013-07-15 14:55:02,162 INFO [scheduler_Worker-7] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteGroups found [ 8 ] remote groups in [ 29ms ] @4000000051e40d5009bfb84c 2013-07-15 14:55:02,163 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups scanning [ 8 ] groups to add or update @4000000051e40d500a05e13c 2013-07-15 14:55:02,167 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate scanned and compared [ 8 ] groups for update in DB cache in [ 4ms ] @4000000051e40d500a90103c 2013-07-15 14:55:02,172 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] addGroups added [ 1 ] groups in [ 4ms ] @4000000051e40d500a90180c 2013-07-15 14:55:02,172 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups synchronized [ 8 ] groups in [ 9ms ] @4000000051e40d500a901fdc 2013-07-15 14:55:02,175 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedGroupsNotIn scanned and compared [ 8 ] groups for delete in DB cache in [ 2ms ] @4000000051e40d500ecfd4fc 2013-07-15 14:55:02,247 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache FULL synchronisation complete for directory [ 65537 ] in [ 198ms ] {code}

    Atlassian JIRA | 3 years ago | Azwandi Aris [Atlassian]
    com.atlassian.confluence.importexport.ImportExportException: java.lang.NullPointerException @4000000051e40d4f0f114acc at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:395) @4000000051e40d4f0f114eb4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f0f11529c at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f0f115684 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f0f115a6c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f0f1171dc at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f0f1175c4 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f0f117d94 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f0f117d94 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f0f11817c at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f0f118564 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f0f11894c at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f119504 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f1198ec at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f1198ec at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f0f119cd4 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f0f11a0bc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f0f11a4a4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f0f11a88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f0f11ac74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  2. 0

    h4. Steps to Reproduce: # Export a Confluence to XML, say from a Confluence 5.1. The attached backup was created from a vanilla Confluence 5.1 with the Demonstration Space. # Import to Confluence-only OnDemand through the Confluence OnDemand site import feature. h4. Expected Results: Import is successful. h4. Actual Results: Import process halted with this error: bq. Import failed. Check your server logs for more information. java.lang.NullPointerException (see screenshot attached) The logs: {code} @4000000051e40d4e0e81fb4c 2013-07-15 14:55:00,242 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] preImport Switching scheduler to standby mode @4000000051e40d4e0e820aec 2013-07-15 14:55:00,242 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running main import @4000000051e40d4e0e83436c 2013-07-15 14:55:00,243 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] doImportInternal Starting import of data @4000000051e40d4e0ee8a48c 2013-07-15 14:55:00,246 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Importing XML @4000000051e40d4e197fd30c 2013-07-15 14:55:00,413 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: admin, entityId: 524289 @4000000051e40d4e1b03c38c 2013-07-15 14:55:00,452 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user admin @4000000051e40d4e26c1804c 2013-07-15 14:55:00,649 INFO [Long running task: Importing data] [pre.whitelist.bandanafilters.BandanaGlobalSettingsFilter] process Merging general config: atlassian.confluence.settings @4000000051e40d4f029654a4 2013-07-15 14:55:01,042 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc220009] @4000000051e40d4f0296605c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f029dcacc 2013-07-15 14:55:01,043 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65556, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98314], Property[userName]=jmasson, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc220009] @4000000051e40d4f029dde54 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02a452ac 2013-07-15 14:55:01,043 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc060007] @4000000051e40d4f02a45694 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02aa9ff4 2013-07-15 14:55:01,044 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65549, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98307], Property[userName]=htapia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc060007] @4000000051e40d4f02aab37c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02b06484 2013-07-15 14:55:01,044 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006] @4000000051e40d4f02b0686c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02b6e0ac 2013-07-15 14:55:01,045 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65548, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98305], Property[userName]=admin, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006] @4000000051e40d4f02b6f81c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02bcdbec 2013-07-15 14:55:01,045 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65547, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98309], Property[userName]=admin, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006] @4000000051e40d4f02bceb8c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02c55bb4 2013-07-15 14:55:01,046 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Set property user on class = com.atlassian.confluence.user.PersonalInformation, id = 524289 to class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cbc20006 @4000000051e40d4f02c56384 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02ca39cc 2013-07-15 14:55:01,046 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02ca3db4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02d02184 2013-07-15 14:55:01,046 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65543, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98310], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02d03124 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02d6d844 2013-07-15 14:55:01,047 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65544, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98312], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02d6f39c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02dcd384 2013-07-15 14:55:01,047 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65541, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98313], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02dce324 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02e3d47c 2013-07-15 14:55:01,048 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65542, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98309], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02e3ebec -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f02e96644 2013-07-15 14:55:01,048 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65539, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98308], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f02e979cc -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03c124bc 2013-07-15 14:55:01,048 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65540, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98307], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03c15f54 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03cdabc4 2013-07-15 14:55:01,062 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65537, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98306], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03cdc71c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03d39f34 2013-07-15 14:55:01,063 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65538, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98311], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03d3aed4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03d9f064 2013-07-15 14:55:01,064 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65546, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98314], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03da1b5c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03dfd04c 2013-07-15 14:55:01,064 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65545, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98305], Property[userName]=vfatia, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cb7c0005] @4000000051e40d4f03dfe3d4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03e62d34 2013-07-15 14:55:01,065 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Uncompleted deferred operations waiting for:[class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03e6311c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03ec14ec 2013-07-15 14:55:01,065 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65550, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98313], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03ec248c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03f2008c 2013-07-15 14:55:01,065 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65552, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98309], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03f21414 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03f89bf4 2013-07-15 14:55:01,066 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65551, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98305], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03f8c304 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f03fe9b1c 2013-07-15 14:55:01,066 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65554, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98314], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f03fecde4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f04047b04 2013-07-15 14:55:01,067 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65553, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98307], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f0404a9e4 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f040a725c 2013-07-15 14:55:01,067 WARN [Long running task: Importing data] [confluence.importexport.xmlimport.DeferredOperations] reportOutstandingOperations Object Imported[com.atlassian.confluence.mail.notification.Notification] [Id[id]=65555, Property[page]=com.atlassian.confluence.pages.Page[Id[id]=98308], Property[userName]=barconati, Property[creatorName]=, Property[creationDate]=2013-02-05 11:24:00.978, Property[lastModifierName]=, Property[lastModificationDate]=2013-07-15 22:53:09.342, Property[digest]=false, Property[network]=false, Property[type]=] waiting on dependencies [class = com.atlassian.confluence.user.ConfluenceUserImpl, id = ff8080813fe2ce69013fe2d0cc0e0008] @4000000051e40d4f040a81fc -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f04100bf4 2013-07-15 14:55:01,067 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities XML import complete @4000000051e40d4f04d5ffbc 2013-07-15 14:55:01,078 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Cannot import the entities: @4000000051e40d4f04d6078c -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f04d60f5c java.lang.NullPointerException @4000000051e40d4f04d60f5c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.isExportedDefaultUserGroupPermission(BackupImporter.java:673) @4000000051e40d4f04d6460c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doSpecialProcessing(BackupImporter.java:607) @4000000051e40d4f04d649f4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.postProcess(BackupImporter.java:427) @4000000051e40d4f04d649f4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:388) @4000000051e40d4f04d651c4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f04d655ac at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f04d66164 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f04d6654c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f04d66934 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f04d67104 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f04d674ec at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f04d678d4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f04d67cbc at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f04d67cbc at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f04d68874 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f04d68874 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f04d68c5c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f04d68c5c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f04d6942c at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f04d6942c at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f04d69814 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f04d69814 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f04d69fe4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f04d69fe4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f04d6a3cc at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @4000000051e40d4f04d6ab9c at $Proxy124.performImport(Unknown Source) @4000000051e40d4f04d6af84 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f04d6af84 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f04d6b36c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f04d6b36c at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f04d6bb3c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @4000000051e40d4f04d6bb3c at $Proxy362.performImport(Unknown Source) @4000000051e40d4f04d6bf24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f04d6bf24 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f04d6cec4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f04d6d2ac at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f04d6d2ac at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @4000000051e40d4f04d6de64 at $Proxy362.performImport(Unknown Source) @4000000051e40d4f04d6de64 at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:88) @4000000051e40d4f04d6e24c at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f04d6e634 at com.atlassian.ondemand.confluenceimporter.service.importer.OnDemandImportLongRunningTask.runInternal(OnDemandImportLongRunningTask.java:155) @4000000051e40d4f04d6ea1c at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f04d6ee04 at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) @4000000051e40d4f04d6f1ec at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) @4000000051e40d4f04d6f5d4 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) @4000000051e40d4f04d6f5d4 at java.util.concurrent.FutureTask.run(FutureTask.java:138) @4000000051e40d4f04d6f5d4 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @4000000051e40d4f04d6f9bc at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @4000000051e40d4f04d70574 at java.lang.Thread.run(Thread.java:662) @4000000051e40d4f05063b64 2013-07-15 14:55:01,083 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running post-import attempt tasks @4000000051e40d4f050b1594 2013-07-15 14:55:01,084 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] postImportAndCleanUp Restarting the scheduler @4000000051e40d4f050ffb7c 2013-07-15 14:55:01,084 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] postImportAndCleanUp The scheduler was successfully restarted @4000000051e40d4f05159514 2013-07-15 14:55:01,085 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.FileBackupImporter] postImportAndCleanUp Deleting /data/jirastudio/confluence/home/temp/import_07152013_145459 @4000000051e40d4f0ef3b494 2013-07-15 14:55:01,250 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Finished running the post-import tasks @4000000051e40d4f0f11335c 2013-07-15 14:55:01,251 ERROR [Long running task: Importing data] [confluence.importexport.actions.ImportLongRunningTask] runInternal Failure during import @4000000051e40d4f0f113744 -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d4f0f113b2c com.atlassian.confluence.importexport.ImportExportException: java.lang.NullPointerException @4000000051e40d4f0f114acc at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:395) @4000000051e40d4f0f114eb4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f0f11529c at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f0f115684 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f0f115a6c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f0f1171dc at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f0f1175c4 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f0f117d94 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f0f117d94 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f0f11817c at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f0f118564 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f0f11894c at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f119504 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f1198ec at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f1198ec at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f0f119cd4 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f0f11a0bc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f0f11a4a4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f0f11a88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f0f11ac74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @4000000051e40d4f0f11b05c at $Proxy124.performImport(Unknown Source) @4000000051e40d4f0f11b05c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f11b05c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f11b82c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f11bffc at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f11bffc at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @4000000051e40d4f0f11c3e4 at $Proxy362.performImport(Unknown Source) @4000000051e40d4f0f11c3e4 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f11cbb4 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f11cbb4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f11cf9c at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f11cf9c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @4000000051e40d4f0f11d76c at $Proxy362.performImport(Unknown Source) @4000000051e40d4f0f11d76c at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:88) @4000000051e40d4f0f11db54 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f0f11eaf4 at com.atlassian.ondemand.confluenceimporter.service.importer.OnDemandImportLongRunningTask.runInternal(OnDemandImportLongRunningTask.java:155) @4000000051e40d4f0f11eedc at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) @4000000051e40d4f0f11eedc at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) @4000000051e40d4f0f11f6ac at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) @4000000051e40d4f0f11f6ac at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) @4000000051e40d4f0f11fa94 at java.util.concurrent.FutureTask.run(FutureTask.java:138) @4000000051e40d4f0f11fa94 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @4000000051e40d4f0f11fe7c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @4000000051e40d4f0f120264 at java.lang.Thread.run(Thread.java:662) @4000000051e40d4f0f120264 Caused by: java.lang.NullPointerException @4000000051e40d4f0f12064c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.isExportedDefaultUserGroupPermission(BackupImporter.java:673) @4000000051e40d4f0f12064c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doSpecialProcessing(BackupImporter.java:607) @4000000051e40d4f0f12258c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.postProcess(BackupImporter.java:427) @4000000051e40d4f0f12258c at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:388) @4000000051e40d4f0f122974 ... 45 more @4000000051e40d4f0f2ce534 2013-07-15 14:55:01,254 INFO [Long running task: Importing data] [confluenceimporter.service.importer.OnDemandImportLongRunningTask] runInternal Import has finished running. isSuccessful=false, status=Import failed. Check your server logs for more information. java.lang.NullPointerException, elapsedTime=1605 @4000000051e40d4f0f3378cc 2013-07-15 14:55:01,254 INFO [Long running task: Importing data] [confluenceimporter.service.importer.CleanUpManager] cleanUpInstance Cleaning up the instance @4000000051e40d4f10225d0c 2013-07-15 14:55:01,269 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.NotificationCleanupProcessor] execute Deleting notifications for user 'admin' @4000000051e40d4f10870e64 2013-07-15 14:55:01,276 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.NotificationCleanupProcessor] execute Deleting notifications for user 'sysadmin' @4000000051e40d4f10b8c10c 2013-07-15 14:55:01,280 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.SpaceCleanupProcessor] execute Deleting space 'Demonstration Space' @4000000051e40d4f2695e43c 2013-07-15 14:55:01,642 INFO [Long running task: Importing data] [core.persistence.hibernate.HibernateSessionManager] executeWithSessionClearing Processed 1 of 1 in 'Remove pages'... @4000000051e40d4f2ce7cfbc 2013-07-15 14:55:01,752 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.UserAndGroupCleanupProcessor] removeUsers Deleting user 'admin' @4000000051e40d4f2dccec14 2013-07-15 14:55:01,758 WARN [Long running task: Importing data] [atlassian.confluence.user.DefaultPersonalInformationManager] removePersonalInformation No PersonalInformation found for user 'admin'; cannot remove. @4000000051e40d4f2dccf7cc -- referer: https://3rdsense-atlassian.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | action: doimportconfluencesite @4000000051e40d50019f5a14 2013-07-15 14:55:02,026 INFO [Long running task: Importing data] [confluenceimporter.procesors.cleanup.BandanaResidueCleanupProcessor] execute Removing extrenuous Bandana records for context 'ds', if any... @4000000051e40d50030e99b4 2013-07-15 14:55:02,049 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache synchronisation for directory [ 65537 ] starting @4000000051e40d5003d79ea4 2013-07-15 14:55:02,061 INFO [Long running task: Importing data] [confluenceimporter.service.importer.CleanUpManager] cleanUpInstance Finished cleaning up. @4000000051e40d50079fc64c 2013-07-15 14:55:02,126 INFO [scheduler_Worker-7] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteUsers found [ 1 ] remote users in [ 50ms ] @4000000051e40d5007f65674 2013-07-15 14:55:02,131 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] getUsersToAddAndUpdate scanning [ 1 ] users to add or update @4000000051e40d5007f65a5c 2013-07-15 14:55:02,131 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers scanned and compared [ 1 ] users for update in DB cache in [ 5ms ] @4000000051e40d5007f65e44 2013-07-15 14:55:02,132 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers synchronised [ 1 ] users in [ 6ms ] @4000000051e40d50082d8f2c 2013-07-15 14:55:02,132 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned and compared [ 1 ] users for delete in DB cache in [ 0ms ] @4000000051e40d50082d9314 2013-07-15 14:55:02,132 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned for deleted users in [ 0ms ] @4000000051e40d5009bce5a4 2013-07-15 14:55:02,162 INFO [scheduler_Worker-7] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteGroups found [ 8 ] remote groups in [ 29ms ] @4000000051e40d5009bfb84c 2013-07-15 14:55:02,163 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups scanning [ 8 ] groups to add or update @4000000051e40d500a05e13c 2013-07-15 14:55:02,167 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate scanned and compared [ 8 ] groups for update in DB cache in [ 4ms ] @4000000051e40d500a90103c 2013-07-15 14:55:02,172 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] addGroups added [ 1 ] groups in [ 4ms ] @4000000051e40d500a90180c 2013-07-15 14:55:02,172 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups synchronized [ 8 ] groups in [ 9ms ] @4000000051e40d500a901fdc 2013-07-15 14:55:02,175 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedGroupsNotIn scanned and compared [ 8 ] groups for delete in DB cache in [ 2ms ] @4000000051e40d500ecfd4fc 2013-07-15 14:55:02,247 INFO [scheduler_Worker-7] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache FULL synchronisation complete for directory [ 65537 ] in [ 198ms ] {code}

    Atlassian JIRA | 3 years ago | Azwandi Mohd Aris
    com.atlassian.confluence.importexport.ImportExportException: java.lang.NullPointerException @4000000051e40d4f0f114acc at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:395) @4000000051e40d4f0f114eb4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f0f11529c at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f0f115684 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f0f115a6c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f0f1171dc at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f0f1175c4 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f0f117d94 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f0f117d94 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f0f11817c at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f0f118564 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f0f11894c at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f119504 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f1198ec at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f1198ec at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f0f119cd4 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f0f11a0bc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f0f11a4a4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f0f11a88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f0f11ac74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  3. 0

    It is not possible to import a 15GB Confluence backup with attachments created on v5.2 OD13 on another OnDemand Confluence Standalone instance with the same version. {color:red}Import works correctly on a Confluence OnDemand v5.2 OD13 running locally.{color} *Error shown when importing:* {noformat} ... ERROR: duplicate key value violates unique constraint "cp_unique_group" {noformat} *Note:* The backup was created from a Jira + Confluence instance *To replicate:* 1. Start test instance (if not active already) (it has ram extended to 768MB to avoid NotEnoughMemory) 2. Log in and try to Import Site using file Confluence-backup-20130807.zip *What I did:* 1. Created a new OnDemand instance Confluence Standalone (icebat-54.0 to match customers) 2. provide it more ram (it will fail because of NotEnoughMemory if not) using [this documentation|https://sdog.jira.com/wiki/display/JST/2013/07/01/The+new+way+to+customise+OnDemand+instances]: * edit the /data/icebat/local.yaml file and add the following line: confluence::max_heap: "768m" * run: /sw/studio/$(cat /data/icebat/version)/install/install-confluence-standalone.sh 3. moved the file to the new instance using [a script|https://confluence.atlassian.com/display/ONDEMANDKB/Can't+Download+Large+Files+from+OnDemand+WebDAV] to avoid disconnections 4. verified md5 5. tried to import through the Import Site section. *Full Log:* {noformat} 2013-08-07 03:55:51.873140500 2013-08-07 03:55:51,872 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running pre-import tasks 2013-08-07 03:55:51.873716500 2013-08-07 03:55:51,873 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.FileBackupImporter] extractRestoreFile Extracting backup file [ /data/jirastudio/webdav/Confluence-backup-20130807.zip ] to [ /data/jirastudio/confluence/home/temp/import_08072013_035551 ] 2013-08-07 04:11:50.548083500 2013-08-07 04:11:50,546 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] preImport Switching scheduler to standby mode 2013-08-07 04:11:50.548409500 2013-08-07 04:11:50,548 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running main import 2013-08-07 04:11:50.548732500 2013-08-07 04:11:50,548 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] doImportInternal Starting import of data 2013-08-07 04:11:51.280065500 2013-08-07 04:11:51,278 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Importing XML 2013-08-07 04:12:04.015729500 2013-08-07 04:12:03,974 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 5734506 2013-08-07 04:12:04.015732500 2013-08-07 04:12:03,982 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 16875647 2013-08-07 04:12:06.223366500 2013-08-07 04:12:06,177 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 16318484 2013-08-07 04:12:12.492035500 2013-08-07 04:12:12,490 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 36963752 2013-08-07 04:12:13.003059500 2013-08-07 04:12:12,969 INFO [Long running task: Importing data] [pre.whitelist.bandanafilters.BandanaGlobalSettingsFilter] process Accepting Bandana entry [_GLOBAL/com.atlassian.confluence.core.DefaultFormatSettingsManager]. 2013-08-07 04:12:18.872390500 2013-08-07 04:12:18,869 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user daniel.fraser@datacom.com.au 2013-08-07 04:12:19.120640500 2013-08-07 04:12:19,119 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user jon.varova@datacom.com.au 2013-08-07 04:12:29.332333500 2013-08-07 04:12:29,304 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 46039226 2013-08-07 04:12:29.956953500 2013-08-07 04:12:29,955 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user derek.choi@apra.gov.au 2013-08-07 04:12:32.203985500 2013-08-07 04:12:32,202 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 22675613 2013-08-07 04:12:36.259598500 2013-08-07 04:12:36,181 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user rene.pisani@dbb.org.au 2013-08-07 04:12:36.358207500 2013-08-07 04:12:36,357 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user bernard.yam@dbb.org.au 2013-08-07 04:12:36.487393500 2013-08-07 04:12:36,484 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user kylie.lester@dbb.org.au 2013-08-07 04:12:36.606629500 2013-08-07 04:12:36,605 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user ruth.pepin@dbb.org.au 2013-08-07 04:12:36.875514500 2013-08-07 04:12:36,874 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 3441197 2013-08-07 04:12:36.884947500 2013-08-07 04:12:36,884 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 3441133 2013-08-07 04:12:37.036112500 2013-08-07 04:12:37,035 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 48201754 2013-08-07 04:12:42.493970500 2013-08-07 04:12:42,491 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user james.booth 2013-08-07 04:12:46.758858500 2013-08-07 04:12:46,753 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 10485829 2013-08-07 04:12:46.758861500 2013-08-07 04:12:46,757 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user daniel.hili@virginaustralia.com 2013-08-07 04:12:47.623696500 2013-08-07 04:12:47,621 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 10485769 2013-08-07 04:12:59.042592500 2013-08-07 04:12:59,040 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user acgceo.greg.cork 2013-08-07 04:13:05.253820500 2013-08-07 04:13:05,238 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 30048262 2013-08-07 04:13:05.615371500 2013-08-07 04:13:05,614 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user mariely@epo.org 2013-08-07 04:13:05.877790500 2013-08-07 04:13:05,876 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user peter_tawadros@coffey.com 2013-08-07 04:13:05.997787500 2013-08-07 04:13:05,997 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user mitchell_dowd@coffey.com 2013-08-07 04:13:06.128349500 2013-08-07 04:13:06,127 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user sample.client@tempuri.org 2013-08-07 04:13:06.245054500 2013-08-07 04:13:06,244 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user sample.client2@tempuri.org 2013-08-07 04:13:15.417012500 2013-08-07 04:13:15,414 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490670 2013-08-07 04:13:15.417016500 2013-08-07 04:13:15,416 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490668 2013-08-07 04:13:15.417018500 2013-08-07 04:13:15,416 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490669 2013-08-07 04:13:15.417533500 2013-08-07 04:13:15,417 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490666 2013-08-07 04:13:15.418558500 2013-08-07 04:13:15,418 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490667 2013-08-07 04:13:15.419179500 2013-08-07 04:13:15,418 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490664 2013-08-07 04:13:15.419658500 2013-08-07 04:13:15,419 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490665 2013-08-07 04:13:15.420250500 2013-08-07 04:13:15,419 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490662 2013-08-07 04:13:15.421388500 2013-08-07 04:13:15,420 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490663 2013-08-07 04:13:15.421937500 2013-08-07 04:13:15,421 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490660 2013-08-07 04:13:15.422527500 2013-08-07 04:13:15,422 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490661 2013-08-07 04:13:15.423054500 2013-08-07 04:13:15,422 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490658 2013-08-07 04:13:15.423633500 2013-08-07 04:13:15,423 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490659 2013-08-07 04:13:15.425421500 2013-08-07 04:13:15,425 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490657 2013-08-07 04:13:15.425981500 2013-08-07 04:13:15,425 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490656 2013-08-07 04:13:15.469562500 2013-08-07 04:13:15,468 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490705 2013-08-07 04:13:15.766060500 2013-08-07 04:13:15,764 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490618 2013-08-07 04:13:15.770115500 2013-08-07 04:13:15,769 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2491222 2013-08-07 04:13:15.893132500 2013-08-07 04:13:15,884 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999007 2013-08-07 04:13:15.893134500 2013-08-07 04:13:15,885 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998896 2013-08-07 04:13:15.972384500 2013-08-07 04:13:15,971 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998942 2013-08-07 04:13:15.973147500 2013-08-07 04:13:15,972 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998954 2013-08-07 04:13:15.977188500 2013-08-07 04:13:15,976 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998962 2013-08-07 04:13:15.983222500 2013-08-07 04:13:15,982 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 12157051 2013-08-07 04:13:15.983881500 2013-08-07 04:13:15,983 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 12157146 2013-08-07 04:13:15.984620500 2013-08-07 04:13:15,984 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999158 2013-08-07 04:13:15.985492500 2013-08-07 04:13:15,985 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999159 2013-08-07 04:13:15.986155500 2013-08-07 04:13:15,985 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999160 2013-08-07 04:13:15.986708500 2013-08-07 04:13:15,986 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999186 2013-08-07 04:13:16.013612500 2013-08-07 04:13:16,012 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999563 2013-08-07 04:13:16.311135500 2013-08-07 04:13:16,310 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user sam.wang 2013-08-07 04:13:16.756958500 2013-08-07 04:13:16,755 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999652 2013-08-07 04:13:16.777912500 2013-08-07 04:13:16,777 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2000110 2013-08-07 04:13:17.106474500 2013-08-07 04:13:17,105 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999944 2013-08-07 04:13:17.683623500 2013-08-07 04:13:17,679 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user jcheng@cabrini.com.au 2013-08-07 04:13:19.925140500 2013-08-07 04:13:19,924 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user greg.scott 2013-08-07 04:13:20.440234500 2013-08-07 04:13:20,438 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 45220038 2013-08-07 04:13:20.820264500 2013-08-07 04:13:20,818 INFO [Long running task: Importing data] [pre.whitelist.bandanafilters.BandanaGlobalSettingsFilter] process Accepting Bandana entry [_GLOBAL/atl.confluence.plugins.confluence-daily-summary-email:admin.defaultSchedule]. 2013-08-07 04:13:20.839815500 2013-08-07 04:13:20,839 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998849 2013-08-07 04:13:20.865812500 2013-08-07 04:13:20,865 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998854 2013-08-07 04:13:20.873267500 2013-08-07 04:13:20,872 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998855 2013-08-07 04:13:20.894446500 2013-08-07 04:13:20,893 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998850 2013-08-07 04:13:20.897859500 2013-08-07 04:13:20,897 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998851 2013-08-07 04:13:20.899592500 2013-08-07 04:13:20,899 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998852 2013-08-07 04:13:20.900532500 2013-08-07 04:13:20,900 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998853 2013-08-07 04:13:21.367151500 2013-08-07 04:13:21,360 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 19988565 2013-08-07 04:13:27.318369500 2013-08-07 04:13:27,316 WARN [Long running task: Importing data] [sf.hibernate.util.JDBCExceptionReporter] logExceptions SQL Error: 0, SQLState: 23505 2013-08-07 04:13:27.318371500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.318768500 2013-08-07 04:13:27,318 ERROR [Long running task: Importing data] [sf.hibernate.util.JDBCExceptionReporter] logExceptions ERROR: duplicate key value violates unique constraint "cp_unique_group" 2013-08-07 04:13:27.318769500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.320043500 2013-08-07 04:13:27,319 ERROR [Long running task: Importing data] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session 2013-08-07 04:13:27.320045500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.320956500 2013-08-07 04:13:27,320 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.DefaultImportProcessor] persist Error while saving object: Imported[com.atlassian.confluence.pages.Page] [Id[id]=27820133, Property[position]=, Property[title]=UNIFY hosted Development environment, Property[bodyContents]=, Property[version]=12, Property[creator]=com.atlassian.confluence.user.ConfluenceUserImpl[Id[key]=ff8080813fc39c17013fc39d724f0014], Property[creationDate]=2012-09-26 12:15:10.973, Property[lastModifier]=com.atlassian.confluence.user.ConfluenceUserImpl[Id[key]=ff8080813fc39c17013fc39d724f0014], Property[lastModificationDate]=2012-09-27 11:31:14.944, Property[versionComment]=, Property[originalVersion]=com.atlassian.confluence.pages.Page[Id[id]=27820106], Property[contentStatus]=current] 2013-08-07 04:13:27.320967500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.330332500 2013-08-07 04:13:27,326 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Cannot import the entities: 2013-08-07 04:13:27.330334500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.330335500 com.atlassian.confluence.importexport.ImportExportException: Unable to complete import because the data does not match the constraints in the Confluence schema. Cause: PSQLException: ERROR: duplicate key value violates unique constraint "cp_unique_group" 2013-08-07 04:13:27.330350500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:72) 2013-08-07 04:13:27.330351500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:386) 2013-08-07 04:13:27.330353500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:354) 2013-08-07 04:13:27.330354500 at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) 2013-08-07 04:13:27.330358500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:193) 2013-08-07 04:13:27.330359500 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) 2013-08-07 04:13:27.330360500 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) 2013-08-07 04:13:27.330363500 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) 2013-08-07 04:13:27.330364500 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) 2013-08-07 04:13:27.330366500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:206) 2013-08-07 04:13:27.330367500 at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) 2013-08-07 04:13:27.330368500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) 2013-08-07 04:13:27.330371500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330373500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330376500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330376500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2013-08-07 04:13:27.330377500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2013-08-07 04:13:27.330378500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2013-08-07 04:13:27.330380500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) 2013-08-07 04:13:27.330381500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2013-08-07 04:13:27.330382500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2013-08-07 04:13:27.330386500 at $Proxy92.performImport(Unknown Source) 2013-08-07 04:13:27.330386500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330387500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330387500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330388500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330393500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) 2013-08-07 04:13:27.330394500 at $Proxy331.performImport(Unknown Source) 2013-08-07 04:13:27.330394500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330395500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330397500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330398500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330398500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) 2013-08-07 04:13:27.330402500 at $Proxy331.performImport(Unknown Source) 2013-08-07 04:13:27.330402500 at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:88) 2013-08-07 04:13:27.330403500 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) 2013-08-07 04:13:27.330405500 at com.atlassian.ondemand.confluenceimporter.service.importer.OnDemandImportLongRunningTask.runInternal(OnDemandImportLongRunningTask.java:155) 2013-08-07 04:13:27.330406500 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) 2013-08-07 04:13:27.330406500 at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) 2013-08-07 04:13:27.330408500 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 2013-08-07 04:13:27.330409500 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2013-08-07 04:13:27.330410500 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2013-08-07 04:13:27.330410500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2013-08-07 04:13:27.330411500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2013-08-07 04:13:27.330415500 at java.lang.Thread.run(Thread.java:662) 2013-08-07 04:13:27.330415500 Caused by: net.sf.hibernate.exception.ConstraintViolationException: could not insert: [com.atlassian.confluence.security.ContentPermission#1114124] 2013-08-07 04:13:27.330416500 at com.atlassian.confluence.importexport.xmlimport.parser.BackupParser.endElement(BackupParser.java:53) 2013-08-07 04:13:27.330417500 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) 2013-08-07 04:13:27.330419500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) 2013-08-07 04:13:27.330419500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2013-08-07 04:13:27.330420500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2013-08-07 04:13:27.330421500 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013-08-07 04:13:27.330422500 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013-08-07 04:13:27.330423500 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2013-08-07 04:13:27.330424500 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 2013-08-07 04:13:27.330424500 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 2013-08-07 04:13:27.330425500 at com.atlassian.security.xml.RestrictedXMLReader.parse(RestrictedXMLReader.java:103) 2013-08-07 04:13:27.330435500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.parseBackup(DefaultXmlImporter.java:108) 2013-08-07 04:13:27.330436500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:60) 2013-08-07 04:13:27.330436500 ... 46 more {noformat} *Extra:* We are unable to extract the contents from the Backup file. Errors shown when trying to extract backup contents using 7za: {noformat} example-instance:/data/jirastudio/webdav]# 7za t Confluence-backup-20130807.zip 7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_AU.UTF-8,Utf16=on,HugeFiles=on,2 CPUs) Processing archive: Confluence-backup-20130807.zip Testing config/ehcache.xml Unsupported Method Testing plugin-data/com.atlassian.activeobjects.confluence.spi/activeObjectsBackupRestoreProvider.pdata Unsupported Method Testing entities.xml Unsupported Method Testing exportDescriptor.properties Unsupported Method Testing attachments/4981015/5144693/1 Unsupported Method Testing attachments/4981015/5144694/1 Unsupported Method Testing attachments/8388780/8486999/1 Unsupported Method Testing attachments/32538735/33095685/1 Unsupported Method ... and so on for like 50% of the files... {noformat}

    Atlassian JIRA | 3 years ago | Mauro Fernandez Badii [Atlassian]
    com.atlassian.confluence.importexport.ImportExportException: Unable to complete import because the data does not match the constraints in the Confluence schema. Cause: PSQLException: ERROR: duplicate key value violates unique constraint "cp_unique_group" 2013-08-07 04:13:27.330350500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:72) 2013-08-07 04:13:27.330351500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:386) 2013-08-07 04:13:27.330353500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:354) 2013-08-07 04:13:27.330354500 at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) 2013-08-07 04:13:27.330358500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:193) 2013-08-07 04:13:27.330359500 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) 2013-08-07 04:13:27.330360500 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) 2013-08-07 04:13:27.330363500 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) 2013-08-07 04:13:27.330364500 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) 2013-08-07 04:13:27.330366500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:206) 2013-08-07 04:13:27.330367500 at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) 2013-08-07 04:13:27.330368500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) 2013-08-07 04:13:27.330371500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330373500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330376500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330376500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2013-08-07 04:13:27.330377500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2013-08-07 04:13:27.330378500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2013-08-07 04:13:27.330380500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) 2013-08-07 04:13:27.330381500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2013-08-07 04:13:27.330382500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2013-08-07 04:13:27.330386500 at $Proxy92.performImport(Unknown Source) 2013-08-07 04:13:27.330386500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330387500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330387500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330388500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330393500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    It is not possible to import a 15GB Confluence backup with attachments created on v5.2 OD13 on another OnDemand Confluence Standalone instance with the same version. {color:red}Import works correctly on a Confluence OnDemand v5.2 OD13 running locally.{color} *Error shown when importing:* {noformat} ... ERROR: duplicate key value violates unique constraint "cp_unique_group" {noformat} *Note:* The backup was created from a Jira + Confluence instance *To replicate:* 1. Start test instance (if not active already) (it has ram extended to 768MB to avoid NotEnoughMemory) 2. Log in and try to Import Site using file Confluence-backup-20130807.zip *What I did:* 1. Created a new OnDemand instance Confluence Standalone (icebat-54.0 to match customers) 2. provide it more ram (it will fail because of NotEnoughMemory if not) using [this documentation|https://sdog.jira.com/wiki/display/JST/2013/07/01/The+new+way+to+customise+OnDemand+instances]: * edit the /data/icebat/local.yaml file and add the following line: confluence::max_heap: "768m" * run: /sw/studio/$(cat /data/icebat/version)/install/install-confluence-standalone.sh 3. moved the file to the new instance using [a script|https://confluence.atlassian.com/display/ONDEMANDKB/Can't+Download+Large+Files+from+OnDemand+WebDAV] to avoid disconnections 4. verified md5 5. tried to import through the Import Site section. *Full Log:* {noformat} 2013-08-07 03:55:51.873140500 2013-08-07 03:55:51,872 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running pre-import tasks 2013-08-07 03:55:51.873716500 2013-08-07 03:55:51,873 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.FileBackupImporter] extractRestoreFile Extracting backup file [ /data/jirastudio/webdav/Confluence-backup-20130807.zip ] to [ /data/jirastudio/confluence/home/temp/import_08072013_035551 ] 2013-08-07 04:11:50.548083500 2013-08-07 04:11:50,546 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] preImport Switching scheduler to standby mode 2013-08-07 04:11:50.548409500 2013-08-07 04:11:50,548 INFO [Long running task: Importing data] [atlassian.confluence.importexport.Importer] doImport Running main import 2013-08-07 04:11:50.548732500 2013-08-07 04:11:50,548 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] doImportInternal Starting import of data 2013-08-07 04:11:51.280065500 2013-08-07 04:11:51,278 INFO [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Importing XML 2013-08-07 04:12:04.015729500 2013-08-07 04:12:03,974 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 5734506 2013-08-07 04:12:04.015732500 2013-08-07 04:12:03,982 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 16875647 2013-08-07 04:12:06.223366500 2013-08-07 04:12:06,177 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 16318484 2013-08-07 04:12:12.492035500 2013-08-07 04:12:12,490 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 36963752 2013-08-07 04:12:13.003059500 2013-08-07 04:12:12,969 INFO [Long running task: Importing data] [pre.whitelist.bandanafilters.BandanaGlobalSettingsFilter] process Accepting Bandana entry [_GLOBAL/com.atlassian.confluence.core.DefaultFormatSettingsManager]. 2013-08-07 04:12:18.872390500 2013-08-07 04:12:18,869 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user daniel.fraser@datacom.com.au 2013-08-07 04:12:19.120640500 2013-08-07 04:12:19,119 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user jon.varova@datacom.com.au 2013-08-07 04:12:29.332333500 2013-08-07 04:12:29,304 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 46039226 2013-08-07 04:12:29.956953500 2013-08-07 04:12:29,955 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user derek.choi@apra.gov.au 2013-08-07 04:12:32.203985500 2013-08-07 04:12:32,202 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 22675613 2013-08-07 04:12:36.259598500 2013-08-07 04:12:36,181 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user rene.pisani@dbb.org.au 2013-08-07 04:12:36.358207500 2013-08-07 04:12:36,357 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user bernard.yam@dbb.org.au 2013-08-07 04:12:36.487393500 2013-08-07 04:12:36,484 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user kylie.lester@dbb.org.au 2013-08-07 04:12:36.606629500 2013-08-07 04:12:36,605 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user ruth.pepin@dbb.org.au 2013-08-07 04:12:36.875514500 2013-08-07 04:12:36,874 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 3441197 2013-08-07 04:12:36.884947500 2013-08-07 04:12:36,884 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 3441133 2013-08-07 04:12:37.036112500 2013-08-07 04:12:37,035 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 48201754 2013-08-07 04:12:42.493970500 2013-08-07 04:12:42,491 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user james.booth 2013-08-07 04:12:46.758858500 2013-08-07 04:12:46,753 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 10485829 2013-08-07 04:12:46.758861500 2013-08-07 04:12:46,757 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user daniel.hili@virginaustralia.com 2013-08-07 04:12:47.623696500 2013-08-07 04:12:47,621 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 10485769 2013-08-07 04:12:59.042592500 2013-08-07 04:12:59,040 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user acgceo.greg.cork 2013-08-07 04:13:05.253820500 2013-08-07 04:13:05,238 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 30048262 2013-08-07 04:13:05.615371500 2013-08-07 04:13:05,614 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user mariely@epo.org 2013-08-07 04:13:05.877790500 2013-08-07 04:13:05,876 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user peter_tawadros@coffey.com 2013-08-07 04:13:05.997787500 2013-08-07 04:13:05,997 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user mitchell_dowd@coffey.com 2013-08-07 04:13:06.128349500 2013-08-07 04:13:06,127 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user sample.client@tempuri.org 2013-08-07 04:13:06.245054500 2013-08-07 04:13:06,244 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user sample.client2@tempuri.org 2013-08-07 04:13:15.417012500 2013-08-07 04:13:15,414 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490670 2013-08-07 04:13:15.417016500 2013-08-07 04:13:15,416 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490668 2013-08-07 04:13:15.417018500 2013-08-07 04:13:15,416 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490669 2013-08-07 04:13:15.417533500 2013-08-07 04:13:15,417 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490666 2013-08-07 04:13:15.418558500 2013-08-07 04:13:15,418 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490667 2013-08-07 04:13:15.419179500 2013-08-07 04:13:15,418 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490664 2013-08-07 04:13:15.419658500 2013-08-07 04:13:15,419 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490665 2013-08-07 04:13:15.420250500 2013-08-07 04:13:15,419 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490662 2013-08-07 04:13:15.421388500 2013-08-07 04:13:15,420 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490663 2013-08-07 04:13:15.421937500 2013-08-07 04:13:15,421 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490660 2013-08-07 04:13:15.422527500 2013-08-07 04:13:15,422 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490661 2013-08-07 04:13:15.423054500 2013-08-07 04:13:15,422 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490658 2013-08-07 04:13:15.423633500 2013-08-07 04:13:15,423 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490659 2013-08-07 04:13:15.425421500 2013-08-07 04:13:15,425 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490657 2013-08-07 04:13:15.425981500 2013-08-07 04:13:15,425 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490656 2013-08-07 04:13:15.469562500 2013-08-07 04:13:15,468 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490705 2013-08-07 04:13:15.766060500 2013-08-07 04:13:15,764 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2490618 2013-08-07 04:13:15.770115500 2013-08-07 04:13:15,769 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2491222 2013-08-07 04:13:15.893132500 2013-08-07 04:13:15,884 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999007 2013-08-07 04:13:15.893134500 2013-08-07 04:13:15,885 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998896 2013-08-07 04:13:15.972384500 2013-08-07 04:13:15,971 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998942 2013-08-07 04:13:15.973147500 2013-08-07 04:13:15,972 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998954 2013-08-07 04:13:15.977188500 2013-08-07 04:13:15,976 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998962 2013-08-07 04:13:15.983222500 2013-08-07 04:13:15,982 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 12157051 2013-08-07 04:13:15.983881500 2013-08-07 04:13:15,983 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 12157146 2013-08-07 04:13:15.984620500 2013-08-07 04:13:15,984 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999158 2013-08-07 04:13:15.985492500 2013-08-07 04:13:15,985 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999159 2013-08-07 04:13:15.986155500 2013-08-07 04:13:15,985 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999160 2013-08-07 04:13:15.986708500 2013-08-07 04:13:15,986 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999186 2013-08-07 04:13:16.013612500 2013-08-07 04:13:16,012 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999563 2013-08-07 04:13:16.311135500 2013-08-07 04:13:16,310 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user sam.wang 2013-08-07 04:13:16.756958500 2013-08-07 04:13:16,755 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999652 2013-08-07 04:13:16.777912500 2013-08-07 04:13:16,777 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 2000110 2013-08-07 04:13:17.106474500 2013-08-07 04:13:17,105 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1999944 2013-08-07 04:13:17.683623500 2013-08-07 04:13:17,679 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user jcheng@cabrini.com.au 2013-08-07 04:13:19.925140500 2013-08-07 04:13:19,924 INFO [Long running task: Importing data] [procesors.pre.usergroup.UserPreprocessor] process Creating user greg.scott 2013-08-07 04:13:20.440234500 2013-08-07 04:13:20,438 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 45220038 2013-08-07 04:13:20.820264500 2013-08-07 04:13:20,818 INFO [Long running task: Importing data] [pre.whitelist.bandanafilters.BandanaGlobalSettingsFilter] process Accepting Bandana entry [_GLOBAL/atl.confluence.plugins.confluence-daily-summary-email:admin.defaultSchedule]. 2013-08-07 04:13:20.839815500 2013-08-07 04:13:20,839 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998849 2013-08-07 04:13:20.865812500 2013-08-07 04:13:20,865 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998854 2013-08-07 04:13:20.873267500 2013-08-07 04:13:20,872 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998855 2013-08-07 04:13:20.894446500 2013-08-07 04:13:20,893 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998850 2013-08-07 04:13:20.897859500 2013-08-07 04:13:20,897 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998851 2013-08-07 04:13:20.899592500 2013-08-07 04:13:20,899 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998852 2013-08-07 04:13:20.900532500 2013-08-07 04:13:20,900 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 1998853 2013-08-07 04:13:21.367151500 2013-08-07 04:13:21,360 INFO [Long running task: Importing data] [procesors.pre.usergroup.PersonalInformationPreprocessor] process Updating UserPersonalInformation entity with username for user: null, entityId: 19988565 2013-08-07 04:13:27.318369500 2013-08-07 04:13:27,316 WARN [Long running task: Importing data] [sf.hibernate.util.JDBCExceptionReporter] logExceptions SQL Error: 0, SQLState: 23505 2013-08-07 04:13:27.318371500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.318768500 2013-08-07 04:13:27,318 ERROR [Long running task: Importing data] [sf.hibernate.util.JDBCExceptionReporter] logExceptions ERROR: duplicate key value violates unique constraint "cp_unique_group" 2013-08-07 04:13:27.318769500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.320043500 2013-08-07 04:13:27,319 ERROR [Long running task: Importing data] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session 2013-08-07 04:13:27.320045500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.320956500 2013-08-07 04:13:27,320 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.DefaultImportProcessor] persist Error while saving object: Imported[com.atlassian.confluence.pages.Page] [Id[id]=27820133, Property[position]=, Property[title]=UNIFY hosted Development environment, Property[bodyContents]=, Property[version]=12, Property[creator]=com.atlassian.confluence.user.ConfluenceUserImpl[Id[key]=ff8080813fc39c17013fc39d724f0014], Property[creationDate]=2012-09-26 12:15:10.973, Property[lastModifier]=com.atlassian.confluence.user.ConfluenceUserImpl[Id[key]=ff8080813fc39c17013fc39d724f0014], Property[lastModificationDate]=2012-09-27 11:31:14.944, Property[versionComment]=, Property[originalVersion]=com.atlassian.confluence.pages.Page[Id[id]=27820106], Property[contentStatus]=current] 2013-08-07 04:13:27.320967500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.330332500 2013-08-07 04:13:27,326 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Cannot import the entities: 2013-08-07 04:13:27.330334500 -- referer: https://example-instance.jira-dev.com/wiki/admin/import/importconfluencesite.action | url: /wiki/admin/import/doimportconfluencesite.action | userName: mbadii | action: doimportconfluencesite 2013-08-07 04:13:27.330335500 com.atlassian.confluence.importexport.ImportExportException: Unable to complete import because the data does not match the constraints in the Confluence schema. Cause: PSQLException: ERROR: duplicate key value violates unique constraint "cp_unique_group" 2013-08-07 04:13:27.330350500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:72) 2013-08-07 04:13:27.330351500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:386) 2013-08-07 04:13:27.330353500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:354) 2013-08-07 04:13:27.330354500 at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) 2013-08-07 04:13:27.330358500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:193) 2013-08-07 04:13:27.330359500 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) 2013-08-07 04:13:27.330360500 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) 2013-08-07 04:13:27.330363500 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) 2013-08-07 04:13:27.330364500 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) 2013-08-07 04:13:27.330366500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:206) 2013-08-07 04:13:27.330367500 at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) 2013-08-07 04:13:27.330368500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) 2013-08-07 04:13:27.330371500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330373500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330376500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330376500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2013-08-07 04:13:27.330377500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2013-08-07 04:13:27.330378500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2013-08-07 04:13:27.330380500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) 2013-08-07 04:13:27.330381500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2013-08-07 04:13:27.330382500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2013-08-07 04:13:27.330386500 at $Proxy92.performImport(Unknown Source) 2013-08-07 04:13:27.330386500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330387500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330387500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330388500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330393500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) 2013-08-07 04:13:27.330394500 at $Proxy331.performImport(Unknown Source) 2013-08-07 04:13:27.330394500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330395500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330397500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330398500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330398500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) 2013-08-07 04:13:27.330402500 at $Proxy331.performImport(Unknown Source) 2013-08-07 04:13:27.330402500 at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:88) 2013-08-07 04:13:27.330403500 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) 2013-08-07 04:13:27.330405500 at com.atlassian.ondemand.confluenceimporter.service.importer.OnDemandImportLongRunningTask.runInternal(OnDemandImportLongRunningTask.java:155) 2013-08-07 04:13:27.330406500 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) 2013-08-07 04:13:27.330406500 at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) 2013-08-07 04:13:27.330408500 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 2013-08-07 04:13:27.330409500 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2013-08-07 04:13:27.330410500 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2013-08-07 04:13:27.330410500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2013-08-07 04:13:27.330411500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2013-08-07 04:13:27.330415500 at java.lang.Thread.run(Thread.java:662) 2013-08-07 04:13:27.330415500 Caused by: net.sf.hibernate.exception.ConstraintViolationException: could not insert: [com.atlassian.confluence.security.ContentPermission#1114124] 2013-08-07 04:13:27.330416500 at com.atlassian.confluence.importexport.xmlimport.parser.BackupParser.endElement(BackupParser.java:53) 2013-08-07 04:13:27.330417500 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) 2013-08-07 04:13:27.330419500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) 2013-08-07 04:13:27.330419500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2013-08-07 04:13:27.330420500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2013-08-07 04:13:27.330421500 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013-08-07 04:13:27.330422500 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013-08-07 04:13:27.330423500 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2013-08-07 04:13:27.330424500 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 2013-08-07 04:13:27.330424500 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 2013-08-07 04:13:27.330425500 at com.atlassian.security.xml.RestrictedXMLReader.parse(RestrictedXMLReader.java:103) 2013-08-07 04:13:27.330435500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.parseBackup(DefaultXmlImporter.java:108) 2013-08-07 04:13:27.330436500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:60) 2013-08-07 04:13:27.330436500 ... 46 more {noformat} *Extra:* We are unable to extract the contents from the Backup file. Errors shown when trying to extract backup contents using 7za: {noformat} example-instance:/data/jirastudio/webdav]# 7za t Confluence-backup-20130807.zip 7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_AU.UTF-8,Utf16=on,HugeFiles=on,2 CPUs) Processing archive: Confluence-backup-20130807.zip Testing config/ehcache.xml Unsupported Method Testing plugin-data/com.atlassian.activeobjects.confluence.spi/activeObjectsBackupRestoreProvider.pdata Unsupported Method Testing entities.xml Unsupported Method Testing exportDescriptor.properties Unsupported Method Testing attachments/4981015/5144693/1 Unsupported Method Testing attachments/4981015/5144694/1 Unsupported Method Testing attachments/8388780/8486999/1 Unsupported Method Testing attachments/32538735/33095685/1 Unsupported Method ... and so on for like 50% of the files... {noformat}

    Atlassian JIRA | 3 years ago | Mauro Fernandez Badii [Atlassian]
    com.atlassian.confluence.importexport.ImportExportException: Unable to complete import because the data does not match the constraints in the Confluence schema. Cause: PSQLException: ERROR: duplicate key value violates unique constraint "cp_unique_group" 2013-08-07 04:13:27.330350500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:72) 2013-08-07 04:13:27.330351500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:386) 2013-08-07 04:13:27.330353500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:354) 2013-08-07 04:13:27.330354500 at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) 2013-08-07 04:13:27.330358500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:193) 2013-08-07 04:13:27.330359500 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) 2013-08-07 04:13:27.330360500 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) 2013-08-07 04:13:27.330363500 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) 2013-08-07 04:13:27.330364500 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) 2013-08-07 04:13:27.330366500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:206) 2013-08-07 04:13:27.330367500 at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) 2013-08-07 04:13:27.330368500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) 2013-08-07 04:13:27.330371500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330372500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330373500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330376500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330376500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2013-08-07 04:13:27.330377500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2013-08-07 04:13:27.330378500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2013-08-07 04:13:27.330380500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) 2013-08-07 04:13:27.330381500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2013-08-07 04:13:27.330382500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2013-08-07 04:13:27.330386500 at $Proxy92.performImport(Unknown Source) 2013-08-07 04:13:27.330386500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-07 04:13:27.330387500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-08-07 04:13:27.330387500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-08-07 04:13:27.330388500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-08-07 04:13:27.330393500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
  6. 0

    h3. Summary Spaces on Confluence Server have the permisison "Remove own content" however this information is not available on Cloud. h3. Environment h3. Steps to Reproduce # Export a space from Confluence Server # Try importing the space on Cloud h3. Expected Results Import is done h3. Actual Results The below exception is thrown in the Confluence Cloud log: {noformat} 2016-07-04 11:00:20.023856500 -- url: /wiki/admin/importspace/doimportconfluencespace.action | referer: https://towerfamily.atlassian.net/wiki/admin/importspace/doimportconfluencespace.action | traceId: 791a502e4cf8bcc7 | userName: sysadmin | action: doimportconfluencespace 2016-07-04 11:00:20.029354500 2016-07-04 18:00:20,028 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] importEntities Cannot import the entities: 2016-07-04 11:00:20.029355500 -- url: /wiki/admin/importspace/doimportconfluencespace.action | referer: https://towerfamily.atlassian.net/wiki/admin/importspace/doimportconfluencespace.action | traceId: 791a502e4cf8bcc7 | userName: sysadmin | action: doimportconfluencespace 2016-07-04 11:00:20.029356500 com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: The scope of the import extends outside of the space. 2016-07-04 11:00:20.029368500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:67) 2016-07-04 11:00:20.029368500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:397) 2016-07-04 11:00:20.029369500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:366) 2016-07-04 11:00:20.029373500 at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:134) 2016-07-04 11:00:20.029374500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:258) 2016-07-04 11:00:20.029379500 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) 2016-07-04 11:00:20.029380500 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:46) 2016-07-04 11:00:20.029384500 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:46) 2016-07-04 11:00:20.029385500 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) 2016-07-04 11:00:20.029394500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:220) 2016-07-04 11:00:20.029395500 at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:71) 2016-07-04 11:00:20.029395500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:94) 2016-07-04 11:00:20.029400500 at com.atlassian.confluence.importexport.DefaultImportExportManager.doPerformImport(DefaultImportExportManager.java:85) 2016-07-04 11:00:20.029401500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:80) 2016-07-04 11:00:20.029402500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2016-07-04 11:00:20.029406500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2016-07-04 11:00:20.029406500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-07-04 11:00:20.029407500 at java.lang.reflect.Method.invoke(Method.java:498) 2016-07-04 11:00:20.029407500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) 2016-07-04 11:00:20.029411500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) 2016-07-04 11:00:20.029411500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) 2016-07-04 11:00:20.029412500 at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) 2016-07-04 11:00:20.029416500 at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) 2016-07-04 11:00:20.029422500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) 2016-07-04 11:00:20.029422500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-04 11:00:20.029423500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) 2016-07-04 11:00:20.029427500 at com.sun.proxy.$Proxy134.performImport(Unknown Source) 2016-07-04 11:00:20.029427500 at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:87) 2016-07-04 11:00:20.029428500 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) 2016-07-04 11:00:20.029428500 at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:52) 2016-07-04 11:00:20.029432500 at com.atlassian.confluence.impl.util.concurrent.ConfluenceExecutors$ThreadLocalContextTaskWrapper.lambda$wrap$1(ConfluenceExecutors.java:89) 2016-07-04 11:00:20.029433500 at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:48) 2016-07-04 11:00:20.029438500 at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:82) 2016-07-04 11:00:20.029438500 at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:72) 2016-07-04 11:00:20.029439500 at com.atlassian.confluence.vcache.VCacheRequestContextOperations.doInRequestContext(VCacheRequestContextOperations.java:47) 2016-07-04 11:00:20.029443500 at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$withRequestContext$3(VCacheRequestContextOperations.java:64) 2016-07-04 11:00:20.029444500 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 2016-07-04 11:00:20.029444500 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 2016-07-04 11:00:20.029444500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-07-04 11:00:20.029451500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-07-04 11:00:20.029451500 at java.lang.Thread.run(Thread.java:745) 2016-07-04 11:00:20.029452500 Caused by: org.xml.sax.SAXException: Error while importing backup: The scope of the import extends outside of the space. 2016-07-04 11:00:20.029452500 java.lang.RuntimeException: The scope of the import extends outside of the space. 2016-07-04 11:00:20.029457500 at com.atlassian.confluence.importexport.xmlimport.parser.BackupParser.endElement(BackupParser.java:45) 2016-07-04 11:00:20.029457500 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) 2016-07-04 11:00:20.029458500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) 2016-07-04 11:00:20.029458500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2016-07-04 11:00:20.029462500 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2016-07-04 11:00:20.029462500 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2016-07-04 11:00:20.029463500 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2016-07-04 11:00:20.029463500 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2016-07-04 11:00:20.029467500 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 2016-07-04 11:00:20.029467500 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 2016-07-04 11:00:20.029468500 at com.atlassian.security.xml.RestrictedXMLReader.parse(RestrictedXMLReader.java:103) 2016-07-04 11:00:20.029468500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.parseBackup(DefaultXmlImporter.java:89) 2016-07-04 11:00:20.029473500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:54) 2016-07-04 11:00:20.029474500 ... 40 more 2016-07-04 11:00:20.029474500 Caused by: java.lang.RuntimeException: The scope of the import extends outside of the space. 2016-07-04 11:00:20.029474500 at com.atlassian.studio.confluence.importexport.ValidateScopeSpaceImportPreProcessor.process(ValidateScopeSpaceImportPreProcessor.java:41) 2016-07-04 11:00:20.029478500 at com.atlassian.confluence.importexport.ChainedImportedObjectPreProcessor.process(ChainedImportedObjectPreProcessor.java:53) 2016-07-04 11:00:20.029479500 at com.atlassian.confluence.importexport.ChainedImportedObjectPreProcessor.process(ChainedImportedObjectPreProcessor.java:53) 2016-07-04 11:00:20.029479500 at com.atlassian.confluence.importexport.xmlimport.DefaultImportProcessor.processObject(DefaultImportProcessor.java:31) 2016-07-04 11:00:20.029483500 at com.atlassian.confluence.importexport.xmlimport.parser.BackupParser.endElement(BackupParser.java:43) 2016-07-04 11:00:20.029484500 ... 52 more 2016-07-04 11:00:20.029484500 Caused by: com.atlassian.studio.confluence.importexport.entityvalidation.ValidationException: Permission type not allowed: REMOVEOWNCONTENT 2016-07-04 11:00:20.029489500 at com.atlassian.studio.confluence.importexport.entityvalidation.SpacePermissionValidator.validate(SpacePermissionValidator.java:30) 2016-07-04 11:00:20.029490500 at com.atlassian.studio.confluence.importexport.ValidateScopeSpaceImportPreProcessor.process(ValidateScopeSpaceImportPreProcessor.java:39) 2016-07-04 11:00:20.029491500 ... 56 more 2016-07-04 11:00:20.030559500 2016-07-04 18:00:20,029 WARN [Long running task: Importing data] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions: 2016-07-04 11:00:20.030560500 [com.atlassian.confluence.importexport.DefaultImportExportManager.performImport]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #7657783) 2016-07-04 11:00:20.030560500 ->[null]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT (Session #14248925) 2016-07-04 11:00:20.030561500 -- url: /wiki/admin/importspace/doimportconfluencespace.action | referer: https://towerfamily.atlassian.net/wiki/admin/importspace/doimportconfluencespace.action | traceId: 791a502e4cf8bcc7 | userName: sysadmin | action: doimportconfluencespace {noformat} h3. Notes h3.Workaround # Search for {{REMOVEOWNCONTENT}} in the entities.xml file. # Scroll up to the first mention of {{object class="SpacePermission" package="com.atlassian.confluence.security"}} above {{REMOVEOWNCONTENT}} # Delete from the line {{<object class="SpacePermission" package="com.atlassian.confluence.security">}} all the way through to the very next {{</object>}} tag inclusive of both lines # Save the entities.xml file and add it back to your space zip.

    Atlassian JIRA | 5 months ago | Paula Silveira [Atlassian]
    com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: The scope of the import extends outside of the space. 2016-07-04 11:00:20.029368500 at com.atlassian.confluence.importexport.xmlimport.DefaultXmlImporter.doImport(DefaultXmlImporter.java:67) 2016-07-04 11:00:20.029368500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:397) 2016-07-04 11:00:20.029369500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:366) 2016-07-04 11:00:20.029373500 at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:134) 2016-07-04 11:00:20.029374500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:258) 2016-07-04 11:00:20.029379500 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) 2016-07-04 11:00:20.029380500 at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:46) 2016-07-04 11:00:20.029384500 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:46) 2016-07-04 11:00:20.029385500 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) 2016-07-04 11:00:20.029394500 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:220) 2016-07-04 11:00:20.029395500 at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:71) 2016-07-04 11:00:20.029395500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:94) 2016-07-04 11:00:20.029400500 at com.atlassian.confluence.importexport.DefaultImportExportManager.doPerformImport(DefaultImportExportManager.java:85) 2016-07-04 11:00:20.029401500 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:80) 2016-07-04 11:00:20.029402500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2016-07-04 11:00:20.029406500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2016-07-04 11:00:20.029406500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-07-04 11:00:20.029407500 at java.lang.reflect.Method.invoke(Method.java:498) 2016-07-04 11:00:20.029407500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) 2016-07-04 11:00:20.029411500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) 2016-07-04 11:00:20.029411500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) 2016-07-04 11:00:20.029412500 at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) 2016-07-04 11:00:20.029416500 at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) 2016-07-04 11:00:20.029422500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) 2016-07-04 11:00:20.029422500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-04 11:00:20.029423500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) 2016-07-04 11:00:20.029427500 at com.sun.proxy.$Proxy134.performImport(Unknown Source) 2016-07-04 11:00:20.029427500 at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:87) 2016-07-04 11:00:20.029428500 at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) 2016-07-04 11:00:20.029428500 at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:52) 2016-07-04 11:00:20.029432500 at com.atlassian.confluence.impl.util.concurrent.ConfluenceExecutors$ThreadLocalContextTaskWrapper.lambda$wrap$1(ConfluenceExecutors.java:89) 2016-07-04 11:00:20.029433500 at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:48) 2016-07-04 11:00:20.029438500 at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:82) 2016-07-04 11:00:20.029438500 at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:72) 2016-07-04 11:00:20.029439500 at com.atlassian.confluence.vcache.VCacheRequestContextOperations.doInRequestContext(VCacheRequestContextOperations.java:47) 2016-07-04 11:00:20.029443500 at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$withRequestContext$3(VCacheRequestContextOperations.java:64)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.confluence.importexport.ImportExportException

      java.lang.NullPointerException @4000000051e40d4f0f114acc at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:395) @4000000051e40d4f0f114eb4 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:353) @4000000051e40d4f0f11529c at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:119) @4000000051e40d4f0f115684 at com.atlassian.confluence.importexport.xmlimport.BackupImporter$1.doInTransactionWithoutResult(BackupImporter.java:192) @4000000051e40d4f0f115a6c at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) @4000000051e40d4f0f1171dc at com.atlassian.confluence.importexport.xmlimport.RestorePluginStateStoreTransactionCallbackDecorator.doInTransaction(RestorePluginStateStoreTransactionCallbackDecorator.java:47) @4000000051e40d4f0f1175c4 at com.atlassian.confluence.importexport.xmlimport.RestoreBandanaValuesTransactionCallbackDecorator.doInTransaction(RestoreBandanaValuesTransactionCallbackDecorator.java:48) @4000000051e40d4f0f117d94 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @4000000051e40d4f0f117d94 at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImportInternal(BackupImporter.java:205) @4000000051e40d4f0f11817c at com.atlassian.confluence.importexport.Importer.doImport(Importer.java:75) @4000000051e40d4f0f118564 at com.atlassian.confluence.importexport.DefaultImportExportManager.performImportInternal(DefaultImportExportManager.java:82) @4000000051e40d4f0f11894c at com.atlassian.confluence.importexport.DefaultImportExportManager.performImport(DefaultImportExportManager.java:72) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @4000000051e40d4f0f118d34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @4000000051e40d4f0f119504 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000051e40d4f0f1198ec at java.lang.reflect.Method.invoke(Method.java:597) @4000000051e40d4f0f1198ec at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000051e40d4f0f119cd4 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000051e40d4f0f11a0bc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000051e40d4f0f11a4a4 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000051e40d4f0f11a88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @4000000051e40d4f0f11ac74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

      at $Proxy124.performImport()
    2. Unknown
      $Proxy124.performImport
      1. $Proxy124.performImport(Unknown Source)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2 frames