Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3032

NullPointerException in KafkaSpout emitOrRetryTuple

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: storm-core
    • Labels:
      None
    • Environment:
      Linux

      Description

      java.lang.NullPointerException: null
      at clojure.lang.Numbers.ops(Numbers.java:1013) ~[clojure-1.7.0.jar:?]
      at clojure.lang.Numbers.multiply(Numbers.java:148) ~[clojure-1.7.0.jar:?]
      at org.apache.storm.stats$transferred_tuples_BANG_.invoke(stats.clj:131) ~[storm-core-1.2.1.jar:1.2.1]
      at org.apache.storm.daemon.task$mk_tasks_fn$fn__4656.invoke(task.clj:167) ~[storm-core-1.2.1.jar:1.2.1]
      at org.apache.storm.daemon.task$send_unanchored.invoke(task.clj:119) ~[storm-core-1.2.1.jar:1.2.1]
      at org.apache.storm.daemon.executor$fn__4975$fn__4990$send_spout_msg__4996.invoke(executor.clj:594) ~[storm-core-1.2.1.jar:1.2.1]
      at org.apache.storm.daemon.executor$fn__4975$fn$reify__5006.emit(executor.clj:618) ~[storm-core-1.2.1.jar:1.2.1]
      at org.apache.storm.spout.SpoutOutputCollector.emit(SpoutOutputCollector.java:50) ~[storm-core-1.2.1.jar:1.2.1]
      at org.apache.storm.kafka.spout.KafkaSpout.emitOrRetryTuple(KafkaSpout.java:496) ~[stormjar.jar:?]
      at org.apache.storm.kafka.spout.KafkaSpout.emitIfWaitingNotEmitted(KafkaSpout.java:440) ~[stormjar.jar:?]
      at org.apache.storm.kafka.spout.KafkaSpout.nextTuple(KafkaSpout.java:308) ~[stormjar.jar:?]
      at org.apache.storm.daemon.executor$fn__4975$fn__4990$fn__5021.invoke(executor.clj:654) ~[storm-core-1.2.1.jar:1.2.1]
      at org.apache.storm.util$async_loop$fn__557.invoke(util.clj:484) [storm-core-1.2.1.jar:1.2.1]
      at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
      at java.lang.Thread.run(Thread.java:785) [?:?]
      

      Error in KafkaSpout emitOrRetry method

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Ajeesh Ajeesh B
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: