Article - CS341285

Unable to ZIP Package for Delivery with the following error :"Delivery ZIP File could not be created. Contact your administrator if the problem Persist" in Windchill PDMLink

Modified: 03-May-2021   


Applies To

  • Windchill PDMLink 11.1 to 12.0

Description

  • Performing ZIP Package for Delivery throws the following error "Delivery ZIP file could not be created. Contact your administrator if the problem persists."
  • Error in the logs:
    • ERROR [WPSyncQueue.PollingThread] com.ptc.windchill.wp.delivery.export.AbstractDeliveryExportDelegate Administrator - Delivery ZIP file could not be created. Contact your administrator if the problem persists.
      wt.util.WTException: org.xml.sax.SAXException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
      org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 8; The processing instruction target matching "[xX][mM][lL]" is not allowed.
      Nested exception is: org.xml.sax.SAXException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
      org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 8; The processing instruction target matching "[xX][mM][lL]" is not allowed.
          at com.ptc.windchill.wp.delivery.export.WorkPackageRelationshipMapParser.fatalError(WorkPackageRelationshipMapParser.java:193)
          at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
          at org.apache.xerces.impl.XMLScanner.scanPIData(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown Source)
          at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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(SAXParser.java:195)
          at com.ptc.windchill.wp.delivery.export.WorkPackageRelationshipMapParser.validateXml(WorkPackageRelationshipMapParser.java:220)
          at com.ptc.windchill.wp.delivery.export.PackageExportDependencyFactory.getDependencyProcessors(PackageExportDependencyFactory.java:143)
          at com.ptc.windchill.wp.delivery.export.AbstractDeliveryExportDelegate.secondaryObjectsVerification(AbstractDeliveryExportDelegate.java:1444)
          at com.ptc.windchill.wp.delivery.export.AbstractDeliveryExportDelegate.fetchDependents(AbstractDeliveryExportDelegate.java:1358)
          at com.ptc.windchill.wp.delivery.export.AbstractDeliveryExportDelegate.getPackageExportGraph(AbstractDeliveryExportDelegate.java:949)
          at com.ptc.windchill.wp.delivery.export.AbstractDeliveryExportDelegate.buildExportFiles(AbstractDeliveryExportDelegate.java:487)
          at com.ptc.windchill.sync.wpsync.StandardWPSyncService.exportToFile(StandardWPSyncService.java:870)
          at com.ptc.windchill.sync.wpsync.StandardWPSyncService.createZip(StandardWPSyncService.java:811)
          at com.ptc.windchill.sync.wpsync.StandardWPSyncService.performExport(StandardWPSyncService.java:497)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
          at com.sun.proxy.$Proxy92.performExport(Unknown Source)
          at com.ptc.windchill.sync.wpsync.ExportTask.runExportTask(ExportTask.java:305)
          at com.ptc.windchill.sync.wpsync.ExportTask._run(ExportTask.java:228)
          at com.ptc.core.task.AtomicTask.run(AtomicTask.java:58)
          at com.ptc.core.task.Task.execute(Task.java:262)
          at com.ptc.core.task.Task.executeInBackground(Task.java:474)
          at com.ptc.core.task.QueueableTaskServerHelper.executeTaskInQueue(QueueableTaskServerHelper.java:163)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at wt.queue.QueueEntry.execute(QueueEntry.java:231)
          at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:312)
          at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:898)
          at wt.queue.PollingQueueThread.run(PollingQueueThread.java:99)
      Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 8; The processing instruction target matching "[xX][mM][lL]" is not allowed.
          at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
          ... 46 more
    • ERROR [WPSyncQueue.PollingThread] com.ptc.windchill.wp.delivery.export.AbstractDeliveryExportDelegate Administrator - Delivery ZIP file could not be created. Contact your administrator if the problem persists.
      wt.util.WTException: org.xml.sax.SAXException: Content is not allowed in prolog.
      org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1; Content is not allowed in prolog.
      Nested exception is: org.xml.sax.SAXException: Content is not allowed in prolog.
      org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1; Content is not allowed in prolog.
          at com.ptc.windchill.wp.delivery.export.WorkPackageRelationshipMapParser.fatalError(WorkPackageRelationshipMapParser.java:193)

       
This is a printer-friendly version of Article 341285 and may be out of date. For the latest version click CS341285