Sergey<br><br> This was indeed a bug that I already solved in MR4. If you get latest successful build you shall not have the problem:<br><br><a href="http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules">http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules
</a><br> <br> Thanks,<br> Edson<br><br><div><span class="gmail_quote">2007/7/17, Manukyan, Sergey <<a href="mailto:SManukyan@lear.com">SManukyan@lear.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok, just before I submit to JIRA, I want to make sure I have a "case".<br>So I am using MR3.<br><br>The exception is thrown when "for" cycle is used with local variable<br>declared inside:<br><br>rule "...."
<br> when<br> ...<br> then<br> for(int i = 1;;){break;}<br>end<br><br>it worked fine when variable is defined outside of cycle:<br><br>rule "...."<br> when<br> ...
<br> then<br> int i = 0;<br> for(i = 1;;){break;}<br>end<br><br>Mark, please confirm that it is an issue and needs to be submitted to<br>JIRA,<br><br>Thanks,<br><br>-Sergey<br><br><br>
<br><br><br>-----Original Message-----<br>From: <a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a><br>[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org
</a>] On Behalf Of Mark Proctor<br>Sent: Monday, July 16, 2007 4:58 PM<br>To: Rules Users List<br>Subject: Re: [rules-users] "Unable to load dialect"<br><br>no idea, please make a self contained test showing your error and upload
<br><br>to jira.<br><br>Mark<br>Manukyan, Sergey wrote:<br>> Ok, got it fixed by including the "core-3.2.3.v_686_R32x.jar" file,<br>also<br>> included all other jar files in the same lib folder.<br>><br>
> Now getting other exception:<br>><br>> [7/16/07 15:03:19:026 EDT] 0000002c SystemErr R<br>> java.lang.NullPointerException<br>> at<br>><br>org.drools.rule.builder.dialect.java.JavaConsequenceBuilder.build
(JavaCo<br>> nsequenceBuilder.java:54)<br>> at<br>> org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:67)<br>> at<br>> org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:390)
<br>> at<br>> org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:264)<br>> at<br>><br>org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java<br>> :147)<br>><br>
><br>> Help....! ;-)<br>><br>> -Sergey<br>><br>><br>><br>><br>> -----Original Message-----<br>> From: <a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
<br>> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>] On Behalf Of Manukyan,<br>> Sergey<br>> Sent: Monday, July 16, 2007 2:03 PM<br>> To: Rules Users List
<br>> Subject: [rules-users] "Unable to load dialect"<br>><br>><br>> Folks,<br>><br>> Just upgraded to MR3 from MR2 and started getting this exception:<br>><br>><br>> [7/16/07 13:30:23:772 EDT] 00000025 SystemErr R
<br>> org.drools.RuntimeDroolsException: Unable to load dialect<br>> 'org.drools.rule.builder.dialect.java.JavaDialect:java'<br>> at<br>><br>org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry
(Pac<br>> kageBuilderConfiguration.java:156)<br>> at<br>> org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:131)<br>> at<br>> org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java
:84)<br>><br>><br>><br>> Any idea why?... I included all 4 jar new files and removed old<br>ones...<br>><br>> Thanks,<br>><br>> -Sergey<br>><br>> **********************<br>> ** LEGAL DISCLAIMER **
<br>> **********************<br>><br>> This E-mail message and any attachments may contain<br>> legally privileged, confidential or proprietary<br>> information. If you are not the intended recipient(s),<br>
> or the employee or agent responsible for delivery of<br>> this message to the intended recipient(s), you are<br>> hereby notified that any dissemination, distribution<br>> or copying of this E-mail message is strictly
<br>> prohibited. If you have received this message in<br>> error, please immediately notify the sender and<br>> delete this E-mail message from your computer.<br>><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">https://lists.jboss.org/mailman/listinfo/rules-users
</a><br>><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">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br>><br>><br><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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli
<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>