Uploaded image for project: 'XNAT'
  1. XNAT
  2. XNAT-6034

Deleted files in archive cause NPEs which in turn cause misleading errors

    XMLWordPrintable

    Details

    • Rank:
      0|ii1oce:

      Description

      This affected snipr and needs to be resolved.

      When a file is deleted in the archive but the entry remains in the catalog XML, the catalog utils try to get the file and assumes it succeeded. This causes an NPE that can get misinterpreted by code above it.

      This should check that the file for each entry exists. If so fine, if not log an error indicating that the catalog contains a misleading entry then proceed.

      The root cause of the deleted files is unknown and that just shouldn't happen, but XNAT needs to handle the case as it happens.

        Attachments

          Activity

            People

            Assignee:
            moore.c@wustl.edu Charlie Moore
            Reporter:
            jrherrick@wustl.edu Rick Herrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 30 minutes
                4h 30m