Sidebar
0 votes
774 views
by mike-r-7535 (13.8k points)

I am attempting a PnR in connection with the Transition of Care workflow.  However, the response from the HISP includes a RegistryErrorList with a NullPointerException:

<ns3:RegistryResponse xmlns="urn:ihe:iti:xds-b:2007" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"><ns3:RegistryErrorList highestSeverity="java.lang.NullPointerException"><ns3:RegistryError codeContext="java.lang.NullPointerException" errorCode="java.lang.NullPointerException" location="XDR.java" severity="Error">java.lang.NullPointerException</ns3:RegistryError></ns3:RegistryErrorList></ns3:RegistryResponse> 

What causes this?

1 Answer

0 votes
This can be caused by not attaching the actual document that is referenced in the SOAP envelope.  As the HISP attempts to parse the request and retrieve the referenced document, there is no attachment, and therefore it fails with a NullPointerException.
by mike-r-7535 (13.8k points)
...