Robert Yokota created ATLAS-4457:
------------------------------------
Summary: NullPointerException in
EntityGraphMapper.updateClassifications
Key: ATLAS-4457
URL: https://issues.apache.org/jira/browse/ATLAS-4457
Project: Atlas
Issue Type: Bug
Components: atlas-core
Affects Versions: 2.2.0
Reporter: Robert Yokota
NullPointerException in EntityGraphMapper.updateClassifications at this line
[https://github.com/apache/atlas/blob/release-2.2.0-rc1/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java#L2411]
The code should probably be changed from
{code:java}
String propagationType = updatedTagPropagation ? CLASSIFICATION_PROPAGATION_ADD
: CLASSIFICATION_PROPAGATION_DELETE; {code}
to
{code:java}
String propagationType = updatedTagPropagation != null & updatedTagPropagation
? CLASSIFICATION_PROPAGATION_ADD : CLASSIFICATION_PROPAGATION_DELETE; {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)