You did not pass a Map object to the session object. See the API
StatefulKnowledgeSession, putGlobal.
-W
On 4 July 2011 16:21, esstrata <esstrata(a)yahoo.es> wrote:
Yes, I used eval.
In fact this is the error I'm getting
org.drools.RuntimeDroolsException: productMap.containsKey($pid) == false :
[Error: unable to access property (null parent): containsKey]
[Near : {... Unknown ....}]
And this is the line
eval(productMap.containsKey($pid) == false)
--
View this message in context:
http://drools.46999.n3.nabble.com/check-whether-a-key-is-present-in-globa...
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