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

MuleSoft JIRA | Rodrigo Merino | 2 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.

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