You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ka...@apache.org on 2016/08/12 02:38:00 UTC
svn commit: r1756069 [2/2] - in /storm/site/publish: ./ 2014/04/17/ about/
releases/0.10.0/ releases/0.10.0/about/ releases/0.10.1/
releases/0.10.1/about/ releases/0.9.6/ releases/1.0.0/ releases/1.0.1/
releases/1.0.2/ releases/2.0.0-SNAPSHOT/ releases...
Modified: storm/site/publish/releases/1.0.2/Troubleshooting.html
URL: http://svn.apache.org/viewvc/storm/site/publish/releases/1.0.2/Troubleshooting.html?rev=1756069&r1=1756068&r2=1756069&view=diff
==============================================================================
--- storm/site/publish/releases/1.0.2/Troubleshooting.html (original)
+++ storm/site/publish/releases/1.0.2/Troubleshooting.html Fri Aug 12 02:37:59 2016
@@ -278,71 +278,6 @@ Caused by: java.util.ConcurrentModificat
<li>This means that you're emitting a mutable object as an output tuple. Everything you emit into the output collector must be immutable. What's happening is that your bolt is modifying the object while it is being serialized to be sent over the network.</li>
</ul>
-<h3 id="nullpointerexception-from-deep-inside-storm">NullPointerException from deep inside Storm</h3>
-
-<p>Symptoms:</p>
-
-<ul>
-<li>You get a NullPointerException that looks something like:</li>
-</ul>
-<div class="highlight"><pre><code class="language-" data-lang="">java.lang.RuntimeException: java.lang.NullPointerException
- at org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
- at org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)
- at org.apache.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:56)
- at org.apache.storm.disruptor$consume_loop_STAR_$fn__1596.invoke(disruptor.clj:67)
- at org.apache.storm.util$async_loop$fn__465.invoke(util.clj:377)
- at clojure.lang.AFn.run(AFn.java:24)
- at java.lang.Thread.run(Thread.java:662)
-Caused by: java.lang.NullPointerException
- at org.apache.storm.serialization.KryoTupleSerializer.serialize(KryoTupleSerializer.java:24)
- at org.apache.storm.daemon.worker$mk_transfer_fn$fn__4126$fn__4130.invoke(worker.clj:99)
- at org.apache.storm.util$fast_list_map.invoke(util.clj:771)
- at org.apache.storm.daemon.worker$mk_transfer_fn$fn__4126.invoke(worker.clj:99)
- at org.apache.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__3904.invoke(executor.clj:205)
- at org.apache.storm.disruptor$clojure_handler$reify__1584.onEvent(disruptor.clj:43)
- at org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:81)
- ... 6 more
-</code></pre></div>
-<p>or </p>
-<div class="highlight"><pre><code class="language-" data-lang="">java.lang.RuntimeException: java.lang.NullPointerException
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$consume_loop_STAR_$fn__759.invoke(disruptor.clj:94)
-~[storm-core-0.9.3.jar:0.9.3]
- at org.apache.storm.util$async_loop$fn__458.invoke(util.clj:463)
-~[storm-core-0.9.3.jar:0.9.3]
- at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
- at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
-Caused by: java.lang.NullPointerException: null
- at clojure.lang.RT.intCast(RT.java:1087) ~[clojure-1.5.1.jar:na]
- at
-org.apache.storm.daemon.worker$mk_transfer_fn$fn__3548.invoke(worker.clj:129)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__3282.invoke(executor.clj:258)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$clojure_handler$reify__746.onEvent(disruptor.clj:58)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)
-~[storm-core-0.9.3.jar:0.9.3]
- ... 6 common frames omitted
-</code></pre></div>
-<p>Solution:</p>
-
-<ul>
-<li>This is caused by having multiple threads issue methods on the <code>OutputCollector</code>. All emits, acks, and fails must happen on the same thread. One subtle way this can happen is if you make a <code>IBasicBolt</code> that emits on a separate thread. <code>IBasicBolt</code>'s automatically ack after execute is called, so this would cause multiple threads to use the <code>OutputCollector</code> leading to this exception. When using a basic bolt, all emits must happen in the same thread that runs <code>execute</code>.</li>
-</ul>
-
</div>
Modified: storm/site/publish/releases/2.0.0-SNAPSHOT/Troubleshooting.html
URL: http://svn.apache.org/viewvc/storm/site/publish/releases/2.0.0-SNAPSHOT/Troubleshooting.html?rev=1756069&r1=1756068&r2=1756069&view=diff
==============================================================================
--- storm/site/publish/releases/2.0.0-SNAPSHOT/Troubleshooting.html (original)
+++ storm/site/publish/releases/2.0.0-SNAPSHOT/Troubleshooting.html Fri Aug 12 02:37:59 2016
@@ -278,71 +278,6 @@ Caused by: java.util.ConcurrentModificat
<li>This means that you're emitting a mutable object as an output tuple. Everything you emit into the output collector must be immutable. What's happening is that your bolt is modifying the object while it is being serialized to be sent over the network.</li>
</ul>
-<h3 id="nullpointerexception-from-deep-inside-storm">NullPointerException from deep inside Storm</h3>
-
-<p>Symptoms:</p>
-
-<ul>
-<li>You get a NullPointerException that looks something like:</li>
-</ul>
-<div class="highlight"><pre><code class="language-" data-lang="">java.lang.RuntimeException: java.lang.NullPointerException
- at org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
- at org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)
- at org.apache.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:56)
- at org.apache.storm.disruptor$consume_loop_STAR_$fn__1596.invoke(disruptor.clj:67)
- at org.apache.storm.util$async_loop$fn__465.invoke(util.clj:377)
- at clojure.lang.AFn.run(AFn.java:24)
- at java.lang.Thread.run(Thread.java:662)
-Caused by: java.lang.NullPointerException
- at org.apache.storm.serialization.KryoTupleSerializer.serialize(KryoTupleSerializer.java:24)
- at org.apache.storm.daemon.worker$mk_transfer_fn$fn__4126$fn__4130.invoke(worker.clj:99)
- at org.apache.storm.util$fast_list_map.invoke(util.clj:771)
- at org.apache.storm.daemon.worker$mk_transfer_fn$fn__4126.invoke(worker.clj:99)
- at org.apache.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__3904.invoke(executor.clj:205)
- at org.apache.storm.disruptor$clojure_handler$reify__1584.onEvent(disruptor.clj:43)
- at org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:81)
- ... 6 more
-</code></pre></div>
-<p>or </p>
-<div class="highlight"><pre><code class="language-" data-lang="">java.lang.RuntimeException: java.lang.NullPointerException
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$consume_loop_STAR_$fn__759.invoke(disruptor.clj:94)
-~[storm-core-0.9.3.jar:0.9.3]
- at org.apache.storm.util$async_loop$fn__458.invoke(util.clj:463)
-~[storm-core-0.9.3.jar:0.9.3]
- at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
- at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
-Caused by: java.lang.NullPointerException: null
- at clojure.lang.RT.intCast(RT.java:1087) ~[clojure-1.5.1.jar:na]
- at
-org.apache.storm.daemon.worker$mk_transfer_fn$fn__3548.invoke(worker.clj:129)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__3282.invoke(executor.clj:258)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$clojure_handler$reify__746.onEvent(disruptor.clj:58)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)
-~[storm-core-0.9.3.jar:0.9.3]
- ... 6 common frames omitted
-</code></pre></div>
-<p>Solution:</p>
-
-<ul>
-<li>This is caused by having multiple threads issue methods on the <code>OutputCollector</code>. All emits, acks, and fails must happen on the same thread. One subtle way this can happen is if you make a <code>IBasicBolt</code> that emits on a separate thread. <code>IBasicBolt</code>'s automatically ack after execute is called, so this would cause multiple threads to use the <code>OutputCollector</code> leading to this exception. When using a basic bolt, all emits must happen in the same thread that runs <code>execute</code>.</li>
-</ul>
-
</div>
Modified: storm/site/publish/releases/current/Troubleshooting.html
URL: http://svn.apache.org/viewvc/storm/site/publish/releases/current/Troubleshooting.html?rev=1756069&r1=1756068&r2=1756069&view=diff
==============================================================================
--- storm/site/publish/releases/current/Troubleshooting.html (original)
+++ storm/site/publish/releases/current/Troubleshooting.html Fri Aug 12 02:37:59 2016
@@ -278,71 +278,6 @@ Caused by: java.util.ConcurrentModificat
<li>This means that you're emitting a mutable object as an output tuple. Everything you emit into the output collector must be immutable. What's happening is that your bolt is modifying the object while it is being serialized to be sent over the network.</li>
</ul>
-<h3 id="nullpointerexception-from-deep-inside-storm">NullPointerException from deep inside Storm</h3>
-
-<p>Symptoms:</p>
-
-<ul>
-<li>You get a NullPointerException that looks something like:</li>
-</ul>
-<div class="highlight"><pre><code class="language-" data-lang="">java.lang.RuntimeException: java.lang.NullPointerException
- at org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
- at org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)
- at org.apache.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:56)
- at org.apache.storm.disruptor$consume_loop_STAR_$fn__1596.invoke(disruptor.clj:67)
- at org.apache.storm.util$async_loop$fn__465.invoke(util.clj:377)
- at clojure.lang.AFn.run(AFn.java:24)
- at java.lang.Thread.run(Thread.java:662)
-Caused by: java.lang.NullPointerException
- at org.apache.storm.serialization.KryoTupleSerializer.serialize(KryoTupleSerializer.java:24)
- at org.apache.storm.daemon.worker$mk_transfer_fn$fn__4126$fn__4130.invoke(worker.clj:99)
- at org.apache.storm.util$fast_list_map.invoke(util.clj:771)
- at org.apache.storm.daemon.worker$mk_transfer_fn$fn__4126.invoke(worker.clj:99)
- at org.apache.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__3904.invoke(executor.clj:205)
- at org.apache.storm.disruptor$clojure_handler$reify__1584.onEvent(disruptor.clj:43)
- at org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:81)
- ... 6 more
-</code></pre></div>
-<p>or </p>
-<div class="highlight"><pre><code class="language-" data-lang="">java.lang.RuntimeException: java.lang.NullPointerException
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$consume_loop_STAR_$fn__759.invoke(disruptor.clj:94)
-~[storm-core-0.9.3.jar:0.9.3]
- at org.apache.storm.util$async_loop$fn__458.invoke(util.clj:463)
-~[storm-core-0.9.3.jar:0.9.3]
- at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
- at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
-Caused by: java.lang.NullPointerException: null
- at clojure.lang.RT.intCast(RT.java:1087) ~[clojure-1.5.1.jar:na]
- at
-org.apache.storm.daemon.worker$mk_transfer_fn$fn__3548.invoke(worker.clj:129)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__3282.invoke(executor.clj:258)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.disruptor$clojure_handler$reify__746.onEvent(disruptor.clj:58)
-~[storm-core-0.9.3.jar:0.9.3]
- at
-org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)
-~[storm-core-0.9.3.jar:0.9.3]
- ... 6 common frames omitted
-</code></pre></div>
-<p>Solution:</p>
-
-<ul>
-<li>This is caused by having multiple threads issue methods on the <code>OutputCollector</code>. All emits, acks, and fails must happen on the same thread. One subtle way this can happen is if you make a <code>IBasicBolt</code> that emits on a separate thread. <code>IBasicBolt</code>'s automatically ack after execute is called, so this would cause multiple threads to use the <code>OutputCollector</code> leading to this exception. When using a basic bolt, all emits must happen in the same thread that runs <code>execute</code>.</li>
-</ul>
-
</div>