People, 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.
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: "this is a bug, contact the development team" 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. 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. ;) https://jira.jboss.org/jira/browse/JBRULES-2151 Cheers, Edson 2009/6/30 Wolfgang Laun <[email protected]> > Daniel: > > the last line of your conditions containing "($tag memberOf $tage)" is > syntactically incorrect; such a condition must be written as an 'eval' CE, > i.e.: > eval($tag memberOf $tage) > > -W > > > On 6/30/09, Boschung Daniel <[email protected]> wrote: > >> >> hi folks >> >> drools prompt me to contact the development team. the following error >> apears, whithout stacktrace, while developing >> a rule. maybe the error is known to you?! >> >> thanks for a little statement >> >> daniel >> >> >> _______________________________________________ >> rules-dev mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-dev >> >> >> > > _______________________________________________ > rules-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-dev > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com
_______________________________________________ rules-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-dev
