Error Initialising Writing Diff Text to File When Adding Git Repository

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The following appears in the atlassian-fisheye-YYYY-MM-DD.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2014-06-26 12:49:29,480 ERROR [ExtProcess IO Pump RepoName] fisheye DiffTextCache-startFileRevision - Error initialising writing diff text to file java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1705) at java.io.File.createTempFile0(File.java:1726) at java.io.File.createTempFile(File.java:1803) at com.cenqua.fisheye.rep.DiffTextCache.getNewTempFile(DiffTextCache.java:238) at com.cenqua.fisheye.rep.DiffTextCache.startFileRevision(DiffTextCache.java:161) at com.cenqua.fisheye.rep.DiffTextCache.startFileRevision(DiffTextCache.java:123) at com.atlassian.fisheye.git.client.GitDiffParser.newDiffInfo(GitDiffParser.java:185) at com.atlassian.fisheye.git.client.GitDiffParser.processDiffPattern(GitDiffParser.java:170) at com.atlassian.fisheye.git.client.GitDiffParser.processLine(GitDiffParser.java:91) at com.atlassian.utils.process.LineOutputHandler.process(LineOutputHandler.java:49) at com.atlassian.fisheye.dvcs.client.DvcsLineOutputHandler.process(DvcsLineOutputHandler.java:66) at com.atlassian.utils.process.PluggableProcessHandler.processOutput(PluggableProcessHandler.java:34) at com.atlassian.utils.process.ExternalProcessImpl$4.doTask(ExternalProcessImpl.java:270) at com.atlassian.utils.process.LatchedRunnable.run(LatchedRunnable.java:25) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

Cause

This is caused by Fisheye being unable to create a temporary file to store the results of a diff operation.

Resolution

  • In Administration >> Repository Settings >> Repositories select the repository that has the error

  • Click Maintenance and under Repository Source Index click Start next to "Re-clone and Re-index"

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.