Nikhil Bonte created ATLAS-3358:
-----------------------------------

             Summary: NPE when Atlas is trying to read from graphDB
                 Key: ATLAS-3358
                 URL: https://issues.apache.org/jira/browse/ATLAS-3358
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.8.4
            Reporter: Nikhil Bonte
            Assignee: Nikhil Bonte


Reading vertex which has '__type.category' as null & atlas fails to startup.

 
{noformat}
2019-07-31 17:47:46,756 DEBUG - [main:] ~ Reading property __type.category from 
vertex[id=496386248 type=null guid=null] (GraphHelper:433) 2019-07-31 
17:47:46,757 DEBUG - [main:] ~ Reading property __type.name from 
vertex[id=496386248 type=null guid=null] (GraphHelper:433) 2019-07-31 
17:47:46,757 DEBUG - [main:] ~ Reading property __type.description from 
vertex[id=496386248 type=null guid=null] (GraphHelper:433) 2019-07-31 
17:47:46,757 INFO - [main:] ~ Restoring type null.null.null 
(GraphBackedTypeStore:257) 2019-07-31 17:47:46,758 ERROR - [main:] ~ graph 
rollback due to exception (GraphTransactionInterceptor:71)
java.lang.NullPointerException at 
org.apache.atlas.repository.typestore.GraphBackedTypeStore.getTypesFromVertices(GraphBackedTypeStore.java:258)
 at 
org.apache.atlas.repository.typestore.GraphBackedTypeStore.restore(GraphBackedTypeStore.java:233)
 at 
org.apache.atlas.repository.typestore.GraphBackedTypeStore$$FastClassBySpringCGLIB$$89e4b665.invoke(<generated>)
 at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
 at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
 at 
org.apache.atlas.repository.typestore.GraphBackedTypeStore$$EnhancerBySpringCGLIB$$95613fc.restore(<generated>)
 at 
org.apache.atlas.services.DefaultMetadataService.restoreTypeSystem(DefaultMetadataService.java:143)
 at 
org.apache.atlas.services.DefaultMetadataService.<init>(DefaultMetadataService.java:132)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 61 
more{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to