[jboss-jira] [JBoss JIRA] (JBRULES-3539) Error calling clone on object from map on RHS

Mario Fusco (JIRA) jira-events at lists.jboss.org
Thu Aug 16 11:21:15 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved JBRULES-3539.
----------------------------------

    Fix Version/s: 5.5.0.Beta1
       Resolution: Done


The problem was caused by mvel and it has been fixed with this commit:

https://github.com/mvel/mvel/commit/73606e898d79723fe4536e37693fd33c808b3f6e
                
> Error calling clone on object  from map on RHS 
> -----------------------------------------------
>
>                 Key: JBRULES-3539
>                 URL: https://issues.jboss.org/browse/JBRULES-3539
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Beta1
>         Environment: java 6. Windows
>            Reporter: Joe Re
>            Assignee: Mario Fusco
>             Fix For: 5.5.0.Beta1
>
>
> When calling clone on an object in the RHS of a rule the exception below is thrown. Git pull request with a MiscTest unit test to follow. https://github.com/droolsjbpm/drools/pull/123
> Unable to Analyse Expression System.out.println( $valOne.clone() );:
> [Error: Failed to compileShared: 1 compilation error(s): 
>  - (1,21) the referenced method is not accessible: java.lang.Object.clone() (scope: protected native; required: public]
> [Near : {... System.out.println( $valOne.clone() ); ....}]
>                                  ^
> [Line: 5, Column: 0] : [Rule name='RHSClone']
> Error importing : 'com.sample.DroolsTest.Message'

--
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