Blank files in Crucible code review even though revision in Fisheye shows code

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Blank files in code review even though revision in Fisheye shows code.

Cause

There was a bug for Fisheye/Crucible that was fixed in version 2.7.9. The bug itself was fixed but bad patch files weren't cleaned up as part of the bug fix. For reference:

CRUC-6013 - If during review creation the content of a file revision can't be uploaded (via FishEye), that file is regarded as having no content

Resolution

If currently running a version prior to 2.7.9 proceed by upgrading to the latest version. Otherwise, remove current diff index files to trigger Crucible to re-fetch the diff information the next time the review is accessed.

  1. Go to FISHEYE_INST/var/data/uploads. Note the nested directory/file structure, e.g. 00/00/1.dat.
  2. Backup the directory.
  3. Delete all zero length files from the uploads directory. For example, if using Unix, this can be done with the following command:

    find . -type f -size 0 | xargs rm


 

 


Last modified on Jan 30, 2025

Was this helpful?

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