java.lang.RuntimeException: java.lang.NullPointerException

Stack Overflow | Priyanka | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Worker died in storm

    Stack Overflow | 5 months ago | Priyanka
    java.lang.RuntimeException: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at net.media.viewalignerstorm.deserializers.UserAndIpDeserializer.deserialize()
    2. net.media.viewalignerstorm
      UserAndIpDeserializer.deserialize
      1. net.media.viewalignerstorm.deserializers.UserAndIpDeserializer.deserialize(UserAndIpDeserializer.java:24)[stormjar.jar:?]
      2. net.media.viewalignerstorm.deserializers.UserAndIpDeserializer.deserialize(UserAndIpDeserializer.java:15)[stormjar.jar:?]
      2 frames
    3. Gson
      Gson.fromJson
      1. com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)[stormjar.jar:?]
      2. com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)[stormjar.jar:?]
      3. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)[stormjar.jar:?]
      4. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)[stormjar.jar:?]
      5. com.google.gson.Gson.fromJson(Gson.java:803)[stormjar.jar:?]
      6. com.google.gson.Gson.fromJson(Gson.java:768)[stormjar.jar:?]
      7. com.google.gson.Gson.fromJson(Gson.java:717)[stormjar.jar:?]
      7 frames
    4. net.media.viewalignerstorm
      OutputBolt.execute
      1. net.media.viewalignerstorm.repository.ViewAlignerRepository.executeFetchIPUAStoredProcedure(ViewAlignerRepository.java:78)[stormjar.jar:?]
      2. net.media.viewalignerstorm.repository.ViewAlignerRepository.getListOfUserAgentAndIp(ViewAlignerRepository.java:62)[stormjar.jar:?]
      3. net.media.viewalignerstorm.bolts.OutputBolt.getUserAgentAndIps(OutputBolt.java:65)[stormjar.jar:?]
      4. net.media.viewalignerstorm.bolts.OutputBolt.execute(OutputBolt.java:93)[stormjar.jar:?]
      4 frames
    5. backtype.storm.daemon
      executor$mk_task_receiver$fn__5615.invoke
      1. backtype.storm.daemon.executor$fn__5694$tuple_action_fn__5696.invoke(executor.clj:690)[storm-core-0.10.0.jar:0.10.0]
      2. backtype.storm.daemon.executor$mk_task_receiver$fn__5615.invoke(executor.clj:436)[storm-core-0.10.0.jar:0.10.0]
      2 frames
    6. backtype.storm
      disruptor$clojure_handler$reify__5189.onEvent
      1. backtype.storm.disruptor$clojure_handler$reify__5189.onEvent(disruptor.clj:58)[storm-core-0.10.0.jar:0.10.0]
      1 frame
    7. backtype.storm.utils
      DisruptorQueue.consumeBatchWhenAvailable
      1. backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:132)[storm-core-0.10.0.jar:0.10.0]
      2. backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:106)[storm-core-0.10.0.jar:0.10.0]
      2 frames
    8. backtype.storm
      disruptor$consume_batch_when_available.invoke
      1. backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)[storm-core-0.10.0.jar:0.10.0]
      1 frame
    9. backtype.storm.daemon
      executor$fn__5694$fn__5707$fn__5758.invoke
      1. backtype.storm.daemon.executor$fn__5694$fn__5707$fn__5758.invoke(executor.clj:819)[storm-core-0.10.0.jar:0.10.0]
      1 frame
    10. backtype.storm
      util$async_loop$fn__545.invoke
      1. backtype.storm.util$async_loop$fn__545.invoke(util.clj:479)[storm-core-0.10.0.jar:0.10.0]
      1 frame
    11. Clojure
      AFn.run
      1. clojure.lang.AFn.run(AFn.java:22)[clojure-1.6.0.jar:?]
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.7.0_85]
      1 frame