Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-641

Support for primitive array throws an org.drools.rule.InvalidRulePackage exception

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.0.6, 3.1-m1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Linux Fedora Core 5 amd 64, JDK 1.4.2_13 inside eclipse 3.2

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                fburlet Frederic Burlet
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: