Stream: IG creation
Topic: order-template: null
Jefferson (Oct 22 2018 at 13:55):
Anyone seen this error before?
process res: order-template (12.0493sec)
Failed to find referenced profile: [CanonicalType[http://nccn.org/fhir/StructureDefinition/regimenReferenceType]]
Publishing Content Failed: Exception loading http://nccn.org/fhir/StructureDefinition/order-template: null (12.0800sec)
(12.0800sec)
Use -? to get command line help (12.0801sec)
(12.0801sec)
Stack Dump (for debugging): (12.0801sec)
java.lang.Exception: Exception loading http://nccn.org/fhir/StructureDefinition/order-template: null
Lloyd McKenzie (Oct 22 2018 at 14:58):
That's building a custom IG? Can you post the full stack trace?
Jefferson (Oct 22 2018 at 15:02):
FHIR Implementation Guide Publisher (v3.6.0-9e4994a6, gen-code v3.6.0 / 2) @ Monday, October 22, 2018 11:00:25 AM
Detected Java version: 1.8.0_191 from C:\Program Files\Java\jre1.8.0_191 on amd64 (64bit). 1797MB available
[C:\Project\IGPublisher] -ig C:\Project\IGPublisher\Publish\igOLD.json -watch
Package Cache: C:\Users\mcdevitt\.fhir\packages
Load Configuration from C:\Project\IGPublisher\Publish\igOLD.json (00.0010sec)
Root directory: C:\Project\IGPublisher\Publish (00.0052sec)
Terminology Cache is at C:\Project\IGPublisher\Publish\txCache. 5 files in cache (00.0132sec)
Contacting Build Server... (00.0133sec)
... done (00.0833sec)
Load hl7.fhir.core-3.0.1 package from C:\Users\mcdevitt\.fhir\packages\hl7.fhir.core#3.0.1 (00.0854sec)
Load Terminology Cache from C:\Project\IGPublisher\Publish\txCache (10.0387sec)
Connect to Terminology Server at http://tx.fhir.org (10.0396sec)
-tx cache miss: Connect to http://tx.fhir.org//r3
Initialization complete (10.0928sec)
Load Content (10.0929sec)
create package file at C:\Project\IGPublisher\Publish\output\package.tgz
Processing Conformance Resources (12.0051sec)
process type: NamingSystem (12.0052sec)
process type: CodeSystem (12.0052sec)
process res: reference-type-code-list (12.0053sec)
process res: fever-neutropenia-risk (12.0081sec)
process res: emetic-risk-level (12.0087sec)
process res: action-type (12.0092sec)
process res: sections (12.0098sec)
process res: action-placeholder (12.0104sec)
process res: radiation-therapy-relation (12.0108sec)
process res: count-units (12.0116sec)
process res: schedule-constraint (12.0119sec)
process res: template-relationship (12.0123sec)
process res: indication-classes (12.0128sec)
process type: ValueSet (12.0136sec)
process res: reference-type-code-list (12.0137sec)
process res: fever-neutropenia-risk (12.0143sec)
process res: emetic-risk-level (12.0148sec)
process res: action-type (12.0152sec)
process res: sections (12.0157sec)
process res: action-placeholder (12.0161sec)
process res: radiation-therapy-relation (12.0167sec)
process res: count-units (12.0173sec)
process res: schedule-constraint (12.0175sec)
process res: template-relationship (12.0179sec)
process res: rxnorm-ingredients (12.0184sec)
process res: indication-classes (12.0189sec)
process res: iv-administration-methods (12.0194sec)
process type: ConceptMap (12.0200sec)
process type: DataElement (12.0200sec)
process type: StructureDefinition (12.0202sec)
process res: order-template (12.0202sec)
Failed to find referenced profile: [CanonicalType[http://nccn.org/fhir/StructureDefinition/regimenReferenceType]]
Publishing Content Failed: Exception loading http://nccn.org/fhir/StructureDefinition/order-template: null (12.0538sec)
(12.0538sec)
Use -? to get command line help (12.0539sec)
(12.0540sec)
Stack Dump (for debugging): (12.0540sec)
java.lang.Exception: Exception loading http://nccn.org/fhir/StructureDefinition/order-template: null
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:2516)
at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:2159)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:586)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:526)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4925)
Caused by: java.lang.NullPointerException
at org.hl7.fhir.r4.conformance.ProfileUtilities.processPaths(ProfileUtilities.java:643)
at org.hl7.fhir.r4.conformance.ProfileUtilities.processPaths(ProfileUtilities.java:616)
at org.hl7.fhir.r4.conformance.ProfileUtilities.processPaths(ProfileUtilities.java:616)
at org.hl7.fhir.r4.conformance.ProfileUtilities.processPaths(ProfileUtilities.java:616)
at org.hl7.fhir.r4.conformance.ProfileUtilities.generateSnapshot(ProfileUtilities.java:376)
at org.hl7.fhir.r4.context.SimpleWorkerContext.seeMetadataResource(SimpleWorkerContext.java:558)
at org.hl7.fhir.r4.context.BaseWorkerContext.cacheResource(BaseWorkerContext.java:199)
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:2514)
... 4 more
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4935)
Jefferson (Oct 22 2018 at 15:04):
trying to build the Publish output files
Lloyd McKenzie (Oct 22 2018 at 15:12):
Are you using the current version of the publisher from http://build.fhir.org?
Jefferson (Oct 22 2018 at 15:14):
Yes I am using the current version
Jefferson (Oct 22 2018 at 15:15):
what is the error pointing to null?
Lloyd McKenzie (Oct 22 2018 at 15:17):
The code is finding a null value where it shouldn't - and if you're using the latest and greatest (as of a few hours ago), I have no idea how or why you could be getting a null value in the place where it appears you are.
Jefferson (Oct 22 2018 at 15:18):
yeah I download the lastest this morning
Lloyd McKenzie (Oct 22 2018 at 15:21):
The only way I can think of to diagnose this issue is for you to send your whole IG environment and Grahame or I can run it through the debugger
Jefferson (Oct 22 2018 at 15:22):
Ok I will do that thanks for the help
Last updated: Apr 12 2022 at 19:14 UTC