LittleBoy18 opened a new issue #57:
URL: https://github.com/apache/rocketmq-exporter/issues/57
**Describe the bug**
ERROR Servlet.service() for servlet [dispatcherServlet] in context with path
[] threw exception [Request processing failed; nested exception is
java.lang.NullPointerException] with root cause
**To Reproduce**
1、my rocketmq cluster:
[root@iZuf656r3kyeyoiwpox5naZ ~]# kubectl get po -owide |grep rocketmq-im
rocketmq-rocketmq-im-broker-0-0 1/1
Running 0 19h 100.64.33.112 izuf615h19nemtvcuth6i1z
<none> <none>
rocketmq-rocketmq-im-broker-0-1 1/1
Running 0 10d 100.64.96.104 izuf6h2l856zkil30nj0jvz
<none> <none>
rocketmq-rocketmq-im-broker-1-0 1/1
Running 0 19h 100.64.171.150 izuf6auntvsw7izt7fuj49z
<none> <none>
rocketmq-rocketmq-im-broker-1-1 1/1
Running 0 19h 100.64.81.124 izuf60i0j5b3hllnuvtlg2z
<none> <none>
rocketmq-rocketmq-im-exporter-0 1/1
Running 0 8d 100.64.140.119 izuf68qwbr71d4x3noker8z
<none> <none>
rocketmq-rocketmq-imnamesrv-0 1/1
Running 0 28d 100.64.33.76 izuf615h19nemtvcuth6i1z
<none> <none>
rocketmq-rocketmq-imnamesrv-1 1/1
Running 1 28d 100.64.232.143 izuf6dftvdiba6ltbf9qeqz
<none> <none>
2、exporter service:
[root@iZuf656r3kyeyoiwpox5naZ ~]# kubectl get svc |grep rocketmq-im-exporter
rocketmq-rocketmq-im-exporter ClusterIP None
<none> 5557/TCP 28d
3、use metrics interface:
curl 100.64.140.119:5557/metrics
{"timestamp":"2021-05-20T03:05:48.494+0000","status":500,"error":"Internal
Server Error","message":"No message available","path":"/metrics"}
4、exporter log:
[2021-05-20 10:55:22.086] ERROR Servlet.service() for servlet
[dispatcherServlet] in context with path [] threw exception [Request processing
failed; nested exception is java.lang.NullPointerException] with root cause
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
rocketmq cluster is health,there is no more detailed log in the rocketmq
exporter.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]