[rules-users] Drools error messages no very useful.
Edson Tirelli
tirelli at post.com
Tue Aug 19 13:40:10 EDT 2008
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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080819/f2674675/attachment.html
More information about the rules-users
mailing list