FHIR Chat · profile related issue · IG creation

Stream: IG creation

Topic: profile related issue


view this post on Zulip sai charan (Feb 20 2018 at 10:04):

Hi All,
When i creating the new profiles in Implementation Guide at that time i am getting "must have rows" exception.
I didn't understand what is meaning of that exception.I want to resolve that exception please ping me if anybody knows that.
I got the exception like below:
org.hl7.fhir.exceptions.FHIRException: Must have rows
at org.hl7.fhir.r4.conformance.ProfileUtilities.generateTable(ProfileUtilities.java:2044)
at org.hl7.fhir.r4.utils.NarrativeGenerator.generate(NarrativeGenerator.java:3909)
at org.hl7.fhir.r4.utils.NarrativeGenerator.generate(NarrativeGenerator.java:307)
at org.hl7.fhir.r4.utils.NarrativeGenerator.generate(NarrativeGenerator.java:285)
at org.hl7.fhir.igtools.publisher.Publisher.generateNarratives(Publisher.java:443)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:376)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:344)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:3969)
Caused by: org.hl7.fhir.exceptions.FHIRException: Must have rows
at org.hl7.fhir.utilities.xhtml.HierarchicalTableGenerator.check(HierarchicalTableGenerator.java:603)
at org.hl7.fhir.utilities.xhtml.HierarchicalTableGenerator.checkModel(HierarchicalTableGenerator.java:510)
at org.hl7.fhir.utilities.xhtml.HierarchicalTableGenerator.generate(HierarchicalTableGenerator.java:361)
at org.hl7.fhir.r4.conformance.ProfileUtilities.generateTable(ProfileUtilities.java:2042)
... 7 more
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:3979)

view this post on Zulip Eric Haas (Feb 20 2018 at 16:33):

what is your source profile - a spreadsheet or xml?

view this post on Zulip sai charan (Feb 21 2018 at 04:09):

xml

view this post on Zulip Lloyd McKenzie (Feb 21 2018 at 04:19):

At present, the tooling requires that your differential contain an element for the root and for every element in the tree. For example, if your element has a single element for Patient.contact.name, you'll also have to have a node for "Patient" and one for "Patient.contact". (And those two nodes would need to appear first). You don't have to specify any constraints on them, they just have to exist.

view this post on Zulip Lloyd McKenzie (Feb 21 2018 at 04:20):

This is a known tooling issue and will eventually be fixed, but probably not before the April ballot comes out.

view this post on Zulip abhishek gupta (Feb 21 2018 at 13:54):

Hi All,
when I am validating the profiles using org.hl7.fhir.validator.jar at that time I get "java.lang.Illegalstate Exception.
I also attached the screenshot for about what I am getting.
I checked with both version r3 and r4.
I am using the fhir current build version.
I am getting same exception in both cases.
if anybody knows about that ping me

r3.png
r4.png

view this post on Zulip Lloyd McKenzie (Feb 21 2018 at 15:38):

The second screenshot means there's a problem with the last successful version of the continuous integration build - a file that should have been migrated wasn't. I don't know why. Unfortunately the build is currently down and probably won't be fixed until sometime this afternoon. I'm not sure what's happening with the first screen. It looks like a problem reading the definitions from the version that's posted. Best bet is to see if the new IGPublisher that goes up this afternoon works. (Watch for a "thumbs up" on the committer's stream and then give it 30 minutes before you grab the newest validator jar)

view this post on Zulip Lloyd McKenzie (Feb 21 2018 at 23:38):

@Grahame Grieve, we now have a successful build, but there's no igpack at build.fhir.org. Is that intentional? (I know there's a copy included in the IGPublisher, so maybe it is, but in that case I'm not sure why @abhishek gupta's instance isn't finding it.

view this post on Zulip Lloyd McKenzie (Feb 21 2018 at 23:38):

@abhishek gupta , can you try running with the version of the IGPublisher that just went up?

view this post on Zulip Grahame Grieve (Feb 22 2018 at 06:12):

I don't know why igpack.zip doesn't exist.

view this post on Zulip Grahame Grieve (Feb 22 2018 at 06:12):

it's not a very very big file. @Josh Mandel any ideas?

view this post on Zulip Josh Mandel (Feb 22 2018 at 15:19):

Yes the file is being generated but there is a url-rewriting rule that is adding a slash on to the request and thereby preventing it from being downloaded. If you need a quick fix: http://build.fhir.org/branches/master/igpack.zip

view this post on Zulip Josh Mandel (Feb 22 2018 at 19:25):

Fixed via https://github.com/hl7-fhir/auto-ig-builder/commit/3dd0bdd3deea1a6a518eddd9f42ae584b4b2d5bc

view this post on Zulip Josh Mandel (Feb 22 2018 at 19:26):

Now https://build.fhir.org/igpack.zip should work.

view this post on Zulip Grahame Grieve (Feb 22 2018 at 22:17):

ok thanks


Last updated: Apr 12 2022 at 19:14 UTC