Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-2903

com.cenqua.crucible.model.FileRevisionException when adding revisions to a review using a filesystem repo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • None
    • 2.1.2
    • None
    • None

    Description

      Its possible to get the following error when adding a file to a review from the filesystem repo.

      Caused by: com.cenqua.crucible.model.FileRevisionException: java.io.IOException: Revision 2009-12-23T15:18:32.000+1100 of file myfile.txt is no longer available.
              at com.atlassian.fisheye.scm.SCMSource.copyFile(SCMSource.java:281)
              at com.atlassian.fisheye.scm.SCMSource.getFileContents(SCMSource.java:265)
              at com.cenqua.crucible.revision.managers.DefaultContentManager.getContents(DefaultContentManager.java:583)
              at com.cenqua.fisheye.diff.DiffHelper.getDiffExp(DiffHelper.java:82)
              at com.cenqua.crucible.revision.source.Source.getDiffPrinter(Source.java:207)
              at com.cenqua.crucible.view.FRXDO.getDiffPrinter(FRXDO.java:1139)
      

      Steps to reproduce:

      1. Create a filesystem repo
      2. Add a file myfile.txt to the repo
      3. Create a review and add myfile.txt from the repo
      4. Edit myfile.txt
      5. Edit the review and reload the files tab of the repo
      6. Select the newest revision but before clicking "Done" edit the file again
      7. Click Done and an exception will be thrown when the review reloads

      The side affect of this is that viewing the file in crucible, it will appear to spin indefinitely with a "Loading diff..." message.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.myers Andrew Myers [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: