-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working