[jboss-jira] [JBoss JIRA] (JBRULES-3499) MVEL failing on new added packages

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed May 9 11:13:18 EDT 2012


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

Mark Proctor commented on JBRULES-3499:
---------------------------------------

please submit bugs via pull requests, as per instructions here:
http://www.athico.com/Getting_Involved/gettinginvolved.html

                
> MVEL failing on new added packages
> ----------------------------------
>
>                 Key: JBRULES-3499
>                 URL: https://issues.jboss.org/browse/JBRULES-3499
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Mauricio Salatino
>            Assignee: Mario Fusco
>             Fix For: 5.4.0.Final, 5.5.0.Beta1
>
>         Attachments: mvel-issue.zip
>
>
> In this simple rule:
>  when
>         r: Request( amount > 500 )
>         String( this == r.id ) from requests
> For some reason MVEL is failing with the following exception:
> Testcase: hello(com.salaboy.mvelissue.MvelTest):	Caused an ERROR
> unable to invoke method: com.salaboy.mvelissue.Request.getId: target of method is null
> java.lang.RuntimeException: unable to invoke method: com.salaboy.mvelissue.Request.getId: target of method is null
> 	at org.mvel2.optimizers.impl.refl.nodes.GetterAccessor.getValue(GetterAccessor.java:66)
> When a new set of rules is being added to the kbase and an activation is generated.
> I've included a version of the failing rule working with a workaround, but both should work

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list