mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 06:14:45 +00:00
Fix for NPE
This commit is contained in:
parent
ec7b79bc1e
commit
be01ae2c21
@ -690,7 +690,7 @@ public class ValidationService {
|
||||
if (!sd.hasSnapshot()) {
|
||||
StructureDefinition base = validator.getContext().fetchResource(StructureDefinition.class, sd.getBaseDefinition());
|
||||
cs++;
|
||||
new ProfileUtilities(validator.getContext(), null, null).setAutoFixSliceNames(true).generateSnapshot(base, sd, sd.getUrl(), null, sd.getName());
|
||||
new ProfileUtilities(validator.getContext(), new ArrayList<ValidationMessage>(), null).setAutoFixSliceNames(true).generateSnapshot(base, sd, sd.getUrl(), null, sd.getName());
|
||||
validator.handleOutput(sd, filename, validator.getVersion());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user