Hi All,<br> I ran across an issue while unmarshalling StatefulKnowledgeSession. First I'm marshalling the session using the following code which works fine<br><br>Marshaller marshaller = MarshallerFactory<br> .newMarshaller(workingMemory.getKnowledgeBase());<br>
File file = new File(<br> "C:\\Users\\Sumatheja\\<a href="http://workingmemory.info">workingmemory.info</a>");<br> FileOutputStream fos = new FileOutputStream(file);<br>
ByteArrayOutputStream baos = new ByteArrayOutputStream();<br> marshaller.marshall(baos, workingMemory);<br> baos.writeTo(fos);<br> baos.close();<br>
<br>When I try to unmarshall the session using<br><br> Marshaller marshaller = MarshallerFactory<br> .newMarshaller(workingMemory.getKnowledgeBase());<br> FileInputStream fis = new FileInputStream("C:\\Users\\Sumatheja\\<a href="http://workingmemory.info">workingmemory.info</a>");<br>
workingMemory = marshaller.unmarshall(fis);<br><br>I'm getting the Error:<br><br><br>java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init(Lorg/drools/marshalling/impl/MarshallerReaderContext;)V<br>
at org.drools.marshalling.impl.PersisterHelper.buildRegistry(PersisterHelper.java:287)<br> at org.drools.marshalling.impl.ProtobufInputMarshaller.loadAndParseSession(ProtobufInputMarshaller.java:219)<br> at org.drools.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:152)<br>
at org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:117)<br> at org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:86)<br> at mattelli.re.ComplianceEngine.ComplianceRunService(ComplianceEngine.java:271)<br>
at mattelli.re.ComplianceEngine.main(ComplianceEngine.java:84)<br><br>No Idea what I'm missing out... any help will be appreciated... Thanks in advance<br><br clear="all"><br>-- <br>cheers<br>Sumatheja Dasararaju<br>
<br><br>