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
public void startConverter() throws IOException {
HL7ToFHIRConverter converter = new HL7ToFHIRConverter();
String fhirMessage = converter.convert(hl7Message);
System.out.println(fhirMessage);
}
public static void main(String[] args) throws Exception {
App app = new App();
app.startConverter();
}
fail to run due to the following stack trace
Exception in thread "main" java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:113)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2440)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:1084)
at io.github.linuxforhealth.hl7.resource.ResourceReader.loadClassPathResource(ResourceReader.java:66)
at io.github.linuxforhealth.hl7.resource.ResourceReader.getResource(ResourceReader.java:84)
at io.github.linuxforhealth.hl7.resource.ResourceReader.getResourceInHl7Folder(ResourceReader.java:164)
at io.github.linuxforhealth.hl7.resource.ResourceReader.getMessageModel(ResourceReader.java:111)
at io.github.linuxforhealth.hl7.resource.ResourceReader.getMessageTemplates(ResourceReader.java:99)
at io.github.linuxforhealth.hl7.HL7ToFHIRConverter.<init>(HL7ToFHIRConverter.java:49)
at io.github.linuxforhealth.converter.App.startConverter(App.java:19)
at io.github.linuxforhealth.converter.App.main(App.java:26)
The text was updated successfully, but these errors were encountered:
Related to #38 - The following code blocks
fail to run due to the following stack trace
The text was updated successfully, but these errors were encountered: