You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Apoorv Naik (JIRA)" <ji...@apache.org> on 2016/11/01 20:19:58 UTC

[jira] [Created] (ATLAS-1258) Indexer NPE when trying to create Entity (which inherits from structtype)

Apoorv Naik created ATLAS-1258:
----------------------------------

             Summary: Indexer NPE when trying to create Entity (which inherits from structtype)
                 Key: ATLAS-1258
                 URL: https://issues.apache.org/jira/browse/ATLAS-1258
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.8-incubating
            Reporter: Apoorv Naik
            Assignee: Apoorv Naik
             Fix For: 0.8-incubating


Currently the indexer logic doesn't break when it has to ignore indexing of AtlasEntityDef and AtlasClassificationDef, due to which the conditional checks on AltasStructDef are satisfied and the subsequent code sequence causes a NPE.

The fix introduces an if-else ladder to avoid this situation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)