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

David Radley updated ATLAS-1969:
--------------------------------
    Description: 
On the latest code I create 3 categories A B and C. I can successfully create a 
relationship with type CategoryHierarchyLink with catA as the parent and CatB 
as the child.. I then try to try to create a relationship with type 
CategoryHierarchyLink with catA as the parent and CatC as the child; and it 
fails with
2017-07-20 12:14:51,188 ERROR - [pool-1-thread-7 - 
7d5fbe39-0e26-4af0-9137-651b51f9a69c:] ~ graph rollback due to exception 
(GraphTransactionInterceptor:71)
org.apache.atlas.exception.AtlasBaseException: invalid parameters: found null 
entity
at 
org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:139)
at 
org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
at 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:612)
at org

> Cannot create a second child relationship
> -----------------------------------------
>
>                 Key: ATLAS-1969
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1969
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Radley
>         Attachments: 0005LinkedMediaTypes.json, 0210Glossary.json, 
> 0220CategoryHierarchy.json
>
>
> On the latest code I create 3 categories A B and C. I can successfully create 
> a relationship with type CategoryHierarchyLink with catA as the parent and 
> CatB as the child.. I then try to try to create a relationship with type 
> CategoryHierarchyLink with catA as the parent and CatC as the child; and it 
> fails with
> 2017-07-20 12:14:51,188 ERROR - [pool-1-thread-7 - 
> 7d5fbe39-0e26-4af0-9137-651b51f9a69c:] ~ graph rollback due to exception 
> (GraphTransactionInterceptor:71)
> org.apache.atlas.exception.AtlasBaseException: invalid parameters: found null 
> entity
> at 
> org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:139)
> at 
> org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
> at 
> org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:612)
> at org



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to