ClassCastException when using if switch inside streaming wrapped meta-node

I’m seeing ClassCastException errors when I use an if switch (I’ve tried various different flavours) inside a streaming wrapped meta-node.
The error I get is:

(ClassCastException): org.knime.core.node.port.inactive.InactiveBranchPortObjectSpec cannot be cast to

The node works fine when it isn’t streaming however.



Hi Richard,

Streaming currently does not support if switches (and case). This is a limitation we are aware of.

However the error message needs improvement, I will check with our developers to change this.

Thank you for reporting this!

Best wishes, Iris