GitHub user Ethanlm opened a pull request:
https://github.com/apache/storm/pull/2819
[STORM-3213] fix server error on system component page on storm UI
Fix
```
2018-09-05 16:15:24.927 o.a.s.t.ProcessFunction pool-21-thread-55 [ERROR]
Internal error processing getComponentPageInfo
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.storm.daemon.nimbus.Nimbus.getComponentPageInfo(Nimbus.java:4238)
~[storm-server-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.generated.Nimbus$Processor$getComponentPageInfo.getResult(Nimbus.java:4577)
~[storm-client-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.generated.Nimbus$Processor$getComponentPageInfo.getResult(Nimbus.java:4556)
~[storm-client-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.thrift.ProcessFunction.process(ProcessFunction.java:38)
[shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
[shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.security.auth.SimpleTransportPlugin$SimpleWrapProcessor.process(SimpleTransportPlugin.java:169)
[storm-client-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:518)
[shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.thrift.server.Invocation.run(Invocation.java:18)
[shaded-deps-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_131]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NullPointerException
at
org.apache.storm.scheduler.resource.ResourceUtils.getBoltResources(ResourceUtils.java:37)
~[storm-server-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.storm.daemon.nimbus.Nimbus.getComponentPageInfo(Nimbus.java:4192)
~[storm-server-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
... 10 more
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Ethanlm/storm STORM-3213
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2819.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2819
commit 26a6c878ce368ddba026a2977f484523a70f3d56
Author: Ethan Li
Date: 2018-09-05T19:31:07Z
[STORM-3213] fix server error on system component page on storm UI
---