[
https://jira.jboss.org/jira/browse/JBRULES-2424?page=com.atlassian.jira.p...
]
Edson Tirelli updated JBRULES-2424:
-----------------------------------
Workaround Description: workaround is to break one of the three conditions: either
make the method non-public, or rename it to not start with "set" or add at least
one (dummy) parameter to it.
'Unable to create Field Extractor' error when the fact class
contains a method name that starts with "set" and has no parameters
--------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2424
URL:
https://jira.jboss.org/jira/browse/JBRULES-2424
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler, drools-core
Affects Versions: 5.0.0.FINAL, 5.0.1.FINAL, 5.1.0.M1
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 5.0.2, 5.1.0.M2
A bug in the ClassFieldInspector class raises an ArrayIndexOutOfBounds error when a fact
class/interface has a method whose name starts with "set" with no parameters.
Example:
public void setup();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira