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. ,

    If the directory ../.foo/bar/ doesn't exist, you can't create a file there, so make sure you create the directory first.

    File f = new File("somedirname1/somedirname2/somefilename");
    if (!f.getParentFile().exists())
        f.getParentFile().mkdirs();
    

Solutions on the web

via Jenkins JIRA by Steven Christou, 1 year ago
Failed to create a temporary file in /space/tmp/160911/jobs/folder/jobs/wf/builds/4/workflow
via Jenkins JIRA by Steven Christou, 1 year ago
Failed to create a temporary file in /space/tmp/160911/jobs/folder/jobs/wf/builds/4/workflow
via Jenkins JIRA by Guillaume BELLETESTE, 1 year ago
Failed to create a temporary file in C:\Program Files\Jenkins\jobs\Generate - Vxworks - Build-and-promote
via Jenkins JIRA by Guillaume BELLETESTE, 1 year ago
Failed to create a temporary file in C:\Program Files\Jenkins\jobs\Generate - Vxworks - Build-and-promote
via Google Groups by Jai Bora, 6 months ago
Failed to create a temporary file in C:\Program Files (x86)\Jenkins\jobs\REST API New project
via Google Groups by jsat...@gmail.com (JIRA), 1 year ago
Failed to create a temporary file in /var/lib/jenkins/jobs/job1
java.io.IOException: Too many open files in system	at java.io.UnixFileSystem.createFileExclusively(Native Method)	at java.io.File.createTempFile(File.java:2024)	at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:66)	at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:55)	at hudson.XmlFile.write(XmlFile.java:175)	at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:110)	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:734)	at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:254)	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:241)	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:217)	at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:208)	at java.util.AbstractList.add(AbstractList.java:108)	at hudson.model.Actionable.addAction(Actionable.java:129)	at org.jenkinsci.plugins.workflow.support.DefaultStepContext.get(DefaultStepContext.java:85)	at org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:124)	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:132)	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:98)	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)	at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69)	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:106)	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79)	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:100)	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79)	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:71)	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:106)	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79)	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)	at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)	at com.cloudbees.groovy.cps.Next.step(Next.java:58)	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:145)	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:271)	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:71)	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:180)	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:178)	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	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)