chaitali borole created ATLAS-3988: -------------------------------------- Summary: 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 Reporter: chaitali borole Assignee: chaitali borole
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)