Fix snapshot generation crash when a mapping doesn't have a uri

This commit is contained in:
Vadim Peretokin 2019-06-02 13:58:53 +02:00
parent 7d38ed4161
commit e0dd0d78ec
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}