The second operand of a constraint is either a literal, a variable or a<br><i>parenthesized  </i>expression. Try<br>... ( serializationIdentifier == <b>(</b> generateSN(...)<b> )</b> ) from ...<br><br><div class="gmail_quote">
On 28 October 2010 10:49, pjeynes <span dir="ltr">&lt;<a href="mailto:paul.jeynes@almacgroup.com">paul.jeynes@almacgroup.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Edson Tirelli-3 wrote:<br>
&gt;<br>
&gt;    In such cases, the parser may raise a runtime exception like a NPE. To<br>
&gt; avoid blowing the application using the parser or the Drools IDE, we added<br>
&gt; a<br>
&gt; catch all exceptions with the message: &quot;this is a bug, contact the<br>
&gt; development team&quot; when that happens. This is to direct you, users, to<br>
&gt; report<br>
&gt; us what kinds of incorrect syntax make the parser explode. Once found, it<br>
&gt; is<br>
&gt; farly easy to fix.<br>
&gt;<br>
<br>
Hi, I&#39;m trying to include a call to a function in the conditions and also<br>
getting this error.  Any suggested workaround?<br>
<br>
<a href="http://drools-java-rules-engine.46999.n3.nabble.com/file/n1785109/droolsError.GIF" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/file/n1785109/droolsError.GIF</a><br>
droolsError.GIF<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/unknown-error-while-parsing-tp64698p1785109.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/unknown-error-while-parsing-tp64698p1785109.html</a><br>

Sent from the Drools - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</font></blockquote></div><br>