hudson.util.IOException2: Failed to create a temporary file in /media/extra/christian/hudson/fingerprints/d2/7b

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

,

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 Paolo Giarrusso, 1 year ago
Failed to create a temporary file in /media/extra/christian/hudson/fingerprints/d2/7b
via Jenkins JIRA by Paolo Giarrusso, 1 year ago
Failed to create a temporary file in /media/extra/christian/hudson/fingerprints/d2/7b
via Google Groups by GlenM, 2 years ago
Failed to create a temporary file in /var/lib/jenkins
via Jenkins JIRA by btrim, 1 year ago
Failed to create a temporary file in C:\Users\btrimby\.hudson\users\https___www.google.com_accounts_o8_id?id=AItOawmhTaBgH-LlpQjxZFm7NzwqtlHEtiFcqI0
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1716)
at java.io.File.createTempFile(File.java:1804)
at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:65)
at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:54)
at hudson.XmlFile.write(XmlFile.java:170)
at hudson.model.Fingerprint.save(Fingerprint.java:841)
at hudson.model.Fingerprint.(Fingerprint.java:588)
at hudson.model.FingerprintMap.create(FingerprintMap.java:90)
at hudson.model.FingerprintMap.create(FingerprintMap.java:45)
at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:156)
at hudson.model.FingerprintMap.get(FingerprintMap.java:79)
at hudson.model.FingerprintMap.get(FingerprintMap.java:45)
at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:108)
at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:65)
at hudson.tasks.Fingerprinter$1Record.addRecord(Fingerprinter.java:211)
at hudson.tasks.Fingerprinter.record(Fingerprinter.java:255)
at hudson.tasks.Fingerprinter.perform(Fingerprinter.java:134)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645)
at hudson.model.Build$RunnerImpl.post2(Build.java:162)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614)
at hudson.model.Run.run(Run.java:1429)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:230)

Users with the same issue

Once, 3 weeks ago
Once, 1 month ago
Once, 1 month ago
4 times, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.