I fixed the issue today, it was a subtle bug that I overlooked in the helper
class that creates the knowledge session. I had a local variable for the
session but I never used it. Therefore, when ever I called the
getKnowledgeSession method it built a new one, instead of returning the one
it already built. I was registering listeners on one session and then the
queries were being interrogated on another one.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Cannot-use-ViewChangeEventListener-in-tests-tp4026491p4026498.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to