[
https://issues.apache.org/jira/browse/ATLAS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apoorv Naik updated ATLAS-1258:
-------------------------------
Attachment: ATLAS-1258.patch
> 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
>
> Attachments: ATLAS-1258.patch
>
>
> 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)