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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev