FHIR Chat · Publisher 1.1.33 Nullpointerexception · implementers

Stream: implementers

Topic: Publisher 1.1.33 Nullpointerexception


view this post on Zulip David Gutknecht (Oct 01 2020 at 08:50):

Hello,

I was able to compile my ig with all preceding publisher versions. Since 1.1.33 the QA report is not generate and I have following exception:

java.lang.NullPointerException
    at org.hl7.fhir.igtools.renderers.VersionCheckRenderer.getVersion(VersionCheckRenderer.java:130)
    at org.hl7.fhir.igtools.renderers.VersionCheckRenderer.generate(VersionCheckRenderer.java:42)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:887)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:725)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8335)

any idea ?

view this post on Zulip Grahame Grieve (Oct 01 2020 at 09:47):

sigh. all my testing didn't turn up this possibility. you need a package-list.json in the root of your ig. it just has to be a valid json object - I don't think it matters what it is

view this post on Zulip Grahame Grieve (Oct 01 2020 at 10:00):

you'll get errors, but it won't stop you from generating

view this post on Zulip David Gutknecht (Oct 01 2020 at 11:37):

Hello Grahame,
I have a package-list.json in the input folder, but still get the same error message.
I updated the Github project to the latest version.
https://github.com/DavidGutknecht/mni-ig

Since we speak about Github, I prepared following pull request on FHIR/ig-registry
https://github.com/FHIR/ig-registry/pull/35
Could you please when you have 2 minutes review it ?

Thanks
David

view this post on Zulip Grahame Grieve (Oct 01 2020 at 11:42):

in the root folder, not the input folder. it's a special case

view this post on Zulip David Gutknecht (Oct 01 2020 at 11:51):

Thanks, it fixed it.

Just for your information,
I still have the "Multiple profiles found for contained resource" error message. Did you see my Topic about it ?
https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Publisher.20-.20QA.20error.20since.201.2E1.2E21/near/210497957

Best regards !
David

view this post on Zulip Grahame Grieve (Oct 01 2020 at 12:50):

It's still on my list

view this post on Zulip David Gutknecht (Oct 01 2020 at 14:10):

OK. Thanks. :+1:


Last updated: Apr 12 2022 at 19:14 UTC