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

ArrayIndexOutOfBoundsException Loading File in Crucible Review with No Fisheye Data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • N/A
    • 2.3.2
    • User interface
    • Crucible with Fisheye Integration

    Description

      When a user views a file in a Crucible review based on Fisheye data that's invalid, they're presented with an ArrayIndexOutOfBoundsException. This only happens if the underlying Fisheye data is invalid, for example if the file exceeds the 5 MB limit (FE-902).

      Steps to reproduce:

      1. Have Fisheye index a file that is too large (over 5MB), producing the following warning:

      02:47:24 WARN  - [SubversionTest] Not indexing contents of HEAD of testing/test-bigger.xml because its size (13M) is too large (limit is 5M)

      2. Create a Crucible review based on the file above, and start the review.
      3. Click on the file in the Crucible review, it will show "Loading diff..." for a short time and then will eventually present the ArrayIndexOutOfBoundsException.

      Ideally, the user should be presented with a message saying that the Fisheye data couldn't be loaded because of the file size limit. Attached is the full stack trace and a screen cap of the error.

      Attachments

        1. ArrayIndexOutOfBoundsException.log
          15 kB
        2. error.jpg
          error.jpg
          134 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhansen@atlassian.com Dylan Hansen [Atlassian]
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: