[ 
https://issues.apache.org/jira/browse/STORM-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jungtaek Lim updated STORM-2682:
--------------------------------
    Attachment: storm-core-1.1.2-SNAPSHOT.jar

[~dan.blanchard] 
Just attached patched storm-core 1.1.2 SNAPSHOT jar.

> Supervisor crashes with NullPointerException
> --------------------------------------------
>
>                 Key: STORM-2682
>                 URL: https://issues.apache.org/jira/browse/STORM-2682
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 1.0.4, 1.1.1
>         Environment: Dockerized, based on Debian Jessie, running on Ubuntu 
> Trusty, OpenJDK8
>            Reporter: Martin Burian
>            Assignee: Robert Joseph Evans
>         Attachments: storm-core-1.1.2-SNAPSHOT.jar
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> When supervisor is started, it dies after about 30s like so:
> {code:java}
> ...
> 2017-08-07 17:12:04.606 o.a.s.d.s.Slot main [WARN] SLOT 192.168.10.21:6701 
> Starting in state EMPTY - assignment null
> 2017-08-07 17:12:04.607 o.a.s.d.s.Slot main [WARN] SLOT 192.168.10.21:6702 
> Starting in state EMPTY - assignment null
> 2017-08-07 17:12:04.607 o.a.s.l.AsyncLocalizer main [INFO] Cleaning up unused 
> topologies in /home/storm/data/supervisor/stormdist
> 2017-08-07 17:12:04.617 o.a.s.d.s.Supervisor main [INFO] Starting supervisor 
> with id 65a0f977-474c-4938-a4f5-bc99939e96ff at host 192.168.10.
> 21.
> 2017-08-07 17:12:04.619 o.a.s.d.m.MetricsUtils main [INFO] Using statistics 
> reporter plugin:org.apache.storm.daemon.metrics.reporters.JmxPrep
> arableReporter
> 2017-08-07 17:12:04.620 o.a.s.d.m.r.JmxPreparableReporter main [INFO] 
> Preparing...
> 2017-08-07 17:12:04.624 o.a.s.m.StormMetricsRegistry main [INFO] Started 
> statistics report plugin...
> 2017-08-07 17:12:34.620 o.a.s.e.EventManagerImp Thread-4 [ERROR] {} Error 
> when processing event
> java.lang.NullPointerException: null
>         at 
> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) 
> ~[?:1.8.0_121]
>         at 
> org.apache.storm.localizer.Localizer.updateBlobs(Localizer.java:332) 
> ~[storm-core-1.0.4.jar:1.0.4]
>         at 
> org.apache.storm.daemon.supervisor.timer.UpdateBlobs.updateBlobsForTopology(UpdateBlobs.java:99)
>  ~[storm-core-1.0.4.jar:1.0.4]
>         at 
> org.apache.storm.daemon.supervisor.timer.UpdateBlobs.run(UpdateBlobs.java:72) 
> ~[storm-core-1.0.4.jar:1.0.4]
>         at 
> org.apache.storm.event.EventManagerImp$1.run(EventManagerImp.java:54) 
> ~[storm-core-1.0.4.jar:1.0.4]
> 2017-08-07 17:12:34.620 o.a.s.u.Utils Thread-4 [ERROR] Halting process: Error 
> when processing an event
> java.lang.RuntimeException: Halting process: Error when processing an event
>         at org.apache.storm.utils.Utils.exitProcess(Utils.java:1750) 
> ~[storm-core-1.0.4.jar:1.0.4]
>         at 
> org.apache.storm.event.EventManagerImp$1.run(EventManagerImp.java:63) 
> ~[storm-core-1.0.4.jar:1.0.4]
> 2017-08-07 17:12:34.631 o.a.s.d.s.Supervisor Thread-5 [INFO] Shutting down 
> supervisor 65a0f977-474c-4938-a4f5-bc99939e96ff
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to