FHIR Chat · Exception in thread "main" java.lang.Error: Access element a · IG creation

Stream: IG creation

Topic: Exception in thread "main" java.lang.Error: Access element a


view this post on Zulip Brian Reinhold (Feb 08 2021 at 13:43):

Why do I get this error message at the end of running the publisher? It does not seem to affect anything; the guide is still generated.

view this post on Zulip Lloyd McKenzie (Feb 08 2021 at 16:29):

Can you post the full stack-trace?

view this post on Zulip Brian Reinhold (Feb 10 2021 at 11:36):

Lloyd McKenzie said:

Can you post the full stack-trace?

Exception in thread "main" java.lang.Error: Access element after it is unloaded
        at org.hl7.fhir.igtools.publisher.FetchedResource.getElement(FetchedResource.java:63)
        at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3097)
        at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:743)
        at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8417)
Press any key to continue . . .

view this post on Zulip Lloyd McKenzie (Feb 10 2021 at 15:08):

Can you show what comes before that?

view this post on Zulip Brian Reinhold (Feb 10 2021 at 15:24):

Lloyd McKenzie said:

Can you show what comes before that?

yep

onGenerate.jira.setup:
     [xslt] Processing E:\Ruby25-x64\IG_Publisher\PHD\template\onGenerate-ig-updated.xml to E:\Ruby25-x64\IG_Publisher\PHD\template\properties.txt
     [xslt] Loading stylesheet E:\Ruby25-x64\IG_Publisher\PHD\template\scripts\onGenerate.genProperties.xslt
      [get] Getting: https://github.com/HL7/JIRA-Spec-Artifacts/raw/master/xml/_workgroups.xml
      [get] To: E:\Ruby25-x64\IG_Publisher\PHD\input-cache\workgroups.xml
      [get] https://github.com/HL7/JIRA-Spec-Artifacts/raw/master/xml/_workgroups.xml moved to https://raw.githubusercontent.com/HL7/JIRA-Spec-Artifacts/master/xml/_workgroups.xml
      [get] Getting: https://github.com/HL7/JIRA-Spec-Artifacts/raw/master/xml/FHIR-phd.xml
      [get] To: E:\Ruby25-x64\IG_Publisher\PHD\input-cache\jiraspec.xml
      [get] https://github.com/HL7/JIRA-Spec-Artifacts/raw/master/xml/FHIR-phd.xml moved to https://raw.githubusercontent.com/HL7/JIRA-Spec-Artifacts/master/xml/FHIR-phd.xml

onGenerate.jira.generate:
     [xslt] Processing E:\Ruby25-x64\IG_Publisher\PHD\template\package-list.tmp.xml to E:\Ruby25-x64\IG_Publisher\PHD\template\package-list.xml
     [xslt] Loading stylesheet E:\Ruby25-x64\IG_Publisher\PHD\template\scripts\onGenerate.package-list.xslt
     [xslt] Processing E:\Ruby25-x64\IG_Publisher\PHD\template\jira.tmp.xml to E:\Ruby25-x64\IG_Publisher\PHD\template\jira.xml
     [xslt] Loading stylesheet E:\Ruby25-x64\IG_Publisher\PHD\template\scripts\onGenerate.jira.xslt
     [xslt] : Warning! The source document is in no namespace, but the template rules all expect elements in a namespace
**WARNING** Jira file generation will not be correct because multiple artifacts have the same name (ignoring content in "()"): Example of a Coincident Time Stamp
     [xslt] Processing E:\Ruby25-x64\IG_Publisher\PHD\template\jira.xml to E:\Ruby25-x64\IG_Publisher\PHD\template\jira-new.xml
     [xslt] Loading stylesheet E:\Ruby25-x64\IG_Publisher\PHD\template\scripts\onGenerate.normalize.xslt
     [xslt] Processing E:\Ruby25-x64\IG_Publisher\PHD\input-cache\jiraspec.xml to E:\Ruby25-x64\IG_Publisher\PHD\template\jira-current.xml
     [xslt] Loading stylesheet E:\Ruby25-x64\IG_Publisher\PHD\template\scripts\onGenerate.normalize.xslt

onGenerate.jira.check:
     [copy] Copying 1 file to E:\Ruby25-x64\IG_Publisher\PHD

onGenerate.jira.skip-offline:

onGenerate.jira.skip-missing:

onGenerate.jira:

onGenerate.extend:

onGenerate:
Generating Summary Outputs                                                       (01:40.0901)
Sending Usage Stats to Server                                                    (01:44.0209)
## Memory (MB): Use = 1660, Free = 1144, Total = 2805, Max =3618
Reclaiming memory...
## Memory (MB): Use = 1430, Free = 1638, Total = 3069, Max =3618
Jekyll: Source: E:/Ruby25-x64/IG_Publisher/PHD/temp/pages                        (01:58.0645)
Jekyll: Generating...                                                            (01:58.0646)
Sending usage stats failed: Connection timed out: connect
Jekyll: done in 34.545 seconds.                                                  (02:33.0189)
Installing hl7.fhir.uv.phd#dev to the package cache
  Fetching:.
  Installing: . done.
Checking Output HTML                                                             (02:37.0148)
found 1032 files                                                                 (02:37.0165)
.........................................
.........................................
  ... 1032 html files, 0 pages invalid xhtml (0%)                                (03:00.0814)
  ... 524884 links, 0 broken links (0%)                                          (03:00.0815)
Build final .zip                                                                 (03:00.0816)
Final .zip built                                                                 (03:03.0871)
Finished. Times: loading: 00:03.0550, generate: 02:41.0012, narrative generation: 00:15.0733, realm-rules: 00:00.0000, previous-version: 00:03.0995, jekyll: 00:46.0324, validation: 00:12.0092 (#42
), template: 00:03.0659 (#3) (03:04.0682)
context [anonymous] 2:13 attribute path isn't defined
context [anonymous] 2:13 attribute path isn't defined
Validation output in E:\Ruby25-x64\IG_Publisher\PHD\output\qa.html
Errors: 0, Warnings: 29, Info: 93, Broken Links = 0 (03:05.0110)
Watching for changes on a 5sec cycle
Exception in thread "main" java.lang.Error: Access element after it is unloaded
        at org.hl7.fhir.igtools.publisher.FetchedResource.getElement(FetchedResource.java:63)
        at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3097)
        at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:743)
        at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8417)
Press any key to continue . . .

Last updated: Apr 12 2022 at 19:14 UTC