Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-888

NPE in NotificationHookConsumer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.7-incubating
    • 0.7-incubating
    • None
    • None

    Description

      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)

      Attachments

        1. ATLAS-888.1.patch
          12 kB
          Suma Shivaprasad
        2. ATLAS-888.patch
          13 kB
          Suma Shivaprasad

        Issue Links

          Activity

            People

              suma.shivaprasad Suma Shivaprasad
              suma.shivaprasad Suma Shivaprasad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: