Well, for 5.0 we rewrote the parser from scratch with much improved error messages... :)

   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:

builder.addPackageFromDrl( drlsource );

   instead of the correct (when using DSL):

builder.addPackageFromDrl( drlsource, dslsource );

   []s
   Edson

2008/8/19 samd <sdoyle_2@yahoo.com>

Alright so I'm new to Drools and I get this error message.

 [testng] org.drools.rule.InvalidRulePackage: [0,-1]: unknown:0:-1
mismatched token: [@-1,0:0='<no text>
,<-1>,0:-1]; expecting type RIGHT_PAREN

What is this supposed to mean?

The Drools editor in Eclipse does not show any errors.
--
View this message in context: http://www.nabble.com/Drools-error-messages-no-very-useful.-tp19054317p19054317.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com