You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an IDE, find and run ca.uhn.fhir.jpa.starter.ExampleServerR5IT.testWebsocketSubscription. It will fail, with the root cause being a NullPointerException.
Expected behavior
If the content is an actual null, it should not fail, and return Optional.empty().
The text was updated successfully, but these errors were encountered:
Description
A Subscription with content set to
null
will cause the getPayloadByContent method to throw a NullPointerException.To Reproduce
Check out the rel_7_1_tracking branch of HAPI FHIR JPA Server Starter (https://github.com/hapifhir/hapi-fhir-jpaserver-starter/tree/rel_7_1_tracking)
In an IDE, find and run
ca.uhn.fhir.jpa.starter.ExampleServerR5IT.testWebsocketSubscription
. It will fail, with the root cause being a NullPointerException.Expected behavior
If the content is an actual
null
, it should not fail, and returnOptional.empty()
.The text was updated successfully, but these errors were encountered: