Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Provide a working directory instead of pointing it to a file or an empty directory in process builder.

  2. ,
    Expert tip

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

Solutions on the web

via Stack Overflow by Sergio
, 1 year ago
Cannot run program "buildr run" (in directory "/home/wildfly/656a5d23-6457-4ee8-b2d8-d5b679c0a654"): error=20, Not a directory
via GitHub by DaniloAndrade
, 1 year ago
Cannot run program "git" (in directory "/opt/repositories/saog/saog-cacti-relatorio.git"): error=2, No such file or directory
via Atlassian JIRA by James Dumay [Atlassian], 2 years ago
Cannot run program "hg" (in directory "/Users/jdumay/code/atlassian/bamboo/trunk/bamboo-homes/funk-9087/xml-data/build-dir"): error=2, No such file or directory
via Atlassian JIRA by James Dumay [Atlassian], 1 year ago
Cannot run program "hg" (in directory "/Users/jdumay/code/atlassian/bamboo/trunk/bamboo-homes/funk-9087/xml-data/build-dir"): error=2, No such file or directory
via Google Groups by TY, 1 year ago
Cannot run program "bash" (in directory "C:\Users\TY"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by Sudhakarababu Koppolu, 11 months ago
Cannot run program "bash" (in directory "C:\Users\koppolu"): CreateProcess error=2, The system cannot find the file specified
java.io.IOException: error=20, Not a directory	at java.lang.UNIXProcess.forkAndExec(Native Method)	at java.lang.UNIXProcess.(UNIXProcess.java:248)	at java.lang.ProcessImpl.start(ProcessImpl.java:134)	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)	at com.smorales.javalab.workspaceprocessor.control.Executor.execCommand(Executor.java:38)	at com.smorales.javalab.workspaceprocessor.boundary.buildtool.BuildTool.runClass(BuildTool.java:91)	at com.smorales.javalab.workspaceprocessor.boundary.buildtool.BuildTool.runCode(BuildTool.java:49)	at com.smorales.javalab.workspaceprocessor.boundary.WorkspaceProcessor.runCode(WorkspaceProcessor.java:62)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:70)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:80)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at com.smorales.javalab.workspaceprocessor.tracing.TimeLogger.logTime(TimeLogger.java:19)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)	at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)	at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)	at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)	at com.smorales.javalab.workspaceprocessor.boundary.WorkspaceProcessor$$$view47.runCode(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:436)	at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)	at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)	at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)	at com.smorales.javalab.workspaceprocessor.boundary.WorkspaceProcessor$Proxy$_$$_Weld$EnterpriseProxy$.runCode(Unknown Source)	at com.smorales.javalab.workspaceprocessor.boundary.rest.WorkspaceProcessorResource.runCode(WorkspaceProcessorResource.java:44)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)	at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)	at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)	at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)	at com.smorales.javalab.workspaceprocessor.boundary.rest.WorkspaceProcessorResource$$$view48.runCode(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)