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

xnatResourcecatalog.getParent() always returns null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0, 1.8.0.1
    • Fix Version/s: 1.8.1
    • Component/s: Container Services
    • Labels:
      None
    • Rank:
      0|ii1xbz:

      Description

      Container Service  loads information about a Resouce parent scan using:
        

      69  this.parentUri = UriParserUtils.getArchiveUri(xnatResourcecatalog.getParent());

      xnatResourcecatalog.getParent() always returns a null, causing a NPE when instantiating a Resource object with this constructor.

      At the moment, this constructor is used exclusively by the Event Service command action provider when launching a resource-level command. See the convert-mask-command for a previously working example.

      See: https://groups.google.com/g/xnat_discussion/c/QvniptJrK84/m/1cJZOckLBAAJ

       

        Attachments

          Activity

            People

            Assignee:
            kelseym@wustl.edu Matt Kelsey
            Reporter:
            kelseym@wustl.edu Matt Kelsey
            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
                4h