org.xml.sax.SAXException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • h3. Summary For JIRA Cloud Import to succeed, the "JIRA Export:" option in the Import Wizard must be a .zip file in the following format: JIRA-backup.zip ├── activeobjects.xml └── entities.xml *Problem:* The JIRA Cloud Wizard is also accepting an .xml file, continues through the process and runs and import that fails because it is missing the other .xml The following guide explains the process that an administrator has to go through to achieve the migration: [How to restore a JIRA Cloud application backup into another JIRA Cloud application|https://confluence.atlassian.com/display/JIRAKB/How+to+restore+a+JIRA+Cloud+application+backup+into+another+JIRA+Cloud+application] (improvements for this was suggested under: [JRA-59604|https://jira.atlassian.com/browse/JRA-59604] ) h3. Environment * JIRA Cloud Imports h3. Steps to Reproduce # Generate a Cloud Export # Unzip the export in webdav # Go to "JIRA Import" section and select any of the XML files h3. Expected Results JIRA warns that this is not the correct format and prevents the import. h3. Actual Results JIRA parses the xml file for previous JIRA URLs and continues with the next section. No message on screens warns the administrator that the import will fail. After starting the restore process, the following error is shown on screen: {quote} (!) JIRA access problem: There is a problem with your JIRA access. Failed to successfully import JIRA. {quote} JIRA is locked. JIRA logs show: {noformat} 2016-02-18 01:43:25,224 JiraImportTaskExecutionThread-1 INFO username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.studio.importer.StudioImport] Starting FULL JIRA Import as user: username 2016-02-18 01:43:25,224 JiraImportTaskExecutionThread-1 INFO username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Running JIRA Data Import... 2016-02-18 01:43:25,230 JiraImportTaskExecutionThread-1 INFO username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Importing XML data... 2016-02-18 01:43:25,231 JiraImportTaskExecutionThread-1 ERROR username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Error importing data: org.xml.sax.SAXException: The XML document does not contain the <entity-engine-xml> root element or it was closed too early. org.xml.sax.SAXException: The XML document does not contain the <entity-engine-xml> root element or it was closed too early. at com.atlassian.jira.bc.dataimport.OfbizImportHandler.startElement(OfbizImportHandler.java:241) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) .... {noformat} h3.Workaround * Zip both .xml files to match the format required by JIRA.
    via by Mauro Fernandez Badii [Atlassian],
  • h3. Summary For JIRA Cloud Import to succeed, the "JIRA Export:" option in the Import Wizard must be a .zip file in the following format: JIRA-backup.zip ├── activeobjects.xml └── entities.xml *Problem:* The JIRA Cloud Wizard is also accepting an .xml file, continues through the process and runs and import that fails because it is missing the other .xml The following guide explains the process that an administrator has to go through to achieve the migration: [How to restore a JIRA Cloud application backup into another JIRA Cloud application|https://confluence.atlassian.com/display/JIRAKB/How+to+restore+a+JIRA+Cloud+application+backup+into+another+JIRA+Cloud+application] (improvements for this was suggested under: [JRA-59604|https://jira.atlassian.com/browse/JRA-59604] ) h3. Environment * JIRA Cloud Imports h3. Steps to Reproduce # Generate a Cloud Export # Unzip the export in webdav # Go to "JIRA Import" section and select any of the XML files h3. Expected Results JIRA warns that this is not the correct format and prevents the import. h3. Actual Results JIRA parses the xml file for previous JIRA URLs and continues with the next section. No message on screens warns the administrator that the import will fail. After starting the restore process, the following error is shown on screen: {quote} (!) JIRA access problem: There is a problem with your JIRA access. Failed to successfully import JIRA. {quote} JIRA is locked. JIRA logs show: {noformat} 2016-02-18 01:43:25,224 JiraImportTaskExecutionThread-1 INFO username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.studio.importer.StudioImport] Starting FULL JIRA Import as user: username 2016-02-18 01:43:25,224 JiraImportTaskExecutionThread-1 INFO username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Running JIRA Data Import... 2016-02-18 01:43:25,230 JiraImportTaskExecutionThread-1 INFO username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Importing XML data... 2016-02-18 01:43:25,231 JiraImportTaskExecutionThread-1 ERROR username 763x2958x1 14ji4ox 202.10.85.134,165.254.226.18,127.0.0.1 /secure/admin/StudioImport!import.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Error importing data: org.xml.sax.SAXException: The XML document does not contain the <entity-engine-xml> root element or it was closed too early. org.xml.sax.SAXException: The XML document does not contain the <entity-engine-xml> root element or it was closed too early. at com.atlassian.jira.bc.dataimport.OfbizImportHandler.startElement(OfbizImportHandler.java:241) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) .... {noformat} h3.Workaround * Zip both .xml files to match the format required by JIRA.
    via by Mauro Fernandez Badii [Atlassian],
    • org.xml.sax.SAXException: The XML document does not contain the <entity-engine-xml> root element or it was closed too early. at com.atlassian.jira.bc.dataimport.OfbizImportHandler.startElement(OfbizImportHandler.java:241) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    No Bugmate found.