org.mule.exception.CatchMessagingExceptionStrategy: ******************************************************************************** Message : Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : {id=2c92c0f83ca8f57a013cab68cd1975ed, accountNumber=A00000336, batch=Batch3, name=Test Test New, billToId=2c92c0f83ca8f57a013cab68cd6775f0, paymentTerm=Net 30} JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] (org.mvel2.PropertyAccessException) org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:690 (null) 2. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:217 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap (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: [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1]

MuleSoft JIRA | Adrian Hsieh | 3 years ago
  1. 0

    Given the payload, the comparison should actually return true, since the field is null. It shouldn't just throw exception. ERROR 2013-08-27 14:57:49,485 [[zuora-to-qbo-ng].zuora-to-qbo-ng-flow.stage1.02] org.mule.exception.CatchMessagingExceptionStrategy: ******************************************************************************** Message : Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : {id=2c92c0f83ca8f57a013cab68cd1975ed, accountNumber=A00000336, batch=Batch3, name=Test Test New, billToId=2c92c0f83ca8f57a013cab68cd6775f0, paymentTerm=Net 30} JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] (org.mvel2.PropertyAccessException) org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:690 (null) 2. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:217 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap (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: [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:690)

    MuleSoft JIRA | 3 years ago | Adrian Hsieh
    org.mule.exception.CatchMessagingExceptionStrategy: ******************************************************************************** Message : Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : {id=2c92c0f83ca8f57a013cab68cd1975ed, accountNumber=A00000336, batch=Batch3, name=Test Test New, billToId=2c92c0f83ca8f57a013cab68cd6775f0, paymentTerm=Net 30} JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] (org.mvel2.PropertyAccessException) org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:690 (null) 2. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:217 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap (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: [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1]
  2. 0

    Given the payload, the comparison should actually return true, since the field is null. It shouldn't just throw exception. ERROR 2013-08-27 14:57:49,485 [[zuora-to-qbo-ng].zuora-to-qbo-ng-flow.stage1.02] org.mule.exception.CatchMessagingExceptionStrategy: ******************************************************************************** Message : Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : {id=2c92c0f83ca8f57a013cab68cd1975ed, accountNumber=A00000336, batch=Batch3, name=Test Test New, billToId=2c92c0f83ca8f57a013cab68cd6775f0, paymentTerm=Net 30} JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] (org.mvel2.PropertyAccessException) org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:690 (null) 2. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:217 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap (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: [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:690)

    MuleSoft JIRA | 3 years ago | Adrian Hsieh
    org.mule.exception.CatchMessagingExceptionStrategy: ******************************************************************************** Message : Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : {id=2c92c0f83ca8f57a013cab68cd1975ed, accountNumber=A00000336, batch=Batch3, name=Test Test New, billToId=2c92c0f83ca8f57a013cab68cd6775f0, paymentTerm=Net 30} JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] (org.mvel2.PropertyAccessException) org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:690 (null) 2. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:217 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap (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: [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1]
  3. 0

    Why does a mule rollback exception propagate to the flow that called it?

    Stack Overflow | 2 years ago
    org.mule.exception.CatchMessagingExceptionStrategy: ******************************************************************************** Message : Execution of the expression "forceException" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: byte[] Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. [Error: unresolvable property or identifier: forceException] [Near : {... forceException ....}] ^ [Line: 1, Column: 1] (org.mule.mvel2.PropertyAccessException) org.mule.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:692 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/mvel2/PropertyAccessException.html) 2. Execution of the expression "forceException" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:202 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "forceException" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: byte[] (org.mule.api.MessagingException) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: [Error: unresolvable property or identifier: forceException] [Near : {... forceException ....}] ^ [Line: 1, Column: 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule ESB XPath function sometimes returns ArrayList instead of String for the same value

    Stack Overflow | 3 years ago | Nikita Petrov
    org.mule.exception.CatchMessagingExceptionStrategy: ******************************************************************************** Message : Execution of the expression "xpath('/root/entry/key[text()="mobile_phone"]/../value/text()').getText()" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. [Error: unable to resolve method: java.util.ArrayList.getText() [arglength=0]] [Near : {... xpath('/root/entry/key[text()= ....}] ^ [Line: 1, Column: 1] (org.mvel2.PropertyAccessException) org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:1078 (null) 2. Execution of the expression "xpath('/root/entry/key[text()="mobile_phone"]/../value/text()').getText()" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:218 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "xpath('/root/entry/key[text()="mobile_phone"]/../value/text()').getText()" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: String (org.mule.api.transformer.TransformerMessagingException) org.mule.transformer.AbstractTransformer:139 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerMessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: [Error: unable to resolve method: java.util.ArrayList.getText() [arglength=0]] [Near : {... xpath('/root/entry/key[text()= ....}] ^ [Line: 1, Column: 1]

    Root Cause Analysis

    1. org.mule.exception.CatchMessagingExceptionStrategy

      ******************************************************************************** Message : Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : {id=2c92c0f83ca8f57a013cab68cd1975ed, accountNumber=A00000336, batch=Batch3, name=Test Test New, billToId=2c92c0f83ca8f57a013cab68cd6775f0, paymentTerm=Net 30} JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1] (org.mvel2.PropertyAccessException) org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer:690 (null) 2. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException) org.mule.el.mvel.MVELExpressionLanguage:217 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/expression/ExpressionRuntimeException.html) 3. Execution of the expression "payload.QuickBooksCustomerId__c != null" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: HashMap (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: [Error: could not access: QuickBooksCustomerId__c; in class: java.util.HashMap] [Near : {... payload.QuickBooksCustomerId__ ....}] ^ [Line: 1, Column: 1]

      at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty()
    2. org.mvel2.optimizers
      ReflectiveAccessorOptimizer.getBeanProperty
      1. org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:690)
      1 frame