[jboss-jira] [JBoss JIRA] (JBRULES-3533) Unable to Analyse Expression strict mode exception
Joe Re (JIRA)
jira-events at lists.jboss.org
Wed Jun 6 23:04:17 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699623#comment-12699623 ]
Joe Re commented on JBRULES-3533:
---------------------------------
See pull request: https://github.com/droolsjbpm/drools/pull/122
> 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: Mark Proctor
> 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