Skip to content

Commit

Permalink
Merge pull request #334 from holashchand/issue-1034
Browse files Browse the repository at this point in the history
[BUG]: Fixed attestation null pointer exception
  • Loading branch information
challabeehyv authored Jun 24, 2024
2 parents e8348ce + cfd7d24 commit e619da9
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 e619da9

Please sign in to comment.