java.lang.ClassCastException: org.mule.mvel2.ast.PrototypalFunctionInstance cannot be cast to org.mule.mvel2.ast.Function

MuleSoft JIRA | Rodrigo Merino | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ClassCastException

    org.mule.mvel2.ast.PrototypalFunctionInstance cannot be cast to org.mule.mvel2.ast.Function

    at org.mule.mvel2.optimizers.impl.refl.nodes.DynamicFunctionAccessor.getValue()
  2. mvel
    ASTNode.getReducedValueAccelerated
    1. org.mule.mvel2.optimizers.impl.refl.nodes.DynamicFunctionAccessor.getValue(DynamicFunctionAccessor.java:37)
    2. org.mule.mvel2.optimizers.impl.refl.nodes.VariableAccessor.getValue(VariableAccessor.java:37)
    3. org.mule.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:108)
    3 frames