[ https://issues.apache.org/jira/browse/STORM-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453554#comment-16453554 ]
Jungtaek Lim commented on STORM-2444: ------------------------------------- That was intermittent. Let's reopen if we see it again. > Nimbus sometimes throws NPE when clicking show topology visualization button > ---------------------------------------------------------------------------- > > Key: STORM-2444 > URL: https://issues.apache.org/jira/browse/STORM-2444 > Project: Apache Storm > Issue Type: Bug > Components: storm-core > Affects Versions: 2.0.0 > Reporter: Jungtaek Lim > Priority: Major > > Here's error message from Nimbus (containing stack trace): > {code} > {"error":"Internal Server > Error","errorMessage":"java.lang.NullPointerException\n\tat > org.apache.storm.stats.StatsUtil.mergeWithAddPair(StatsUtil.java:1997)\n\tat > org.apache.storm.stats.StatsUtil.expandAveragesSeq(StatsUtil.java:2511)\n\tat > org.apache.storm.stats.StatsUtil.aggregateAverages(StatsUtil.java:877)\n\tat > org.apache.storm.stats.StatsUtil.aggregateBoltStats(StatsUtil.java:776)\n\tat > org.apache.storm.stats.StatsUtil.boltStreamsStats(StatsUtil.java:942)\n\tat > org.apache.storm.ui.core$visualization_data$iter__3002__3006$fn__3007.invoke(core.clj:239)\n\tat > clojure.lang.LazySeq.sval(LazySeq.java:40)\n\tat > clojure.lang.LazySeq.seq(LazySeq.java:49)\n\tat > clojure.lang.Cons.next(Cons.java:39)\n\tat > clojure.lang.RT.next(RT.java:674)\n\tat > clojure.core$next__4112.invoke(core.clj:64)\n\tat > clojure.core$dorun.invoke(core.clj:3010)\n\tat > clojure.core$doall.invoke(core.clj:3025)\n\tat > org.apache.storm.ui.core$visualization_data.invoke(core.clj:268)\n\tat > org.apache.storm.ui.core$build_visualization.invoke(core.clj:591)\n\tat > org.apache.storm.ui.core$fn__3641.invoke(core.clj:1204)\n\tat > org.apache.storm.shade.compojure.core$make_route$fn__324.invoke(core.clj:100)\n\tat > > org.apache.storm.shade.compojure.core$if_route$fn__312.invoke(core.clj:46)\n\tat > > org.apache.storm.shade.compojure.core$if_method$fn__305.invoke(core.clj:31)\n\tat > > org.apache.storm.shade.compojure.core$routing$fn__330.invoke(core.clj:113)\n\tat > clojure.core$some.invoke(core.clj:2570)\n\tat > org.apache.storm.shade.compojure.core$routing.doInvoke(core.clj:113)\n\tat > clojure.lang.RestFn.applyTo(RestFn.java:139)\n\tat > clojure.core$apply.invoke(core.clj:632)\n\tat > org.apache.storm.shade.compojure.core$routes$fn__334.invoke(core.clj:118)\n\tat > > org.apache.storm.shade.ring.middleware.json$wrap_json_params$fn__1383.invoke(json.clj:56)\n\tat > > org.apache.storm.shade.ring.middleware.multipart_params$wrap_multipart_params$fn__918.invoke(multipart_params.clj:118)\n\tat > > org.apache.storm.shade.ring.middleware.reload$wrap_reload$fn__747.invoke(reload.clj:22)\n\tat > > org.apache.storm.ui.helpers$requests_middleware$fn__2903.invoke(helpers.clj:54)\n\tat > org.apache.storm.ui.core$catch_errors$fn__3813.invoke(core.clj:1462)\n\tat > org.apache.storm.shade.ring.middleware.keyword_params$wrap_keyword_params$fn__2632.invoke(keyword_params.clj:35)\n\tat > > org.apache.storm.shade.ring.middleware.nested_params$wrap_nested_params$fn__2675.invoke(nested_params.clj:84)\n\tat > > org.apache.storm.shade.ring.middleware.params$wrap_params$fn__2604.invoke(params.clj:64)\n\tat > > org.apache.storm.shade.ring.middleware.multipart_params$wrap_multipart_params$fn__918.invoke(multipart_params.clj:118)\n\tat > > org.apache.storm.shade.ring.middleware.flash$wrap_flash$fn__2890.invoke(flash.clj:35)\n\tat > > org.apache.storm.shade.ring.middleware.session$wrap_session$fn__2876.invoke(session.clj:98)\n\tat > > org.apache.storm.shade.ring.util.servlet$make_service_method$fn__2498.invoke(servlet.clj:127)\n\tat > > org.apache.storm.shade.ring.util.servlet$servlet$fn__2502.invoke(servlet.clj:136)\n\tat > > org.apache.storm.shade.ring.util.servlet.proxy$javax.servlet.http.HttpServlet$ff19274a.service(Unknown > Source)\n\tat > org.apache.storm.shade.org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:654)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1320)\n\tat > > org.apache.storm.logging.filters.AccessLoggingFilter.handle(AccessLoggingFilter.java:47)\n\tat > > org.apache.storm.logging.filters.AccessLoggingFilter.doFilter(AccessLoggingFilter.java:39)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.Server.handle(Server.java:369)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)\n\tat > > org.apache.storm.shade.org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)\n\tat > java.lang.Thread.run(Thread.java:745)\n"} > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)