java.lang.ClassCastException: java.lang.Object cannot be cast to ru.runa.wfe.var.file.IFileVariable

runawfe | vromav | 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

    java.lang.Object cannot be cast to ru.runa.wfe.var.file.IFileVariable

    at ru.runa.wf.web.ftl.method.ViewUtil.getComponentInput()
  2. ru.runa.wf
    InputVariableTag.executeTag
    1. ru.runa.wf.web.ftl.method.ViewUtil.getComponentInput(ViewUtil.java:308)[classes:]
    2. ru.runa.wf.web.ftl.method.ViewUtil.getComponentInput(ViewUtil.java:439)[classes:]
    3. ru.runa.wf.web.ftl.method.InputVariableTag.executeTag(InputVariableTag.java:13)[classes:]
    3 frames
  3. ru.runa.wfe
    FreemarkerTag.exec
    1. ru.runa.wfe.commons.ftl.FreemarkerTag.exec(FreemarkerTag.java:60)[wfe-core-4.3.0-SNAPSHOT.jar:4.3.0-SNAPSHOT-${svn.revision}]
    1 frame
  4. FreeMarker
    DollarVariable.accept
    1. freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)[freemarker.patched-2.3.11.jar:2.3.11]
    2. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)[freemarker.patched-2.3.11.jar:2.3.11]
    3. freemarker.core.Expression.getStringValue(Expression.java:93)[freemarker.patched-2.3.11.jar:2.3.11]
    4. freemarker.core.DollarVariable.accept(DollarVariable.java:76)[freemarker.patched-2.3.11.jar:2.3.11]
    4 frames