Ok, just before I submit to JIRA, I want to make sure I have a "case".
So I am using MR3.
The exception is thrown when "for" cycle is used with local variable
declared inside:
rule "...."
when
...
then
for(int i = 1;;){break;}
end
it worked fine when variable is defined outside of cycle:
rule "...."
when
...
then
int i = 0;
for(i = 1;;){break;}
end
Mark, please confirm that it is an issue and needs to be submitted to
JIRA,
Thanks,
-Sergey
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Mark Proctor
Sent: Monday, July 16, 2007 4:58 PM
To: Rules Users List
Subject: Re: [rules-users] "Unable to load dialect"
no idea, please make a self contained test showing your error and upload
to jira.
Mark
Manukyan, Sergey wrote:
Ok, got it fixed by including the
"core-3.2.3.v_686_R32x.jar" file,
also
included all other jar files in the same lib folder.
Now getting other exception:
[7/16/07 15:03:19:026 EDT] 0000002c SystemErr R
java.lang.NullPointerException
at
org.drools.rule.builder.dialect.java.JavaConsequenceBuilder.build(JavaCo
nsequenceBuilder.java:54)
at
org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:67)
at
org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:390)
at
org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:264)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java
:147)
Help....! ;-)
-Sergey
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Manukyan,
Sergey
Sent: Monday, July 16, 2007 2:03 PM
To: Rules Users List
Subject: [rules-users] "Unable to load dialect"
Folks,
Just upgraded to MR3 from MR2 and started getting this exception:
[7/16/07 13:30:23:772 EDT] 00000025 SystemErr R
org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.rule.builder.dialect.java.JavaDialect:java'
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(Pac
kageBuilderConfiguration.java:156)
at
org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:131)
at
org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:84)
Any idea why?... I included all 4 jar new files and removed old
ones...
Thanks,
-Sergey
**********************
** LEGAL DISCLAIMER **
**********************
This E-mail message and any attachments may contain
legally privileged, confidential or proprietary
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of
this message to the intended recipient(s), you are
hereby notified that any dissemination, distribution
or copying of this E-mail message is strictly
prohibited. If you have received this message in
error, please immediately notify the sender and
delete this E-mail message from your computer.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users