Schrodinger extensions throwing error after installing KNIME Report Designer

Schrodinger’s “Chemistry External Tool” node is throwing error (as below) after installing ‘KNIME Report Designer’ feature. not sure why after installing this feature, KNIME could not find the class definition for FlowVariable. A few customers has reported this issue to us. So it would be nice if we can get some help.

ERROR Chemistry External Tool 0:2 Execute failed: org/knime/core/node/workflow/FlowVariable
DEBUG Chemistry External Tool 0:2 Execute failed: org/knime/core/node/workflow/FlowVariable
java.lang.NoClassDefFoundError: org/knime/core/node/workflow/FlowVariable
at com.schrodinger.knime.node.chemexttool.ChemExternalToolNodeModel.execute(ChemExternalToolNodeModel.java:670)
at org.knime.core.node.NodeModel.execute(NodeModel.java:733)
at org.knime.core.node.NodeModel.executeModel(NodeModel.java:567)
at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1177)
at org.knime.core.node.Node.execute(Node.java:964)
at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:561)
at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:179)
at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:110)
at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:328)
at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:204)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)

Actually, the import and other statements (as below) regarding FlowVariable succeeds:
import org.knime.core.node.workflow.FlowVariable;
:::
final Map<String, FlowVariable> flowVariableMap = getAvailableFlowVariables();

Only the below statement fails:
for (FlowVariable fv : flowVariableMap.values())
{
}

Hi Ravikiran,

This definitely looks odd. Are you using any To Report nodes in the workflow at all?

Medzi

Dear Medzi,

No, the problem happens just installing the nodes. Could someone in your team please give it a try. I’m going to send you a zip of our extensions offline.

JC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.