Skip to content

Commit

Permalink
Fixed attestation null pointer exception
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Jun 21, 2024
1 parent 9c09f34 commit cfd7d24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ private void updateAttestation(String attestorEntity, String userId, JsonNode en
} else if (attestation.get(_osState.name()).asText().equals(States.ATTESTATION_REQUESTED.name())) {
JsonNode propertyData = JSONUtil.extractPropertyDataFromEntity(uuidPropertyName, entity, attestationPolicy.getAttestationProperties(), null);
if (attestation.has(propertiesUUIDKey)) {
ObjectNode propertiesUUIDs = attestations.get(propertiesUUIDKey).deepCopy();
ObjectNode propertiesUUIDs = attestation.get(propertiesUUIDKey).deepCopy();
Map<String, List<String>> propertiesUUIDMapper = new HashMap<>();
ObjectReader reader = objectMapper.readerFor(new TypeReference<List<String>>() {
});
Expand Down

0 comments on commit cfd7d24

Please sign in to comment.