You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2018/12/17 09:23:00 UTC

[jira] [Commented] (JEXL-283) JexlEngine parse an expression in wrong way.It seems like create a SimpleNode in the ASTJexlScript

    [ https://issues.apache.org/jira/browse/JEXL-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722819#comment-16722819 ] 

Dmitri Blinov commented on JEXL-283:
------------------------------------

The 2.0.1 library is realy outdated now. Please try to use 2.1.1 library to see your problem is resolved in it. 

> JexlEngine parse an expression in wrong way.It seems like create a SimpleNode in the ASTJexlScript
> --------------------------------------------------------------------------------------------------
>
>                 Key: JEXL-283
>                 URL: https://issues.apache.org/jira/browse/JEXL-283
>             Project: Commons JEXL
>          Issue Type: Bug
>         Environment: AIX 6.1
> JDK 1.6
>            Reporter: zhuliang
>            Priority: Major
>         Attachments: 292207985048712103.jpg
>
>
> I used the jexl-2.0.1 in my project for process the user request data.Recently i met a problem,the jexl expression does not work correct. So i kill the preocess and restart my application.it work good!
> I seems like the *JexlEngine.createExpression(String exp)* goes in wrong way,It create a Expression object which has a *simpleNode* in it.So when the Excepssion oject call method *evaluate(JexlContext)* thow a *UnsupportedOperationException:Not Supported yet (Interpreter.java line 1338).*
> Expression in my project is *ASTReference*,it looks like this *"ff:upper('sss')"*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)