I would ask about a problem with scxml application that i m trying to deploy.
When im trying to debug application , Genesys Composer generates the error “failed to parse compiled document”
In the event details pane , i can see the discription about an error :
first message
2014-12-23 10:27:22,757 ERROR Receive thread core.linenumber.ORSDLineNumberMapper (?) - Failed to parse
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1017)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at com.genesyslab.composer.route.debug.core.linenumber.ORSDLineNumberMapper.parse(Unknown Source)
at com.genesyslab.composer.route.debug.core.model.ORSDDebugTarget.handleDebugStarted(Unknown Source)
at com.genesyslab.composer.route.debug.core.model.ORSDDebugTarget.receiveMessage(Unknown Source)
at com.genesyslab.composer.debug.comm.ComposerDebugCommMgr.notifyListeners(Unknown Source)
at com.genesyslab.composer.debug.comm.ComposerDebugReceiveThread.run(Unknown Source)
second message
2014-12-23 10:27:22,762 ERROR Receive thread core.model.ORSDDebugTarget (?) - Failed to parse compiled document
An exception stack trace is not available.
Try to open the XML files within any text editor which can show special characters like a BOM, EoL, etc. or check the characters on byte level if are equals to UTF-8 character representation.
The problem occurrs “just” within DEBUG mode or after standard deployment as well? Did you encounter problem with only these files or the problem have all flow which you have created (if yes, which version of Composer exactly are you using?)?
The problem occurs when i trying to debug application . Also application doesn’t working in standard deployment when its downloaded to another web server .
All applications which i created , couse the same error . Genesys Composer version 8.1.201.52
Check the incorrect characters like BOM, etc. which version of Eclipse are you using (do not rembember if in that version was composer just like a plugin)? Did you try to reinstall composer or try to use fresh install? I am using composer from start version within release 8.1 and never encounter similiar issue. Did you try to contact G-support for help? If you can, upload original XML file and I will check it in my lab env.
W’ve tried to reinstall and install Composer version 8.1.201.52, 8.1.2.000.1 , so i ’ ve got the same error during debug and application doesnt works too .
Then , i install 8.1.101.88 and the deployment was sucssesfull!
Definenatly the problem is in the Composer version 8.1.2…
Thanks a lot for help !!!