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

Atlassian JIRA | Han Chen | 7 years ago
  1. 0

    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.*

    Atlassian JIRA | 7 years ago | Han Chen
    com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details.
  2. 0

    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.*

    Atlassian JIRA | 7 years ago | Han Chen
    com.atlassian.confluence.importexport.ImportExportException: Error performing import: Error processing backup. Refer to logs for more details.
  3. 0
    Spark-notebook cannot load json from gzipped files. Uncompress them before loading.
    via GitHub by cagalli83
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    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.
  6. 0

    Method signature change Weld 2.1.2.Final and cdi-unit 2.2.1

    GitHub | 3 years ago | bradrust
    org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.jglue.cdiunit.ContextController.setup() on org.jglue.cdiunit.ContextController@65faa5a9

  1. PKeidel 2 times, last 1 month ago
  2. Indri Yunita 1 times, last 1 month ago
  3. filpgame 14 times, last 1 month ago
  4. Riyaz 2 times, last 2 months ago
  5. bmacedo 6 times, last 2 months ago
25 more registered users
24 unregistered visitors
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. java.lang.NoSuchMethodException

    com.atlassian.confluence.pages.attachments.ImageDetailsDto.<init>()

    at java.lang.Class.getConstructor0()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructor0(Unknown Source)
    2. java.lang.Class.getConstructor(Unknown Source)
    2 frames
  3. com.atlassian.confluence
    ReverseDatabinder.endElement
    1. com.atlassian.confluence.importexport.xmlimport.legacy.ImportedObject.readObjectId(ImportedObject.java:96)
    2. com.atlassian.confluence.importexport.xmlimport.legacy.ReverseDatabinder.endElement(ReverseDatabinder.java:214)
    2 frames