]
Dirk Hermanns updated JBRULES-2843:
-----------------------------------
Workaround Description:
Workaround 1. Don't have globals where the fact-name is identical to its type. For the
above example this means renaming MyGlobalVariable to myGlobalVariable.
Workaround 2. Put the condition from LHS to RHS. Then the error message goes away.
was:
Workaround 1. Don't have globals where the fact-name is identical to its type
Workaround 2. Put the condition from LHS to RHS. Then the error message goes away.
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: