java.io.IOException

tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • I'm not sure this is a bug or not. In my opinion, EXIT_CODE = 0 means success, if thers's any error eccured druing the execution, the EXIT_CODE shouldn't be 0. The log of example I as follow: Apr 06, 2016 1:02:09 PM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be /lineage Apr 06, 2016 1:02:10 PM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be /marketplace Processing stopped because of an error: Unable to load the job from XML file [/home/yezt/Downloads/test_not_exists_shelllllll.kjb] Unable to read file [file:///home/yezt/Downloads/test_not_exists_shelllllll.kjb] Could not read from "file:///home/yezt/Downloads/test_not_exists_shelllllll.kjb" because it is not a file. ERROR: Kitchen can't continue because the job couldn't be loaded. ---------------------------0 The log of example II & III as follow: 2016/04/06 12:58:29 - test_not_exists_shell - Start of job execution 2016/04/06 12:58:29 - test_not_exists_shell - exec(0, 0, START.0) 2016/04/06 12:58:29 - START - Starting job entry 2016/04/06 12:58:29 - test_not_exists_shell - Starting entry [Shell] 2016/04/06 12:58:29 - test_not_exists_shell - exec(1, 0, Shell.0) 2016/04/06 12:58:29 - Shell - Starting job entry 2016/04/06 12:58:29 - Shell - Found 0 previous result rows 2016/04/06 12:58:29 - Shell - Running on platform : Linux 2016/04/06 12:58:29 - Shell - Executing command : /home/yezt/aaa.sh 2016/04/06 12:58:29 - Shell - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Error running shell [/home/yezt/aaa.sh] : java.io.IOException: Cannot run program "/home/yezt/aaa.sh": error=2, No such file or directory 2016/04/06 12:58:29 - Shell - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : java.io.IOException: Cannot run program "/home/yezt/aaa.sh": error=2, No such file or directory 2016/04/06 12:58:29 - Shell - at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:578) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:418) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.execute(Job.java:730) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.execute(Job.java:873) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.execute(Job.java:546) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.run(Job.java:435) 2016/04/06 12:58:29 - Shell - Caused by: java.io.IOException: error=2, No such file or directory 2016/04/06 12:58:29 - Shell - at java.lang.UNIXProcess.forkAndExec(Native Method) 2016/04/06 12:58:29 - Shell - at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) 2016/04/06 12:58:29 - Shell - at java.lang.ProcessImpl.start(ProcessImpl.java:134) 2016/04/06 12:58:29 - Shell - at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) 2016/04/06 12:58:29 - Shell - ... 6 more 2016/04/06 12:58:29 - test_not_exists_shell - Finished job entry [Shell] (result=[false]) 2016/04/06 12:58:29 - test_not_exists_shell - Job execution finished 2016/04/06 12:58:29 - Kitchen - Finished! 2016/04/06 12:58:29 - Kitchen - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Finished with errors 2016/04/06 12:58:29 - Kitchen - Start=2016/04/06 12:58:18.970, Stop=2016/04/06 12:58:29.575 2016/04/06 12:58:29 - Kitchen - Processing ended after 10 seconds. ---------------------------0 I modify the spoon.sh in order to print EXIT_CODE. script as follow: # *************** # ** Run... ** # *************** OS=`uname -s | tr '[:upper:]' '[:lower:]'` if [ $OS = "linux" ]; then "$_PENTAHO_JAVA" $OPT -jar "$STARTUP" -lib $LIBPATH "${1+$@}" 2>&1 | grep -viE "Gtk-WARNING|GLib-GObject|GLib-CRITICAL|^$" else "$_PENTAHO_JAVA" $OPT -jar "$STARTUP" -lib $LIBPATH "${1+$@}" fi EXIT_CODE=$? echo "---------------------------"$EXIT_CODE # return to the catalog from which spoon.sh has been started cd $INITIALDIR exit $EXIT_CODE
    via by yezt,
  • I'm not sure this is a bug or not. In my opinion, EXIT_CODE = 0 means success, if thers's any error eccured druing the execution, the EXIT_CODE shouldn't be 0. The log of example I as follow: Apr 06, 2016 1:02:09 PM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be /lineage Apr 06, 2016 1:02:10 PM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be /marketplace Processing stopped because of an error: Unable to load the job from XML file [/home/yezt/Downloads/test_not_exists_shelllllll.kjb] Unable to read file [file:///home/yezt/Downloads/test_not_exists_shelllllll.kjb] Could not read from "file:///home/yezt/Downloads/test_not_exists_shelllllll.kjb" because it is not a file. ERROR: Kitchen can't continue because the job couldn't be loaded. ---------------------------0 The log of example II & III as follow: 2016/04/06 12:58:29 - test_not_exists_shell - Start of job execution 2016/04/06 12:58:29 - test_not_exists_shell - exec(0, 0, START.0) 2016/04/06 12:58:29 - START - Starting job entry 2016/04/06 12:58:29 - test_not_exists_shell - Starting entry [Shell] 2016/04/06 12:58:29 - test_not_exists_shell - exec(1, 0, Shell.0) 2016/04/06 12:58:29 - Shell - Starting job entry 2016/04/06 12:58:29 - Shell - Found 0 previous result rows 2016/04/06 12:58:29 - Shell - Running on platform : Linux 2016/04/06 12:58:29 - Shell - Executing command : /home/yezt/aaa.sh 2016/04/06 12:58:29 - Shell - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Error running shell [/home/yezt/aaa.sh] : java.io.IOException: Cannot run program "/home/yezt/aaa.sh": error=2, No such file or directory 2016/04/06 12:58:29 - Shell - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : java.io.IOException: Cannot run program "/home/yezt/aaa.sh": error=2, No such file or directory 2016/04/06 12:58:29 - Shell - at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:578) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:418) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.execute(Job.java:730) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.execute(Job.java:873) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.execute(Job.java:546) 2016/04/06 12:58:29 - Shell - at org.pentaho.di.job.Job.run(Job.java:435) 2016/04/06 12:58:29 - Shell - Caused by: java.io.IOException: error=2, No such file or directory 2016/04/06 12:58:29 - Shell - at java.lang.UNIXProcess.forkAndExec(Native Method) 2016/04/06 12:58:29 - Shell - at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) 2016/04/06 12:58:29 - Shell - at java.lang.ProcessImpl.start(ProcessImpl.java:134) 2016/04/06 12:58:29 - Shell - at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) 2016/04/06 12:58:29 - Shell - ... 6 more 2016/04/06 12:58:29 - test_not_exists_shell - Finished job entry [Shell] (result=[false]) 2016/04/06 12:58:29 - test_not_exists_shell - Job execution finished 2016/04/06 12:58:29 - Kitchen - Finished! 2016/04/06 12:58:29 - Kitchen - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Finished with errors 2016/04/06 12:58:29 - Kitchen - Start=2016/04/06 12:58:18.970, Stop=2016/04/06 12:58:29.575 2016/04/06 12:58:29 - Kitchen - Processing ended after 10 seconds. ---------------------------0 I modify the spoon.sh in order to print EXIT_CODE. script as follow: # *************** # ** Run... ** # *************** OS=`uname -s | tr '[:upper:]' '[:lower:]'` if [ $OS = "linux" ]; then "$_PENTAHO_JAVA" $OPT -jar "$STARTUP" -lib $LIBPATH "${1+$@}" 2>&1 | grep -viE "Gtk-WARNING|GLib-GObject|GLib-CRITICAL|^$" else "$_PENTAHO_JAVA" $OPT -jar "$STARTUP" -lib $LIBPATH "${1+$@}" fi EXIT_CODE=$? echo "---------------------------"$EXIT_CODE # return to the catalog from which spoon.sh has been started cd $INITIALDIR exit $EXIT_CODE
    via by yezt,
  • build hangs
    via GitHub by intracer
    ,
    • java.io.IOException: Cannot run program "/home/yezt/aaa.sh": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:578) at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:418) at org.pentaho.di.job.Job.execute(Job.java:730) at org.pentaho.di.job.Job.execute(Job.java:873) at org.pentaho.di.job.Job.execute(Job.java:546) at org.pentaho.di.job.Job.run(Job.java:435) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 6 more

    Users with the same issue

    rp
    1 times, last one,
    Unknown visitor1 times, last one,
    rexgreenza
    8 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    150 more bugmates