No node context available error

#1

Hi Team,

Recently I am seeing this error multiple times while my node is executing. I think I started seeing this from 3.6.0 onwards. Any idea what is happening?

ERROR GlideLigandDockingNodeModel ASSERT No node context available, please check call hierarchy and fix it
java.lang.AssertionError: No node context available, please check call hierarchy and fix it
at org.knime.core.node.NodeLogger.assertLog(NodeLogger.java:842)
at org.knime.core.node.NodeModel.notifyViews(NodeModel.java:859)
at com.schrodinger.knime.util.SchroNodeModel.checkAndUpdateViews(SchroNodeModel.java:669)
at com.schrodinger.knime.util.SchroNodeModel.waitForExecThreadAndUpdateViews(SchroNodeModel.java:690)
at com.schrodinger.knime.util.SchroNodeModel$1.run(SchroNodeModel.java:194)

0 Likes

#2

Do we have an update for this?

0 Likes

#3

That’s a KNIME API / developer question.

I guess you are checking the status in a separate thread. Have a look at ThreadUtils – it provides a bunch of methods to wrap a runnable/callable/thread so that it’s annotated with the node that is executing it. This is needed for logging.

0 Likes