[jboss-jira] [JBoss JIRA] Created: (JBRULES-2843) When I use a global where the name is the same as its type in the LHS of a .drl Rule, i got an IllegalArgumentException: object is not an instance of declaring class

Dirk Hermanns (JIRA) jira-events at lists.jboss.org
Wed Dec 22 04:05:17 EST 2010


When I use a global where the name is the same as its type in the LHS of a .drl Rule, i got an IllegalArgumentException: object is not an instance of declaring class
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBRULES-2843
                 URL: https://issues.jboss.org/browse/JBRULES-2843
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-core
    Affects Versions: 5.1.1.FINAL
         Environment: Ubuntu Linux 10.04, JRE 1.6
            Reporter: Dirk Hermanns
            Assignee: Mark Proctor
            Priority: Minor


I got a global variable "MyGlobalVariable" and called it "MyGlobalVariable". When the rule gets evaluated, i got the above error message.
I think this is pretty much the same issue as

https://issues.jboss.org/browse/GUVNOR-171

The difference is, that my error is in combination with the LHS of a drl.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list