Drool JPA Support - Class Cast Exception

1 message Options
Embed this post
Permalink
Sachint

Drool JPA Support - Class Cast Exception

Reply Threaded More More options
Print post
Permalink
Hi,

I was trying to run an example to check JPA support in Drools 5.0, but I am getting following exception:

Caused by: java.lang.ClassCastException: [Ljava.lang.Object;
        at org.drools.marshalling.impl.OutputMarshaller.writePropagationContexts(OutputMarshaller.java:675)
        at org.drools.marshalling.impl.OutputMarshaller.writeFactHandles(OutputMarshaller.java:255)
        at org.drools.marshalling.impl.OutputMarshaller.writeSession(OutputMarshaller.java:85)
        at org.drools.marshalling.impl.DefaultMarshaller.marshall(DefaultMarshaller.java:117)
        at org.drools.persistence.session.JPASessionMarshallingHelper.getSnapshot(JPASessionMarshallingHelper.java:76)
        at org.drools.persistence.session.SessionInfo.update(SessionInfo.java:89)

I even tried using the simple Marshalling to serialize session but got the same exception.

Can somebody please help to find what could be the reason here? Any help would be highly appreciable.

Thanks in Advance.
Sachin Thapa
http://technologistics.blogspot.com/