Stream: IG creation
Topic: NPE with Publishing Content Failed: null
John Keyes (Mar 25 2022 at 12:59):
I have started getting a NullPointerException in my local build for the Patient Request for Corrections IG. Not certain whether this is related to the fact that I just updated to latest Publisher (had not updated in a few weeks). The CI build is fine. Any suggestions?
FHIR IG Publisher Version 1.1.113 (Git# 36472c045b0c). Built 2022-03-18T05:50:01.31Z (7 days old)
...
Connect to Terminology Server at http://tx.fhir.org (00:13.0799)
Load Package hl7.fhir.pubpack#0.0.9
Publishing Content Failed: null (00:14.0396)
(00:14.0398)
Use -? to get command line help (00:14.0400)
(00:14.0402)
Stack Dump (for debugging): (00:14.0404)
java.lang.NullPointerException
at java.io.FileOutputStream.write(FileOutputStream.java:313)
at org.hl7.fhir.utilities.TextFile.bytesToFile(TextFile.java:189)
at org.hl7.fhir.utilities.SimpleHTTPClient$HTTPResult.checkThrowException(SimpleHTTPClient.java:74)
at org.hl7.fhir.utilities.npm.PackageClient.fetchUrl(PackageClient.java:144)
at org.hl7.fhir.utilities.npm.PackageClient.fetchCached(PackageClient.java:67)
at org.hl7.fhir.utilities.npm.CachingPackageClient.fetchCached(CachingPackageClient.java:46)
at org.hl7.fhir.utilities.npm.PackageClient.fetch(PackageClient.java:55)
at org.hl7.fhir.utilities.npm.BasePackageCacheManager.loadFromPackageServer(BasePackageCacheManager.java:76)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadFromPackageServer(FilesystemPackageCacheManager.java:210)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadPackage(FilesystemPackageCacheManager.java:505)
at org.hl7.fhir.igtools.publisher.Publisher.loadPubPack(Publisher.java:3198)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:2624)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:2158)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:850)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:10010)
John Moehrke (Mar 25 2022 at 13:06):
@John Keyes must be your local cache. I just cloned and build with fresh publisher.. no problem
John Keyes (Mar 25 2022 at 13:15):
Thank you @John Moehrke , you're right. My "clean build" task neglected to remove input-cache.
Last updated: Apr 12 2022 at 19:14 UTC