[rules-users] ClassCastException trying to deserialize a drools session

radai rosenblatt radai.rosenblatt at gmail.com
Mon Feb 4 11:58:09 EST 2013


Hi.

I'm getting this trying to read a serialized drools session (java 7, drools
5.1.1):

Caused by: java.lang.ClassCastException: org.drools.reteoo.RuleTerminalNode
cannot be cast to org.drools.reteoo.RightTupleSink
	at
org.drools.marshalling.impl.InputMarshaller.readRightTuple(InputMarshaller.java:401)
[drools-core.jar:5.1.1]
	at
org.drools.marshalling.impl.InputMarshaller.readRightTuples(InputMarshaller.java:391)
[drools-core.jar:5.1.1]
	at
org.drools.marshalling.impl.InputMarshaller.readFactHandles(InputMarshaller.java:326)
[drools-core.jar:5.1.1]
	at
org.drools.marshalling.impl.InputMarshaller.readSession(InputMarshaller.java:205)
[drools-core.jar:5.1.1]
	at
org.drools.marshalling.impl.DefaultMarshaller.unmarshall(DefaultMarshaller.java:91)
[drools-core.jar:5.1.1]

this happens when trying to deserialize using Marshaller.unmarshal().
is this a known (hopefully fixed?) issue with 5.1.1 ? is it possible im
doing something wrong?



--
View this message in context: http://drools.46999.n3.nabble.com/ClassCastException-trying-to-deserialize-a-drools-session-tp4022048.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list