What is Processor? Doesn&#39;t look like it is a bound variable. Is it from DBSubscription? <br><br><div class="gmail_quote">On Thu, Nov 6, 2008 at 2:11 PM,  <span dir="ltr">&lt;<a href="mailto:shikha.x.aggarwal@jpmchase.com">shikha.x.aggarwal@jpmchase.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><font size="2" face="sans-serif">Hi, </font>
<br>
<br><font size="2" face="sans-serif">I am using the from clause of drools
and have written the following expression - </font>
<br><font color="#a00000" size="2" face="Courier New"><b>rule</b></font><font size="2" face="Courier New">
</font><font color="#008000" size="2" face="Courier New">&quot;Rule1&quot;</font>
<br><font size="2" face="Courier New">&nbsp; &nbsp;</font><font color="#a00000" size="2" face="Courier New"><b>when</b></font>
<br><font size="2" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; $event : Event(eventId == </font><font color="#008000" size="2" face="Courier New">&quot;eventId.IR.001&quot;</font><font size="2" face="Courier New">),</font>
<br><font size="2" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; $dbS : DBSubscription( report == $event.report
) </font><font color="#a00000" size="2" face="Courier New"><b>from</b></font><font size="2" face="Courier New">
Processor.getUsers()</font>
<br><font size="2" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; </font><font color="#a00000" size="2" face="Courier New"><b>then</b></font>
<br><font size="2" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; list.add($dbS); &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br>
<br><font size="2" face="sans-serif">Here processor.getUsers writtens me
a list of DBSubscription, When I load this package using </font>
<br><font size="2" face="Courier New">&nbsp; builder.addPackageFromDrl( source
);</font>
<br>
<br><font size="2" face="sans-serif">I get an error saying - </font>
<br><font color="red" size="2" face="Courier New">Exception in thread &quot;main&quot;
</font><font color="#000080" size="2" face="Courier New"><u>org.drools.compiler.DroolsParserException</u></font><font color="red" size="2" face="Courier New">:
<b>Unknown error while parsing. This is a bug. Please contact the Development
team.</b></font>
<br><font color="red" size="2" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp;
at org.drools.compiler.DrlParser.compile(</font><font color="#000080" size="2" face="Courier New"><u>DrlParser.java:219</u></font><font color="red" size="2" face="Courier New">)</font>
<br><font color="red" size="2" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp;
at org.drools.compiler.DrlParser.parse(</font><font color="#000080" size="2" face="Courier New"><u>DrlParser.java:73</u></font><font color="red" size="2" face="Courier New">)</font>
<br><font color="red" size="2" face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp;
at org.drools.compiler.DrlParser.parse(</font><font color="#000080" size="2" face="Courier New"><u>DrlParser.java:77</u></font><font color="red" size="2" face="Courier New">)</font>
<br>
<br><font size="2" face="sans-serif">Would Appreciate any help on the same.</font>
<br>
<br><font size="2" face="sans-serif">thanks</font>
<br><font size="2" face="sans-serif">Shikha</font>
<p></p><hr size="1">
<p>
This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase &amp; Co., its subsidiaries and affiliates.

This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase &amp; Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.

Please refer to <a href="http://www.jpmorgan.com/pages/disclosures" target="_blank">http://www.jpmorgan.com/pages/disclosures</a> for disclosures relating to UK legal entities.
</p><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>