The command works fine for most sessions, but fails for two specific sessions. I have checked the logs from `/opt/xnat/logs/xnat/containers-services-commandresolution.log` and that is what I get:
INFO org.nrg.containers.services.impl.CommandResolutionServiceImpl - Attempting to initialize a Session using value as ID string.
INFO org.nrg.containers.services.impl.CommandResolutionServiceImpl - Done resolving input "session". Resolved value: "null".
INFO org.nrg.containers.services.impl.CommandResolutionServiceImpl - Resolving input "session-id".
ERROR org.nrg.containers.services.impl.CommandResolutionServiceImpl - Cannot derive input "session-id". Parent input's JSON representation is blank.
INFO org.nrg.containers.services.impl.CommandResolutionServiceImpl - Done resolving input "session-id". Values: [].
The datatype of the failing sessions is the same as the others (xnat:mrSessionData), and as far as I can tell, nothing has changed in the session configuration or metadata.
In fact, I was able to run containers on this session before. Do you have any insights or suggestions about what might be going on?
Here’s a snippet of how the inputs are defined in the command JSON:
"xnat": [
{
"name": "pipeline",
"label": null,
"description": "
pipeline ",
"contexts": [
"xnat:imageSessionData"
],
"external-inputs": [
{
"name": "session",
"description": "Input session",
"type": "Session",
"matcher": null,
"default-value": null,
"required": true,
"replacement-key": null,
"sensitive": null,
"provides-value-for-command-input": null,
"provides-files-for-command-mount": null,
"via-setup-command": null,
"user-settable": null,
"load-children": true
}
],
"derived-inputs": [
{
"name": "session-id",
"description": null,
"type": "string",
"matcher": null,
"default-value": null,
"required": true,
"replacement-key": null,
"sensitive": null,
"provides-value-for-command-input": "session-id",
"provides-files-for-command-mount": null,
"user-settable": false,
"load-children": true,
"derived-from-wrapper-input": "session",
"derived-from-xnat-object-property": "id",
"via-setup-command": null
}
],
Ana.