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 org.projecthusky.common.enums.DocumentDescriptor there is an FHIR_JSON enum defined. But after adding such a document to the XDM, on creation org.projecthusky.common.enums.DocumentDescriptor#getDocumentDescriptorForMimeType is called. In that method the FHIR_JSON is not returned for its mimetype and UNKNOWN is returned.
That leads to the following exception.
java.lang.NullPointerException: Cannot invoke "String.toUpperCase()" because "fileNameExtension" is null
at org.projecthusky.communication.utils.XdsUtil.createXdmDocName(XdsUtil.java:75)
at org.projecthusky.communication.xd.xdm.IndexHtm.createContents(IndexHtm.java:158)
at org.projecthusky.communication.xd.xdm.IndexHtm.(IndexHtm.java:124)
at org.projecthusky.communication.xd.xdm.IndexHtm.(IndexHtm.java:105)
at org.projecthusky.communication.ConvenienceCommunication.createXdmContents(ConvenienceCommunication.java:448)
FHIR_JSON should be added to the org.projecthusky.common.enums.DocumentDescriptor#getDocumentDescriptorForMimeType method.
The text was updated successfully, but these errors were encountered:
In
org.projecthusky.common.enums.DocumentDescriptor
there is an FHIR_JSON enum defined. But after adding such a document to the XDM, on creationorg.projecthusky.common.enums.DocumentDescriptor#getDocumentDescriptorForMimeType
is called. In that method the FHIR_JSON is not returned for its mimetype and UNKNOWN is returned.That leads to the following exception.
FHIR_JSON should be added to the
org.projecthusky.common.enums.DocumentDescriptor#getDocumentDescriptorForMimeType
method.The text was updated successfully, but these errors were encountered: