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

Suma Shivaprasad updated ATLAS-888:
-----------------------------------
    Attachment: ATLAS-888.1.patch

Fixed review comments

> NPE in NotificationHookConsumer
> -------------------------------
>
>                 Key: ATLAS-888
>                 URL: https://issues.apache.org/jira/browse/ATLAS-888
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Suma Shivaprasad
>            Assignee: Suma Shivaprasad
>            Priority: Blocker
>             Fix For: 0.7-incubating
>
>         Attachments: ATLAS-888.1.patch, ATLAS-888.patch
>
>
> 2016-06-08 15:54:22,375 ERROR - [NotificationHookConsumer thread-0:] ~ Unable 
> to persist entity instance (EntityResource:137)
> java.lang.NullPointerException
>         at 
> org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:122)
>         at 
> org.apache.atlas.LocalAtlasClient$1.invoke(LocalAtlasClient.java:82)
>         at 
> org.apache.atlas.LocalAtlasClient$EntityOperation.run(LocalAtlasClient.java:118)
>         at 
> org.apache.atlas.LocalAtlasClient.createEntity(LocalAtlasClient.java:85)
>         at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:652)
>         at 
> org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:203)
>         at 
> org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:187)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> 2016-06-08 15:54:22,376 WARN  - [NotificationHookConsumer thread-0:] ~ Error 
> handling message 
> org.apache.atlas.notification.hook.HookNotification$EntityCreateRequest@6b8492f1
>  (NotificationHookConsumer:233)
> org.apache.atlas.AtlasServiceException: Metadata service API CREATE_ENTITY 
> failed with status 500(Internal Server Error) Response Body 
> (java.lang.NullPointerException
>         at 
> org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:122)
>         at 
> org.apache.atlas.LocalAtlasClient$1.invoke(LocalAtlasClient.java:82)
>         at 
> org.apache.atlas.LocalAtlasClient$EntityOperation.run(LocalAtlasClient.java:118)
>         at 
> org.apache.atlas.LocalAtlasClient.createEntity(LocalAtlasClient.java:85)
>         at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:652)
>         at 
> org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:203)
>         at 
> org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:187)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> )
>         at 
> org.apache.atlas.LocalAtlasClient$EntityOperation.run(LocalAtlasClient.java:122)
>         at 
> org.apache.atlas.LocalAtlasClient.createEntity(LocalAtlasClient.java:85)
>         at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:652)
>         at 
> org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.handleMessage(NotificationHookConsumer.java:203)
>         at 
> org.apache.atlas.notification.NotificationHookConsumer$HookConsumer.run(NotificationHookConsumer.java:187)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to