You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/04/04 10:27:12 UTC
[GitHub] [incubator-skywalking] lxh1214 opened a new issue #2446:
RabbitMQConsumerInterceptor intercept failure java.lang.NullPointerException
lxh1214 opened a new issue #2446: RabbitMQConsumerInterceptor intercept failure java.lang.NullPointerException
URL: https://github.com/apache/incubator-skywalking/issues/2446
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [x] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Bug
- Which version of SkyWalking, OS and JRE?
version: 6.0.0-GA
OS: windows 10
JRE: 1.8
- What happen?
A service is a rabbitMq pruducer but there is no integration skywalking agent.
B service is a rabbitMq consumer integration skywalking agent.
A and B integrate the same rabbitMq.
B consumer A‘s a message throws npe .

i see and debug code RabbitMQConsumerInterceptor, find **RabbitMQConsumerInterceptor
line 54: properties.getHeaders().get(next.getHeadKey())** is null

___
### Requirement or improvement
- Please describe about your requirements or improvement suggestions.
RabbitMQConsumerInterceptor line 54 `properties.getHeaders().get(next.getHeadKey())` execute's result is null deal
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services