[rules-dev] unknown error while parsing

Wolfgang Laun wolfgang.laun at gmail.com
Thu Oct 28 11:21:54 EDT 2010


The second operand of a constraint is either a literal, a variable or a
*parenthesized  *expression. Try
... ( serializationIdentifier == *(* generateSN(...)* )* ) from ...

On 28 October 2010 10:49, pjeynes <paul.jeynes at almacgroup.com> wrote:

>
>
> Edson Tirelli-3 wrote:
> >
> >    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.
> >
>
> Hi, I'm trying to include a call to a function in the conditions and also
> getting this error.  Any suggested workaround?
>
>
> http://drools-java-rules-engine.46999.n3.nabble.com/file/n1785109/droolsError.GIF
> droolsError.GIF
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/unknown-error-while-parsing-tp64698p1785109.html
> Sent from the Drools - Dev mailing list archive at Nabble.com.
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20101028/31f78bfa/attachment-0001.html 


More information about the rules-dev mailing list