Hi -
That stack trace (the long spew of at ...
lines) is “normal” and expected (and discussed here Knime Analytics Platform V.3.6 error in Batch Mode ).
The interesting errors relevant to your return code 4 start after the INFO main BatchExecutor
line. It appears to be saying that the workflow that was saved and is now attempting to be executed from command line has one or more nodes that need a configuration specifying a source which had either no value or an invalid value specified. It also is complaining about a flow variable not being populated - perhaps this would be flowing out of one of the nodes complaining about its location not being defined.
When you say it is fine when executing in the desktop app, do you mean that you can:
- start the application
- open the same saved workflow you’re attempting to execute from command line
- click the execute all button in the tool bar
and it executes all the nodes without error?