Issue Details (XML | Word | Printable)

Key: CONF-7584
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Dave Loeng [Atlassian]
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Confluence

Restore backup fails with "Import failed. null" error

Created: 07/Jan/07 07:01 PM   Updated: 13/Feb/07 09:22 PM
Component/s: Backup / Restore
Affects Version/s: 2.3
Fix Version/s: 2.3.1

Time Tracking:
Not Specified

File Attachments: 1. XML File importExportSubsystemContext.xml (7 kB)

Issue Links:
Duplicate
 

Participants: Dave Loeng [Atlassian], Ivan Benko [Atlassian], Larry Cummings and Laura Kolker [Atlassian]
Since last comment: 2 years, 24 weeks ago
Resolution Date: 07/Jan/07 07:06 PM
Labels:


 Description  « Hide
This causes this exception in the logs:

java.lang.NullPointerException
at com.atlassian.confluence.importexport.impl.FileBackupImporter.importConfigDirectory(FileBackupImporter.java:416)
at com.atlassian.confluence.importexport.impl.FileBackupImporter.importEverything(FileBackupImporter.java:108)
at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:92)
at com.atlassian.confluence.importexport.impl.FileBackupImporter.doImport(FileBackupImporter.java:41)
at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy48.importAs(Unknown Source)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dave Loeng [Atlassian] added a comment - 07/Jan/07 07:04 PM
To patch this problem, please copy the attached importExportSubsystemContext.xml file to your confluence/WEB-INF/classes directory and restart Confluence.

Cheers,
Dave


Ivan Benko [Atlassian] added a comment - 07/Jan/07 07:25 PM
I confirm that this patch indeed resolves the problem with restore backup. Tested again on a 2.2.10 backup and restoring in 2.3 (previously unsuccessful ) - worked fine.

Larry Cummings added a comment - 15/Jan/07 01:16 PM
This patch worked for me. Prior to this patch a new install of standalone 2.3 would not restore from 2.2.9 Build:#527. After this patch the restore completes successfully. I've not yet confirmed if all the data actually successfully imported. For instance it appears the "news" items with one of my spaces have gone missing.

Laura Kolker [Atlassian] added a comment - 18/Jan/07 02:01 PM
At this risk of sounding repetitive, just wanted to say that the patch worked for me as well. Restoring 2.2.9 data to 2.3.
Thanks.