mergeReleaseResourcesjava.io.IOException: Cannot run program "<myhome>/Android/Sdk/build-tools/23.0.2/aapt": error=2, No such file or directory

Google Groups | David Karr | 4 months ago
  1. 0

    Build of Studio app from command line fails with weird exceptions and then hangs forever

    Google Groups | 4 months ago | David Karr
    mergeReleaseResourcesjava.io.IOException: Cannot run program "<myhome>/Android/Sdk/build-tools/23.0.2/aapt": error=2, No such file or directory
  2. 0

    Intellij Error : Internal Error Cannot Run Program in Directory Java Play Angular

    Stack Overflow | 1 year ago | Seroney
    java.io.IOException: Cannot run program "/usr/lib/jvm/java-8-oracle/bin/java" (in directory "/media/seroney/Stuff/Projects/Java/Play+FrameWork/Angularjs/blogapp/server"): error=2, No such file or directory
  3. 0

    Ideal Soultions # The option should be removed when using perforce. # The option should look to the perforce checkout dir (as it did pre-multiple repos) However, in the mean time it would be good if the build failed elegently. {code} 2011-12-08 14:45:57,993 INFO [2-BAM::qwerty::Agent:pool-8-thread-1] [TaskResultBuilder] Process exception: com.atlassian.utils.process.ProcessException: java.io.IOException: Cannot run program "/bin/sh" (in directory "/Users/brydie/dev/src/bamboo-hg/bamboo-homes/8085/xml-data/build-dir/113311745/REPO-P4MULTI-JOB1"): error=2, No such file or directory at com.atlassian.utils.process.ExternalProcess.start(ExternalProcess.java:286) at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:408) at com.atlassian.bamboo.process.ProcessServiceImpl.executeProcess(ProcessServiceImpl.java:176) at com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask.execute(AbstractShellBuildTask.java:62) at com.atlassian.bamboo.plugins.script.task.ScriptBuildTask.execute(ScriptBuildTask.java:53) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:180) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:88) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:84) at sun.reflect.GeneratedMethodAccessor319.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy484.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.IOException: Cannot run program "/bin/sh" (in directory "/Users/brydie/dev/src/bamboo-hg/bamboo-homes/8085/xml-data/build-dir/113311745/REPO-P4MULTI-JOB1"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at com.atlassian.utils.process.ExternalProcess.createProcess(ExternalProcess.java:245) at com.atlassian.utils.process.ExternalProcess.start(ExternalProcess.java:283) ... 22 more 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:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 24 more {code}

    Atlassian JIRA | 5 years ago | Brydie McCoy [Atlassian]
    com.atlassian.utils.process.ProcessException: java.io.IOException: Cannot run program "/bin/sh" (in directory "/Users/brydie/dev/src/bamboo-hg/bamboo-homes/8085/xml-data/build-dir/113311745/REPO-P4MULTI-JOB1"): error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hadoop Streaming Python no such file or directory error=2

    Stack Overflow | 2 months ago | Akki
    java.lang.RuntimeException: Error in configuring object
  6. 0

    Kann keine Filme aus der GUI steamen

    GitHub | 2 years ago | daedadu
    java.io.IOException: Cannot run program "http://nrodl.zdf.de/none/3sat/15/01/150127_amazonien1_ard_2256k_p14v11.mp4": error=2, No suc$

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      error=2, No such file or directory

      at java.lang.UNIXProcess.forkAndExec()
    2. Java RT
      ProcessBuilder.start
      1. java.lang.UNIXProcess.forkAndExec(Native Method)
      2. java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
      3. java.lang.ProcessImpl.start(ProcessImpl.java:134)
      4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
      4 frames
    3. com.android.tools.build.builder
      WorkQueue.run
      1. com.android.builder.png.AaptProcess$Builder.start(AaptProcess.java:154)
      2. com.android.builder.png.QueuedCruncher$1.creation(QueuedCruncher.java:105)
      3. com.android.builder.tasks.WorkQueue.run(WorkQueue.java:204)
      3 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame