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

Zip session importer is breaking with 500 error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.7.3
    • 1.7.3
    • Importer, Prearchive
    • None
    • xnat-dev03

    • CNDA 1.7.3 Sprint 8
    • Rank:
      0|ii1c1r:
    • CNDA 1.7.3 Sprint 8

    Description

      Since the morning of June 10, the XNAT populate build on xnat-dev03 has been failing to upload sessions. The issue appears to be that the zip session importer is failing with a 500. For reference, both the site and project anon scripts are disabled when this is happening. The logs have:

      2017-06-12 10:58:36,926 [ajp-bio-8009-exec-12] ERROR org.nrg.xnat.restlet.services.Importer -
      org.nrg.action.ServerException
              at org.nrg.xnat.helpers.merge.MergeSessionsA.rollback(MergeSessionsA.java:268)
              at org.nrg.xnat.helpers.merge.MergeSessionsA.call(MergeSessionsA.java:183)
              at org.nrg.xnat.archive.PrearcSessionArchiver.call(PrearcSessionArchiver.java:592)
              at org.nrg.xnat.archive.FinishImageUpload.call(FinishImageUpload.java:81)
              at org.nrg.xnat.restlet.actions.SessionImporter$1.<init>(SessionImporter.java:268)
              at org.nrg.xnat.restlet.actions.SessionImporter.call(SessionImporter.java:268)
              at org.nrg.xnat.restlet.services.Importer.handlePost(Importer.java:252)
      ...
      Caused by: java.lang.NullPointerException
              at org.nrg.xft.utils.FileUtils.FindFirstMatch(FileUtils.java:568)
              at org.nrg.xft.utils.FileUtils.MoveDir(FileUtils.java:636)
              at org.nrg.xft.utils.FileUtils.MoveDir(FileUtils.java:631)
              at org.nrg.xft.utils.FileUtils.MoveDir(FileUtils.java:628)
              at org.nrg.xnat.helpers.merge.MergeSessionsA.rollback(MergeSessionsA.java:265)
              ... 114 more
      

      Attachments

        Activity

          People

            moore.c@wustl.edu Charlie Moore
            moore.c@wustl.edu Charlie Moore
            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 - 2 hours
                2h