<div dir="ltr"><br>&nbsp;&nbsp; Well, for 5.0 we rewrote the parser from scratch with much improved error messages... :)<br><br>&nbsp;&nbsp; Anyway, in your case, are you using DSL? I saw this error before when someone was using a DSL, but calling the DRL API. I.e, they were doing:<br>
<br>builder.addPackageFromDrl( drlsource );<br><br>&nbsp;&nbsp; instead of the correct (when using DSL):<br><br>builder.addPackageFromDrl( drlsource, dslsource );<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div class="gmail_quote">2008/8/19 samd <span dir="ltr">&lt;<a href="mailto:sdoyle_2@yahoo.com">sdoyle_2@yahoo.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;"><br>
Alright so I&#39;m new to Drools and I get this error message.<br>
<br>
 &nbsp;[testng] org.drools.rule.InvalidRulePackage: [0,-1]: unknown:0:-1<br>
mismatched token: [@-1,0:0=&#39;&lt;no text&gt;<br>
,&lt;-1&gt;,0:-1]; expecting type RIGHT_PAREN<br>
<br>
What is this supposed to mean?<br>
<br>
The Drools editor in Eclipse does not show any errors.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Drools-error-messages-no-very-useful.-tp19054317p19054317.html" target="_blank">http://www.nabble.com/Drools-error-messages-no-very-useful.-tp19054317p19054317.html</a><br>

Sent from the drools - user mailing list archive at Nabble.com.<br>
<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>
</font></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>