[jboss-jira] [JBoss JIRA] (JBRULES-3533) Unable to Analyse Expression strict mode exception

Mario Fusco (JIRA) jira-events at lists.jboss.org
Fri Jun 8 12:21:18 EDT 2012


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

Mario Fusco reassigned JBRULES-3533:
------------------------------------

    Assignee: Mario Fusco  (was: Mark Proctor)

    
> Unable to Analyse Expression strict mode exception
> --------------------------------------------------
>
>                 Key: JBRULES-3533
>                 URL: https://issues.jboss.org/browse/JBRULES-3533
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler, drools-compiler (expert)
>    Affects Versions: 5.4.0.Final
>         Environment: Windows. java 6
>            Reporter: Joe Re
>            Assignee: Mario Fusco
>             Fix For: 5.4.0.Final
>
>
> A rule with this type of expression functions correctly in 5.0 but fails in 5.4. Pull request to follow
> Map($valOne : this['keyOne'] !=null)
> $lowerValue : String() from $valOne.toLowerCase()
> Results in:
> Unable to Analyse Expression $valOne.toLowerCase():
> [Error: unable to resolve method using strict-mode: java.lang.Object.toLowerCase()]
> [Near : {... $valOne.toLowerCase() ....}]
>                      ^ : [Rule name='LowerCaseFrom']
> 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