Java or DRL declaration of the fact object, please? Also, are you using the
HashMap
field of that fact in any rules, and if so, how? And, perhaps, the full
stack trace?
-W
On 12 April 2011 14:06, hbunny <office(a)interdevelopments.ro> wrote:
Hello,
I have searched the forum for information on this case, but I haven't find,
at least yet.
I am trying to insert an object containing a HashMap, but when I call
ksession.insert( fact ) method I get this error:
java.lang.ClassCastException: java.util.HashMap cannot be cast to
java.lang.Comparable
I have searched the net for this kind of error, but it's not clear why I'm
getting it, especially that I am inserting with success a global HashMap.
Can you help me please, it is rather urgent. Thank you in advance.
--
View this message in context:
http://drools.46999.n3.nabble.com/Insert-an-object-containing-a-HashMap-t...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users