most classcastexceptions come from having the wrong dependencies on the parth, particulalry MVEL. We are putting out 4.0.3 on monday, I would recommend you upgrade to this and make sure you are using all the correct dependencies. If you continue to have problems you will need to be more explicit than you have been below, there is't much we can do with that information.

Mark
Heyns, Juan wrote:
Hello guys,

I am getting some pretty erratic behavior with 4.0.1 at times. I have couple of some simple rules, sometimes when I insert objects from the my code. I get a ClassCastException with all the exception properties such as "description", "cause", etc. set to NULL.
This problem only comes up once in a while and when I redeploy
the library to the J2EE application server the problem seems to
go away.

I know this is vague... could there be some bug in drools that
is causing this. Or is there cases where session.insert(object)
should throw a ClassCastException?

Regards
Juan

"Employees of Lonmin Platinum ("Lonplats") are not authorised to conclude
electronic transactions or to enter into electronic agreements on behalf
of Lonplats. Any electronic signature (other than an advanced electronic
signature as defined in the Electronic Communications and Transactions
Act of 2003) added to a data message (such as an email or an attachment
to an (email) ostensibly on behalf of Lonplats by a Lonplats employee shall
not be legally binding on Lonplats and Lonplats shall incur no liability of
any nature whatsoever, directly or indirectly, arising from such act on the
part of it's employee. It is further recorded that nothing (other than an
advanced electronic signature) inserted into any data message
emanating from Lonplats shall be construed as constituting an electronic
signature"

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to