org.mule.api.expression.InvalidExpressionException: [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234]

MuleSoft JIRA | Emiliano Lesende | 5 years ago
  1. 0

    The following expression: {noformat} <expression-component> p['Status'] = 'Defect/ER Submitted' p['Defect_ER_Number__c'] = v['jiraIssue'].key p['Defect_ER_Link__c'] = 'http://www.mulesoft.org/jira/browse/SUMMIT/' + payload['Defect_ER_Number__c'] </expression-component> {noformat} throws: {noformat} ERROR 2012-04-25 17:13:23,114 [[summit-demo-1.0-SNAPSHOT].streamCases.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Failed to route event via endpoint: null. Message payload is of type: HashMap Code : MULE_ERROR-39999 -------------------------------------------------------------------------------- Exception stack is: 1. [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234] (org.mule.api.expression.InvalidExpressionException) org.mule.el.mvel.MVELExpressionLanguage:247 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/InvalidExpressionException.html) 2. Failed to route event via endpoint: null. Message payload is of type: HashMap (org.mule.api.routing.RoutingException) org.mule.routing.outbound.AbstractOutboundRouter:187 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/routing/RoutingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.api.expression.InvalidExpressionException: [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234] at org.mule.el.mvel.MVELExpressionLanguage.validate(MVELExpressionLanguage.java:247) at org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:198) at org.mule.el.mvel.MVELExpressionLanguage.evaluate(MVELExpressionLanguage.java:156) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** {noformat}

    MuleSoft JIRA | 5 years ago | Emiliano Lesende
    org.mule.api.expression.InvalidExpressionException: [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234]
  2. 0

    The following expression: {noformat} <expression-component> p['Status'] = 'Defect/ER Submitted' p['Defect_ER_Number__c'] = v['jiraIssue'].key p['Defect_ER_Link__c'] = 'http://www.mulesoft.org/jira/browse/SUMMIT/' + payload['Defect_ER_Number__c'] </expression-component> {noformat} throws: {noformat} ERROR 2012-04-25 17:13:23,114 [[summit-demo-1.0-SNAPSHOT].streamCases.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Failed to route event via endpoint: null. Message payload is of type: HashMap Code : MULE_ERROR-39999 -------------------------------------------------------------------------------- Exception stack is: 1. [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234] (org.mule.api.expression.InvalidExpressionException) org.mule.el.mvel.MVELExpressionLanguage:247 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/InvalidExpressionException.html) 2. Failed to route event via endpoint: null. Message payload is of type: HashMap (org.mule.api.routing.RoutingException) org.mule.routing.outbound.AbstractOutboundRouter:187 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/routing/RoutingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.api.expression.InvalidExpressionException: [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234] at org.mule.el.mvel.MVELExpressionLanguage.validate(MVELExpressionLanguage.java:247) at org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:198) at org.mule.el.mvel.MVELExpressionLanguage.evaluate(MVELExpressionLanguage.java:156) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** {noformat}

    MuleSoft JIRA | 5 years ago | Emiliano Lesende
    org.mule.api.expression.InvalidExpressionException: [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234]
  3. 0

    Exception while setting invocation parameter value

    GitHub | 3 years ago | lorochka
    org.mule.api.expression.InvalidExpressionException: [Error: unexpected end of statement] [Near : {... dmin@127.0.0.1:5672/orchestration-integration,2)) ....}] ^ [Line: 1, Column: 101]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mixing expressions in a Catch Exception Strategy for Mule 3.3

    Stack Overflow | 4 years ago | Nicholas
    org.mule.api.MessagingException: [Error: was expecting type: java.lang.Boolean; but found type: java.util.Map] [Near : {... eader:INBOUND:http.status=404 ....}] ^ [Line: 1, Column: 110] (org.mule.api.expression.InvalidExpressionException). Message payload is of type: ReleasingInputStream

    Root Cause Analysis

    1. org.mule.api.expression.InvalidExpressionException

      [Error: unknown class or illegal statement: org.mvel2.ParserContext@2c351b05] [Near : {... payload['Defect_ER_Number__c'] ....}] ^ [Line: 1, Column: 234]

      at org.mule.el.mvel.MVELExpressionLanguage.validate()
    2. Mule Core
      MVELExpressionLanguage.evaluate
      1. org.mule.el.mvel.MVELExpressionLanguage.validate(MVELExpressionLanguage.java:247)
      2. org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:198)
      3. org.mule.el.mvel.MVELExpressionLanguage.evaluate(MVELExpressionLanguage.java:156)
      3 frames