naah69 opened a new issue #5311:
URL: https://github.com/apache/skywalking/issues/5311
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [x] Question or discussion
- [ ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
why it throwed exception and what i will do can make it work.
___
### Bug
- Which version of SkyWalking, OS and JRE?
agent 8.10 , openjdk 8 ,rocketmq4.3
- Which company or project?
- What happened?
If possible, provide a way to reproduce the error. e.g. demo application,
component version.
i use sync send message in rocketmq,
it throw error and agent did't work ,don't send data to collector
```
ERROR 2020-08-14 14:47:48:750 AsyncSenderExecutor_1 InstMethodsInter :
class[class
org.apache.rocketmq.client.trace.AsyncTraceDispatcher$AsyncAppenderRequest$1]
before method[onException] intercept failure
java.lang.NullPointerException
at
org.apache.skywalking.apm.plugin.rocketMQ.v4.OnExceptionInterceptor.beforeMethod(OnExceptionInterceptor.java:42)
at
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:76)
at
org.apache.rocketmq.client.trace.AsyncTraceDispatcher$AsyncAppenderRequest$1.onException(AsyncTraceDispatcher.java)
at
org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl$4.run(DefaultMQProducerImpl.java:512)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
```
___
### Requirement or improvement
- Please describe your requirements or improvement suggestions.
----------------------------------------------------------------
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]