[ 
https://issues.apache.org/jira/browse/ATLAS-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chaitali borole updated ATLAS-3988:
-----------------------------------
    Fix Version/s: 3.0.0

> REST GET entity API with type's GUID throws NPE
> -----------------------------------------------
>
>                 Key: ATLAS-3988
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3988
>             Project: Atlas
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: chaitali borole
>            Assignee: chaitali borole
>            Priority: Major
>             Fix For: 3.0.0
>
>
> GET on /api/atlas/v2/entity/guid/<invalid_GUID> throws invalid GUID exception.
> BUT GET on /api/atlas/v2/entity/guid/<valid_type_GUID> throws NPE.
>  
> 2020-01-14 02:19:07,272 ERROR - [pool-2-thread-3 - 
> a0b7457e-d43f-4fca-9581-8db695ef7af3:] ~ graph rollback due to exception  
> (GraphTransactionInterceptor:167)
> java.lang.NullPointerException
>       at 
> org.apache.atlas.type.AtlasTypeRegistry.getType(AtlasTypeRegistry.java:94)
>       at 
> org.apache.atlas.repository.store.graph.v2.EntityGraphRetriever.mapAttributes(EntityGraphRetriever.java:608)
>       at 
> org.apache.atlas.repository.store.graph.v2.EntityGraphRetriever.mapVertexToAtlasEntity(EntityGraphRetriever.java:448)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to