[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1766) Error in BaseIntFieldClassReader for ArrayList ( size == 1)

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Wed Sep 17 11:59:21 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBRULES-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12430048#action_12430048 ] 

Edson Tirelli commented on JBRULES-1766:
----------------------------------------

This is really strange. I will setup an environment here and let you know. 

> 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