Fix snapshot generation crash when a mapping doesn't have a uri
This commit is contained in:
parent
7d38ed4161
commit
e0dd0d78ec
|
@ -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