Re: [rules-users] java.lang.RuntimeException: Unexpected global

2011-03-03 Thread Esteban Aliverti
Hi, The error is clear: There is no global defined with that name :P Are you checking for errors in kbuilder? Try to debug and see if the global is present in the generated kbase. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blo

[rules-users] java.lang.RuntimeException: Unexpected global

2011-03-02 Thread Saleem Lakhani
Hi, What is the actual reason for this error? Why cant drools give some better explaination of this problem when the exception is thrown. Here is the snippet of my code: workingMemory.setGlobal("validationErrorHierarchy", validationErrorHierarchy); //workingMemory is StatefulKnowledge

Re: [rules-users] java.lang.RuntimeException: Unexpected global

2010-02-08 Thread paulB
http://ahahintechnology.blogspot.com/2009/11/drools-error-of-unexpected-global.html -- View this message in context: http://n3.nabble.com/java-lang-RuntimeException-Unexpected-global-tp182365p195384.html Sent from the Drools - User mailing list archive at Nabble.com.