I have a workflow (minireport_test) that runs fine at the desktop. It calls a local workflow, which produces a report (_generate_aMiniReport, taken from Examples site). It uses Call Local Workflow and Binary Object to File nodes.
When ran from Windows command line…
"C:\Program Files\KNIME\knime.exe" -reset -consoleLog -nosplash -noexit -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="d:/Users/myuser/knime-workspace/minireport_test"
it fails and produces this output…
---------------------------
Knime
---------------------------
Java was started but returned exit code=2
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx4052m
-Dorg.eclipse.swt.browser.IEVersion=10001
-Dsun.awt.noerasebackground=true
-Dequinox.statechange.timeout=30000
-Djava.class.path=C:\Program Files\KNIME\plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
-os win32
-ws win32
-arch x86_64
-launcher C:\Program Files\KNIME\knime.exe
-name Knime
–launcher.library C:\Program Files\KNIME\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444\eclipse_1617.dll
-startup C:\Program Files\KNIME\plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
–launcher.overrideVmargs
-reset
-consoleLog
-noexit
-application org.knime.product.KNIME_BATCH_APPLICATION
-workflowDir=d:/Users/b911712/knime-workspace/minireport_test}
-vm C:\Program Files\KNIME\plugins/org.knime.binary.jre.win32.x86_64_1.8.0.152-01/jre/bin\server\jvm.dll
-vmargs
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx4052m
-Dorg.eclipse.swt.browser.IEVersion=10001
-Dsun.awt.noerasebackground=true
-Dequinox.statechange.timeout=30000
-Djava.class.path=C:\Program Files\KNIME\plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
This is Windows command line output:
CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
INFO main BatchExecutor ===== Executing workflow d:\Users\myuser\knime
-workspace\minireport_test =====
!SESSION 2018-06-01 11:07:12.441 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_152
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_UY
Framework arguments: -reset -application org.knime.product.KNIME_BATCH_APPLICAT
ION -workflowDir=d:/Users/myuser/knime-workspace/minireport_test
Command-line arguments: -os win32 -ws win32 -arch x86_64 -reset -consoleLog -ap
plication org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=d:/Users/myuser/knime-workspace/minireport_test
!ENTRY org.eclipse.core.resources 2 10035 2018-06-01 11:07:18.788
!MESSAGE The workspace exited with unsaved changes in the previous session; refr
eshing workspace to recover changes.
ERROR KNIME-Worker-1 Node Execute failed: (“NullPointerException”): null
INFO main BatchExecutor Workflow execution done Finished in 1 sec (1833
ms)
INFO main BatchExecutor ========= Workflow did not execute sucessfully
============
Any help will be greatly appreciated.
Regards
call report test.zip (18.3 KB)