Hi All, <br> I have a set of rules. After firing the rules if an exception occurs in a rule the following rules are not getting evaluated. So i tried writing a try catch block inside the consequence part of the rule, but then i get an error saying "'unable to build the consequence.[Error:was expecting type: java.lang.Object but found type:null]"<br>
<br>Here follows my code<br><br><br clear="all"><b>rule 'Test rule'<br>ruleflow-group "Test Ruleflow"<br>no-loop<br> when<br> $c:Car()<br> Driver()<br> <br> then <br> try{<br>
$c.getModel()<br> } catch (Exception Ee) {<br> System.out.println("caught an exception: "+Ee.toString());<br> }<br>end</b><br><br>However if i remove the try catch block it buils fine.<br>
<br>Can anyone let me know if i'm missing something here.<br><br>Thanks in advance :)<br>-- <br>cheers<br>Sumatheja <br><br><br>