Error in BaseIntFieldClassReader for ArrayList ( size == 1)
-----------------------------------------------------------
Key: JBRULES-1766
URL:
https://jira.jboss.org/jira/browse/JBRULES-1766
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.0.0.M2
Environment: Eclipse 3.4; Drools SVN trunk from today, Linux
Reporter: Michael Zimmermann
Assignee: Mark Proctor
The following rule worked perfectly with drools 4.0.x. Using Drools Trunk (post 5.0 M1) I
do get an error in org.drools.base.extractors.BaseIntClassFiieldReader. Changing the
ArrayList (size==1) definition to ArrayList() works, though.
rule "MyRule"
when
ArrayList( size == 1 ) from collect ( SomeClass( ) )
then
do_something ()
end
As this is some hack also published on the mailing list for counting facts, I would expect
to see this contruct to be compatible with drools 4.0.x
--
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