<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Standalone editor without saving the process gives the exception
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/josdel">Josny Delson</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/751109#751109">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi All,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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 </p><p>java.lang.IllegalArgumentException: Could not parse knowledge. Refer the below figure..</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Also we get the exception while instantiating knowledgebase.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>(null: 1, 1): Premature end of file.</p><p>org.xml.sax.SAXParseException: Premature end of file.</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX</p><p>ParseException(ErrorHandlerWrapper.java:195)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro</p><p>r(ErrorHandlerWrapper.java:174)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(</p><p>XMLErrorReporter.java:388)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(X</p><p>MLScanner.java:1414)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog</p><p>Driver.next(XMLDocumentScannerImpl.java:1059)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X</p><p>MLDocumentScannerImpl.java:648)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next</p><p>(XMLNSDocumentScannerImpl.java:140)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp</p><p>l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X</p><p>ML11Configuration.java:808)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X</p><p>ML11Configuration.java:737)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.</p><p>java:119)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab</p><p>stractSAXParser.java:1205)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p</p><p>arse(SAXParserImpl.java:522)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:293)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:172)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilder</p><p>Impl.java:247)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.j</p><p>ava:564)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilde</p><p>r.java:608)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl</p><p>.java:37)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.radiant.cisms.workFlow.wrapper.JBPMWorkflowWrapper.readKnowledgeB</p><p>ase(JBPMWorkflowWrapper.java:83)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.radiant.cisms.jms.listeners.WorkFlowListener.onMessage(WorkFlowLi</p><p>stener.java:101)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageC</p><p>onsumer.java:1229)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionE</p><p>xecutor.java:134)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionEx</p><p>ecutor.java:205)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.</p><p>java:122)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.ja</p><p>va:43)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec</p><p>utor.java:886)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor</p><p>.java:908)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p>ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce</p><p>ption : Premature end of file.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks in Advance</p><p>Josny</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/751109#751109">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>