-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63090/
-----------------------------------------------------------
Review request for atlas and Madhan Neethiraj.
Bugs: ATLAS-2214
https://issues.apache.org/jira/browse/ATLAS-2214
Repository: atlas
Description
-------
```java
// When string/boolean attributes use the following sequence of filtering
on AtlasVertex attributes then the code
// runs into NPE
// 1. boolean attr "x" != false/true | boolean attr "x" == false/true
// 2. boolean attr notNull 'query.has("x") | boolean attr isNull
'query.hasNot("x")'
// whereas if the sequence is reversed then the NPE is not encountered
// Similar behavior is exhibited for the string attributes
// Workaround is to allow null == null value comparision
```
Diffs
-----
graphdb/titan0/src/main/java/com/thinkaurelius/titan/graphdb/query/condition/PredicateCondition.java
PRE-CREATION
Diff: https://reviews.apache.org/r/63090/diff/1/
Testing
-------
Via UI and REST calls. Atlas doesn't report 500 for the use case mentioned in
the JIRA
Thanks,
Apoorv Naik