InDesign 17.2 Export XML crashes
Adobe InDesign 17.2.0.20
macOS 12.3.1
Upon exporting XML from an InDesign file, InDesign crashes. This does not happen with Adobe InDesign 17.1.0.50.
Please see attached crash logs and error messages received from InDesign.
Contacted the user to investigate this issue further.
--
InDesign team
-
Bryant Dresher commented
We tend to see this issue when we are processing a batch of files via a script we have built for InDesign. For example, we have a batch of 70 or 80 .indd files that we want to export the XML from. A script we have will process and export the XML for each .indd file and at some point in the batch (not consistent) we see a file fail the export which stops the script. The errors I included are what we receive when the export of XML causes InDesign to crash. We have also seen the issue with importing XML into a file in a similar batch.
It is our belief that this issue can be reproduced with a similar sized batch of InDesign files where one would export XML out of each file.
So to summarize, we do not see this with a specific file, more the batching of files and eventually something in the import or export of XML fails. And we didn't see this on InDesign 17.1, but it has been observed under the circumstances described with InDesign 17.2.
This is the code snippet we are executing when exporting XML via the script.
try
{
// Set the flag to export Ruby Text if supported.
myDocument.xmlExportPreferences.ruby = true
// Export the whole XML file to the specified file name
myDocument.exportFile(ExportFormat.xml, File(myXMLfileNameToSaveAs));
} -
Bryant Dresher commented
Attached again
-
Bryant Dresher commented
Additional dump files attached.
-
Bryant Dresher commented
Additional dump file