Merge pull request #39 from vadi2/fix-crash-no-mapping-uri
Fix snapshot generation crash when a mapping doesn't have a uri
This commit is contained in:
commit
ec9c6a31a8
|
@ -370,7 +370,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
for (StructureDefinitionMappingComponent baseMap : base.getMapping()) {
|
||||
boolean found = false;
|
||||
for (StructureDefinitionMappingComponent derivedMap : derived.getMapping()) {
|
||||
if (derivedMap.getUri().equals(baseMap.getUri())) {
|
||||
if (derivedMap.getUri() != null && derivedMap.getUri().equals(baseMap.getUri())) {
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue