org.mvel2.UnresolveablePropertyException: unable to resolve token: unable to resolve variable 'temp'

MuleSoft JIRA | Santiago Vacas | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    the following config is not allowed: {code:xml} <expression-component> temp = 'bar' </expression-component> {code} ...and throws this exception: {noformat} ******************************************************************************** Message : Execution of the expression " temp = 'bar' " failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: String Code : MULE_ERROR-29999 -------------------------------------------------------------------------------- Exception stack is: 1. unable to resolve token: unable to resolve variable 'temp' (org.mvel2.UnresolveablePropertyException) org.mule.el.mvel.MVELExpressionLanguageContext:89 (null) 2. Execution of the expression " temp = 'bar' " failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:211 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression " temp = 'bar' " failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: String (org.mule.api.MessagingException) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:35 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mvel2.UnresolveablePropertyException: unable to resolve token: unable to resolve variable 'temp' at org.mule.el.mvel.MVELExpressionLanguageContext.getVariableResolver(MVELExpressionLanguageContext.java:89) at org.mule.el.mvel.MVELExpressionLanguageContext.createVariable(MVELExpressionLanguageContext.java:95) at org.mule.el.mvel.MVELExpressionLanguageContext.createVariable(MVELExpressionLanguageContext.java:73) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** {noformat}

    MuleSoft JIRA | 5 years ago | Santiago Vacas
    org.mvel2.UnresolveablePropertyException: unable to resolve token: unable to resolve variable 'temp'
  2. 0

    the following config is not allowed: {code:xml} <expression-component> temp = 'bar' </expression-component> {code} ...and throws this exception: {noformat} ******************************************************************************** Message : Execution of the expression " temp = 'bar' " failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: String Code : MULE_ERROR-29999 -------------------------------------------------------------------------------- Exception stack is: 1. unable to resolve token: unable to resolve variable 'temp' (org.mvel2.UnresolveablePropertyException) org.mule.el.mvel.MVELExpressionLanguageContext:89 (null) 2. Execution of the expression " temp = 'bar' " failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:211 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression " temp = 'bar' " failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: String (org.mule.api.MessagingException) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:35 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mvel2.UnresolveablePropertyException: unable to resolve token: unable to resolve variable 'temp' at org.mule.el.mvel.MVELExpressionLanguageContext.getVariableResolver(MVELExpressionLanguageContext.java:89) at org.mule.el.mvel.MVELExpressionLanguageContext.createVariable(MVELExpressionLanguageContext.java:95) at org.mule.el.mvel.MVELExpressionLanguageContext.createVariable(MVELExpressionLanguageContext.java:73) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** {noformat}

    MuleSoft JIRA | 5 years ago | Santiago Vacas
    org.mvel2.UnresolveablePropertyException: unable to resolve token: unable to resolve variable 'temp'

    Root Cause Analysis

    1. org.mvel2.UnresolveablePropertyException

      unable to resolve token: unable to resolve variable 'temp'

      at org.mule.el.mvel.MVELExpressionLanguageContext.getVariableResolver()
    2. Mule Core
      MVELExpressionLanguageContext.createVariable
      1. org.mule.el.mvel.MVELExpressionLanguageContext.getVariableResolver(MVELExpressionLanguageContext.java:89)
      2. org.mule.el.mvel.MVELExpressionLanguageContext.createVariable(MVELExpressionLanguageContext.java:95)
      3. org.mule.el.mvel.MVELExpressionLanguageContext.createVariable(MVELExpressionLanguageContext.java:73)
      3 frames