[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:25:04 EDT 2012


Joe Re created JBRULES-3539:
-------------------------------

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

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