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

Joe Re (JIRA) jira-events at lists.jboss.org
Mon Jun 11 16:32:04 EDT 2012


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

Joe Re updated JBRULES-3539:
----------------------------

    Git Pull Request: https://github.com/droolsjbpm/drools/pull/123
         Description: 
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'

  was:
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.

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'


    
> 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: Mark Proctor
>
> 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