[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-641) Support for primitive array throws an org.drools.rule.InvalidRulePackage exception
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Fri Feb 9 07:05:30 EST 2007
[ http://jira.jboss.com/jira/browse/JBRULES-641?page=all ]
Edson Tirelli resolved JBRULES-641.
-----------------------------------
Fix Version/s: 3.0.6
3.1-m1
Resolution: Done
Fix applied to both 3.0.x branch (revision #9409) and to trunk (revision #9410).
Thank you for providing the fix and test cases. Your help is appreciated.
> Support for primitive array throws an org.drools.rule.InvalidRulePackage exception
> ----------------------------------------------------------------------------------
>
> Key: JBRULES-641
> URL: http://jira.jboss.com/jira/browse/JBRULES-641
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.0.5
> Environment: Linux Fedora Core 5 amd 64, JDK 1.4.2_13 inside eclipse 3.2
> Reporter: Frederic Burlet
> Assigned To: Edson Tirelli
> Fix For: 3.0.6, 3.1-m1
>
> Attachments: drools-array-patch.txt, drools-array-test.tar.gz, drools-array-test.tar.gz
>
>
> If rule file has a rule having a condition on primitive array, then a org.drools.rule.InvalidRulePackage exception is thrown.
> The exact message is:
> Warning: An error occurred compiling a semantic invoker. Errors should have been reported elsewhere.
> Exception in thread "main" org.drools.rule.InvalidRulePackage: Rule Compilation error Syntax error on token "[", delete this token I cannot be resolved to a type
> at org.drools.rule.Package.checkValidity(Unknown Source)
> at org.drools.common.AbstractRuleBase.addPackage(Unknown Source)
> at org.drools.test.Test.main(Test.java:19)
> See the attached test case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list