<div>Hi,</div><div><br></div>The error is clear: There is no global defined with that name :P <div>Are you checking for errors in kbuilder? Try to debug and see if the global is present in the generated kbase.</div><div><br>
</div><div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">2011/3/2 Saleem Lakhani <span dir="ltr"><<a href="mailto:Saleem.Lakhani@citizensfla.com">Saleem.Lakhani@citizensfla.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">What is the actual reason for this error? Why cant drools
give some better explaination of this problem when the exception is thrown.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here is the snippet of my code:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">workingMemory.setGlobal("validationErrorHierarchy",
validationErrorHierarchy); //workingMemory is StatefulKnowledgeSession</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am using the following variable in dslr:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New";color:#960000;background:yellow">global</span></b><span style="font-size:10.0pt;font-family:"Courier New";color:black;background:yellow"> com.model.ValidationErrorHierarchy
validationErrorHierarchy;</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">thanks</p>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:"Rage Italic"">saleem</span></p>
<p class="MsoNormal"> </p>
</div>
</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div>