Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for null in VersionComparisonAnnotation #1397

Closed

Conversation

dotasek
Copy link
Collaborator

@dotasek dotasek commented Aug 18, 2023

Fixes a NullPointerException resulting from this call, which explicitly sets it as null. This was causing failures in IG Publisher in publishing ACME-FSH-IG-Example

return compareString(Utilities.escapeXml(newMap), null, null, "mapping", d, Utilities.escapeXml(oldMap), null, mode);

See this stack trace.

render:94, VersionComparisonAnnotation (org.hl7.fhir.r5.comparison)
compareString:3372, StructureDefinitionRenderer (org.hl7.fhir.r5.renderers)
getMapping:4348, StructureDefinitionRenderer (org.hl7.fhir.r5.renderers)
generateElementInner:3564, StructureDefinitionRenderer (org.hl7.fhir.r5.renderers)
renderDict:3119, StructureDefinitionRenderer (org.hl7.fhir.r5.renderers)
dict:1049, StructureDefinitionRenderer (org.hl7.fhir.igtools.renderers)
generateOutputsStructureDefinition:11030, Publisher (org.hl7.fhir.igtools.publisher)
generateResourceHtml:9982, Publisher (org.hl7.fhir.igtools.publisher)
generateHtmlOutputs:9834, Publisher (org.hl7.fhir.igtools.publisher)
generate:7066, Publisher (org.hl7.fhir.igtools.publisher)
createIg:1052, Publisher (org.hl7.fhir.igtools.publisher)
execute:882, Publisher (org.hl7.fhir.igtools.publisher)
main:11921, Publisher (org.hl7.fhir.igtools.publisher)

@grahamegrieve
Copy link
Collaborator

made redundant by another commit

@dotasek dotasek deleted the do-20230828-versioncomparisonannotation-nullpointer branch January 29, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants