com.cenqua.crucible.model.FileRevisionException: java.io.IOException: Revision 2009-12-23T15:18:32.000+1100 of file myfile.txt is no longer available.

Atlassian JIRA | Andrew Myers [Atlassian] | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Its possible to get the following error when adding a file to a review from the filesystem repo. {noformat}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) {noformat} Steps to reproduce: # Create a filesystem repo # Add a file myfile.txt to the repo # Create a review and add myfile.txt from the repo # Edit myfile.txt # Edit the review and reload the files tab of the repo # Select the newest revision but before clicking "Done" *edit the file again* # Click Done and an exception will be thrown when the review reloads !http://img.skitch.com/20091223-gkrem28w1tekuys6mq9ff9nfdd.jpg! The side affect of this is that viewing the file in crucible, it will appear to spin indefinitely with a "Loading diff..." message.

    Atlassian JIRA | 7 years ago | Andrew Myers [Atlassian]
    com.cenqua.crucible.model.FileRevisionException: java.io.IOException: Revision 2009-12-23T15:18:32.000+1100 of file myfile.txt is no longer available.

    Root Cause Analysis

    1. 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()
    2. com.atlassian.fisheye
      SCMSource.getFileContents
      1. com.atlassian.fisheye.scm.SCMSource.copyFile(SCMSource.java:281)
      2. com.atlassian.fisheye.scm.SCMSource.getFileContents(SCMSource.java:265)
      2 frames
    3. com.cenqua.crucible
      DefaultContentManager.getContents
      1. com.cenqua.crucible.revision.managers.DefaultContentManager.getContents(DefaultContentManager.java:583)
      1 frame
    4. com.cenqua.fisheye
      DiffHelper.getDiffExp
      1. com.cenqua.fisheye.diff.DiffHelper.getDiffExp(DiffHelper.java:82)
      1 frame
    5. com.cenqua.crucible
      FRXDO.getDiffPrinter
      1. com.cenqua.crucible.revision.source.Source.getDiffPrinter(Source.java:207)
      2. com.cenqua.crucible.view.FRXDO.getDiffPrinter(FRXDO.java:1139)
      2 frames