[rules-users] java.lang.RuntimeException: Unexpected global
Esteban Aliverti
esteban.aliverti at gmail.com
Thu Mar 3 07:22:10 EST 2011
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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110303/4fb40d3d/attachment.html
More information about the rules-users
mailing list