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,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2011/3/2 Saleem Lakhani <Saleem.Lakhani@citizensfla.com>

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 StatefulKnowledgeSession

 

I am using the following variable in  dslr:

 

global com.model.ValidationErrorHierarchy validationErrorHierarchy;

 

thanks

saleem

 


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users