Batch Mode corrupts

Hi all,

  I've been trying to do batch mode calls to my worksflows and they doesn't work with the 2.4.1 Knime version (but do with 2.3.2).

  The stack error produced is: The process cannot access the file because another process has locked a portion of the file
    at Method)
    at Source)
    at org.knime.core.util.FileUtil.addZipEntry(
    at org.knime.core.util.FileUtil.addOneDir(
    at org.knime.core.util.FileUtil.zipDir(
    at org.knime.core.util.FileUtil.zipDir(
    at org.knime.core.util.FileUtil.zipDir(
    at org.knime.core.util.FileUtil.zipDir(
    at org.knime.core.node.workflow.BatchExecutor.mainRun(
    at org.knime.product.headless.KNIMEBatchApplication.start(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(

  Then the exported workflow becomes corrupt (size 1kb).

  So, the error is produced when Knime try to read the worflow file and all that I have found about this refers to an implementation error owing to have opened a file twice.

  The worst thing is that my Knime 2.4.1 installation also becomes corrupt.

  Can you help me to resolve the problem?


      Andreu Raya

Dear Andreu,

I had similar problems. It's fixed in 2.4.2. You can start the knime installation by knime -clean. That should do the trick.