com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details.

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.


rp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Restoring XML backup created by confluence 3.2 fails with error: bq. Import failed. com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details. In the following error can be observed from the log file: {code} 2010-04-23 13:58:17,406 ERROR [Importing data task] [confluence.importexport.xmlimport.BackupImporter] importEntities Cannot import the entities: -- referer: http://localhost/confluence/admin/backup.action | url: /confluence/admin/restore.action | userName: admin | action: restore com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details. at com.atlassian.confluence.importexport.xmlimport.legacy.LegacyXmlImporter.doImport(LegacyXmlImporter.java:45) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:314) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:275) at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:103) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImport(BackupImporter.java:107) at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.doImport(FileBackupImporter.java:45) at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy76.importAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:60) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Unknown Source) Caused by: net.sf.hibernate.HibernateException: Error processing backup. Refer to logs for more details. at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.fromXML(ReverseDatabinder.java:133) at com.atlassian.confluence.importexport.xmlimport.legacy.LegacyXmlImporter.doImport(LegacyXmlImporter.java:38) ... 20 more Caused by: java.lang.NoSuchMethodException: com.atlassian.confluence.pages.attachments.ImageDetailsDto.<init>() at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.endElement(ReverseDatabinder.java:280) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.fromXML(ReverseDatabinder.java:115) ... 21 more Caused by: java.lang.NoSuchMethodException: com.atlassian.confluence.pages.attachments.ImageDetailsDto.<init>() at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source) at com.atlassian.confluence.importexport.xmlimport.legacy.ImportedObject.readObjectId(ImportedObject.java:96) at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.endElement(ReverseDatabinder.java:214) {code} If you search through entities.xml of your backup you can find : bq. <object class="ImageDetailsDto" package="com.atlassian.confluence.pages.attachments"> h4. Patch for 3.2 I have attached patches for Confluence 3.2 to resolve this issue. # Download the patch [here|http://jira.atlassian.com/secure/attachment/38018/conf-19422-3.2.zip]. # Shutdown Confluence. # Follow the documentation to [install this patch|http://confluence.atlassian.com/display/DOC/Installing+Patched+Class+Files]. # Startup Confluence. *If you are running Confluence 3.2.1 you do not need to install this patch, 3.2.1 includes this fix.*
    via by Han Chen,
  • Restoring XML backup created by confluence 3.2 fails with error: bq. Import failed. com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details. In the following error can be observed from the log file: {code} 2010-04-23 13:58:17,406 ERROR [Importing data task] [confluence.importexport.xmlimport.BackupImporter] importEntities Cannot import the entities: -- referer: http://localhost/confluence/admin/backup.action | url: /confluence/admin/restore.action | userName: admin | action: restore com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details. at com.atlassian.confluence.importexport.xmlimport.legacy.LegacyXmlImporter.doImport(LegacyXmlImporter.java:45) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:314) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:275) at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:103) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImport(BackupImporter.java:107) at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.doImport(FileBackupImporter.java:45) at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy76.importAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:60) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Unknown Source) Caused by: net.sf.hibernate.HibernateException: Error processing backup. Refer to logs for more details. at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.fromXML(ReverseDatabinder.java:133) at com.atlassian.confluence.importexport.xmlimport.legacy.LegacyXmlImporter.doImport(LegacyXmlImporter.java:38) ... 20 more Caused by: java.lang.NoSuchMethodException: com.atlassian.confluence.pages.attachments.ImageDetailsDto.<init>() at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.endElement(ReverseDatabinder.java:280) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.fromXML(ReverseDatabinder.java:115) ... 21 more Caused by: java.lang.NoSuchMethodException: com.atlassian.confluence.pages.attachments.ImageDetailsDto.<init>() at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source) at com.atlassian.confluence.importexport.xmlimport.legacy.ImportedObject.readObjectId(ImportedObject.java:96) at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.endElement(ReverseDatabinder.java:214) {code} If you search through entities.xml of your backup you can find : bq. <object class="ImageDetailsDto" package="com.atlassian.confluence.pages.attachments"> h4. Patch for 3.2 I have attached patches for Confluence 3.2 to resolve this issue. # Download the patch [here|http://jira.atlassian.com/secure/attachment/38018/conf-19422-3.2.zip]. # Shutdown Confluence. # Follow the documentation to [install this patch|http://confluence.atlassian.com/display/DOC/Installing+Patched+Class+Files]. # Startup Confluence. *If you are running Confluence 3.2.1 you do not need to install this patch, 3.2.1 includes this fix.*
    via by Han Chen,
  • java.lang.NoSuchMethodException
    via GitHub by mibby
    ,
  • NoSuchMethodException
    via GitHub by Painstouch
    ,
    • com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details. at com.atlassian.confluence.importexport.xmlimport.legacy.LegacyXmlImporter.doImport(LegacyXmlImporter.java:45) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEntities(BackupImporter.java:314) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.importEverything(BackupImporter.java:275) at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.importEverything(FileBackupImporter.java:103) at com.atlassian.confluence.importexport.xmlimport.BackupImporter.doImport(BackupImporter.java:107) at com.atlassian.confluence.importexport.xmlimport.FileBackupImporter.doImport(FileBackupImporter.java:45) at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy76.importAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:60) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Unknown Source) Caused by: net.sf.hibernate.HibernateException: Error processing backup. Refer to logs for more details. at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.fromXML(ReverseDatabinder.java:133) at com.atlassian.confluence.importexport.xmlimport.legacy.LegacyXmlImporter.doImport(LegacyXmlImporter.java:38) ... 20 more Caused by: java.lang.NoSuchMethodException: com.atlassian.confluence.pages.attachments.ImageDetailsDto.<init>() at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.endElement(ReverseDatabinder.java:280) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.fromXML(ReverseDatabinder.java:115) ... 21 more Caused by: java.lang.NoSuchMethodException: com.atlassian.confluence.pages.attachments.ImageDetailsDto.<init>() at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source) at com.atlassian.confluence.importexport.xmlimport.legacy.ImportedObject.readObjectId(ImportedObject.java:96) at com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.endElement(ReverseDatabinder.java:214)

    Users with the same issue

    Sanjay Kumar
    Sanjay Kumar1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown User
    Unknown User2 times, last one,
    134 more bugmates