You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "David Radley (JIRA)" <ji...@apache.org> on 2017/07/20 16:44:00 UTC

[jira] [Resolved] (ATLAS-1969) Cannot create a second child relationship

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

David Radley resolved ATLAS-1969.
---------------------------------
    Resolution: Not A Problem

I had found a bug in my test - I have it working now :-) 

> 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 GlossaryCategories CatA CatB and CatC. 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)