Github user srdo commented on the issue:

    https://github.com/apache/storm/pull/1697
  
    I seem to be getting a few new errors when running some of our own unit 
tests with this branch. The exceptions are intermittent.
    
    ``` 
    java.lang.NullPointerException
        at 
org.apache.storm.utils.DisruptorQueue$FlusherPool.stop(DisruptorQueue.java:110)
        at 
org.apache.storm.utils.DisruptorQueue$Flusher.close(DisruptorQueue.java:293)
        at 
org.apache.storm.utils.DisruptorQueue.haltWithInterrupt(DisruptorQueue.java:410)
        at 
org.apache.storm.disruptor$halt_with_interrupt_BANG_.invoke(disruptor.clj:77)
        at 
org.apache.storm.daemon.executor$mk_executor$reify__4923.shutdown(executor.clj:412)
        at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
        at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:313)
        at 
org.apache.storm.daemon.worker$fn__5550$exec_fn__1372__auto__$reify__5552$shutdown_STAR___5572.invoke(worker.clj:668)
        at 
org.apache.storm.daemon.worker$fn__5550$exec_fn__1372__auto__$reify$reify__5598.shutdown(worker.clj:706)
        at 
org.apache.storm.ProcessSimulator.killProcess(ProcessSimulator.java:66)
        at 
org.apache.storm.ProcessSimulator.killAllProcesses(ProcessSimulator.java:79)
        at 
org.apache.storm.testing$kill_local_storm_cluster.invoke(testing.clj:207)
        at org.apache.storm.testing4j$_withLocalCluster.invoke(testing4j.clj:93)
        at org.apache.storm.Testing.withLocalCluster(Unknown Source)
    ```
    
    and this kind of error
    ```
    java.lang.IllegalStateException: Timer is not active
        at org.apache.storm.timer$check_active_BANG_.invoke(timer.clj:87)
        at org.apache.storm.timer$cancel_timer.invoke(timer.clj:120)
        at 
org.apache.storm.daemon.worker$fn__5550$exec_fn__1372__auto__$reify__5552$shutdown_STAR___5572.invoke(worker.clj:682)
        at 
org.apache.storm.daemon.worker$fn__5550$exec_fn__1372__auto__$reify$reify__5598.shutdown(worker.clj:706)
        at 
org.apache.storm.ProcessSimulator.killProcess(ProcessSimulator.java:66)
        at 
org.apache.storm.ProcessSimulator.killAllProcesses(ProcessSimulator.java:79)
        at 
org.apache.storm.testing$kill_local_storm_cluster.invoke(testing.clj:207)
        at org.apache.storm.testing4j$_withLocalCluster.invoke(testing4j.clj:93)
        at org.apache.storm.Testing.withLocalCluster(Unknown Source)
    ```
    
    Our tests are running Storm in local mode with no time simulation. I've 
tried running the same tests on 1.x-branch, and these don't seem to occur there.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to