<br>   People,<br><br>   Just as an explanation, the DRL language is a fairly complex language from a parser perspective. We generate our parser using ANTLR that is an amazing tool, but due to the complexity of the grammar, it is hard to foresee all possible runtime exceptions that might occur when someone uses an incorrect syntax. <br>
<br>   In such cases, the parser may raise a runtime exception like a NPE. To avoid blowing the application using the parser or the Drools IDE, we added a catch all exceptions with the message: &quot;this is a bug, contact the development team&quot; when that happens. This is to direct you, users, to report us what kinds of incorrect syntax make the parser explode. Once found, it is farly easy to fix. So, thanks for reporting. I opened a JIRA for that. If anyone knows of other cases that cause the same kind of errors, please add comments to the ticket.<br>
<br>   Also, if someone would like to contribute to the project by getting some trained zoo monkeys to bash the keyboard looking for invalid sentences that blow up the parser, it is highly appreciated. ;)<br><br><a href="https://jira.jboss.org/jira/browse/JBRULES-2151">https://jira.jboss.org/jira/browse/JBRULES-2151</a><br>
<br>    Cheers,<br>      Edson<br><br><div class="gmail_quote">2009/6/30 Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Daniel:</div>
<div> </div>
<div>the last line of your conditions containing &quot;($tag memberOf $tage)&quot; is syntactically incorrect; such a condition must be written as an &#39;eval&#39; CE, i.e.:</div>
<div>   eval($tag memberOf $tage)<br> </div>
<div>-W</div>
<div> </div>
<div> </div>
<div><div><div></div><div class="h5"><span class="gmail_quote">On 6/30/09, <b class="gmail_sendername">Boschung Daniel</b> &lt;<a href="mailto:Daniel.Boschung@rtc.ch" target="_blank">Daniel.Boschung@rtc.ch</a>&gt; wrote:</span>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<div><font size="3" face="Arial, sans-serif">
<div> </div>
<div><font size="2">hi folks</font></div>
<div><font size="2"> </font></div>
<div><font size="2">drools prompt me to contact the development team. the following error apears, whithout stacktrace, while developing</font></div>
<div><font size="2">a rule. maybe the error is known to you?!</font></div>
<div><font size="2"> </font></div>
<div><font size="2">thanks for a little statement</font></div>
<div><font size="2"> </font></div>
<div><font size="2"><img> </font></div>
<div><font size="2">daniel</font></div>
<div><font size="2"> </font></div></font></div><br></div></div>_______________________________________________<br>rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>

<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br><br><br clear="all"></blockquote>
</div><br>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>