Standalone editor without saving the process gives the exception
josdel Jul 31, 2012 2:54 AMHi All,
Closing the standalone editor(firefox) of designer 2.2 without saving the process gives the exception.We are able to see the design. But while reading the knowledgs base will get the exception.The exception is
java.lang.IllegalArgumentException: Could not parse knowledge. Refer the below figure..
Also we get the exception while instantiating knowledgebase.
(null: 1, 1): Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro
r(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(X
MLScanner.java:1414)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(XMLDocumentScannerImpl.java:1059)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:293)
at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:172)
at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)
at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilder
Impl.java:247)
at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.j
ava:564)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilde
r.java:608)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl
.java:37)
at com.radiant.cisms.workFlow.wrapper.JBPMWorkflowWrapper.readKnowledgeB
ase(JBPMWorkflowWrapper.java:83)
at com.radiant.cisms.jms.listeners.WorkFlowListener.onMessage(WorkFlowLi
stener.java:101)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageC
onsumer.java:1229)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionE
xecutor.java:134)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionEx
ecutor.java:205)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.
java:122)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.ja
va:43)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
Thanks in Advance
Josny