Error Initialising Writing Diff Text to File When Adding Git Repository

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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

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"

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.