]
Jian Zhi commented on JBRULES-2843:
-----------------------------------
This problem exists in regular package as well. In my case I insert a new fact on RHS. If
the fact name is same as the fact type I got the object is not an instance of declaring
class exception at run time.
The idea solution is to convert the first character of the fact name to lowercase in
Guvnor.
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: