[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1766) Error in BaseIntFieldClassReader for ArrayList ( size == 1)
Michael Zimmermann (JIRA)
jira-events at lists.jboss.org
Wed Sep 17 11:01:33 EDT 2008
[ https://jira.jboss.org/jira/browse/JBRULES-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12430038#action_12430038 ]
Michael Zimmermann commented on JBRULES-1766:
---------------------------------------------
Edson,
your test and my problematic drl file work after fixing some classpath (external jars) issues. Yet, I still do see an error in the eclipse plugin reporting said problem in BaseIntClassFieldReader. Here, I don't want to vouch that this is not due to my development environment.
> 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: Edson Tirelli
> Fix For: 5.0.0.M2
>
>
> 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
More information about the jboss-jira
mailing list