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 2022/06/20 12:06:10 UTC
[GitHub] [skywalking-java] hutaishi opened a new pull request, #215: [Bug #9250]shenyu plugin fix IgnoredTracerContext traceId NPE
hutaishi opened a new pull request, #215:
URL: https://github.com/apache/skywalking-java/pull/215
### Fix <Apache Shenyu plugin NPE #9250> https://github.com/apache/skywalking/issues/9250
- [ ] Add a unit test to verify that the fix works.
- [ ] Explain briefly why the bug exists and how to fix it.
When the implementation class of AbstractTracerContext is IgnoredTracerContext, the DistributedTraceId obtained from the context is empty, resulting in a null pointer exception for obtaining the traceId
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking-java] hutaishi commented on a diff in pull request #215: [Bug #9250]shenyu plugin fix IgnoredTracerContext traceId NPE
Posted by GitBox <gi...@apache.org>.
hutaishi commented on code in PR #215:
URL: https://github.com/apache/skywalking-java/pull/215#discussion_r901633933
##########
CHANGES.md:
##########
@@ -4,7 +4,7 @@ Release Notes.
8.12.0
------------------
-
+* Fix `Shenyu plugin` IgnoredTracerContext traceId NPE(Use with the apm-trace-ignore-plugin plugin will trigger)
Review Comment:
> IgnoredTracerContext could be activated in many cases, such as ignore-plugin, sampling policy activated, and agent disconnected with the OAP server.
Understood, not enough consideration at the time
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking-java] wu-sheng merged pull request #215: [Bug #9250]shenyu plugin fix IgnoredTracerContext traceId NPE
Posted by GitBox <gi...@apache.org>.
wu-sheng merged PR #215:
URL: https://github.com/apache/skywalking-java/pull/215
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking-java] hutaishi commented on pull request #215: [Bug #9250]shenyu plugin fix IgnoredTracerContext traceId NPE
Posted by GitBox <gi...@apache.org>.
hutaishi commented on PR #215:
URL: https://github.com/apache/skywalking-java/pull/215#issuecomment-1160393050
> Please update the changelog, 8.11.0 is out today, so, we need this fix in 8.12.0 changes.
Thanks for the reminder. Now updated
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking-java] wu-sheng commented on a diff in pull request #215: [Bug #9250]shenyu plugin fix IgnoredTracerContext traceId NPE
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on code in PR #215:
URL: https://github.com/apache/skywalking-java/pull/215#discussion_r901627685
##########
CHANGES.md:
##########
@@ -4,7 +4,7 @@ Release Notes.
8.12.0
------------------
-
+* Fix `Shenyu plugin` IgnoredTracerContext traceId NPE(Use with the apm-trace-ignore-plugin plugin will trigger)
Review Comment:
```suggestion
* Fix `Shenyu plugin`'s NPE in reading read trace ID when IgnoredTracerContext is used in the context.
```
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking-java] wu-sheng commented on a diff in pull request #215: [Bug #9250]shenyu plugin fix IgnoredTracerContext traceId NPE
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on code in PR #215:
URL: https://github.com/apache/skywalking-java/pull/215#discussion_r901628549
##########
CHANGES.md:
##########
@@ -4,7 +4,7 @@ Release Notes.
8.12.0
------------------
-
+* Fix `Shenyu plugin` IgnoredTracerContext traceId NPE(Use with the apm-trace-ignore-plugin plugin will trigger)
Review Comment:
IgnoredTracerContext could be activated in many cases, such as ignore-plugin, sampling policy activated, and agent disconnected with the OAP server.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking-java] wu-sheng commented on pull request #215: [Bug #9250]shenyu plugin fix IgnoredTracerContext traceId NPE
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on PR #215:
URL: https://github.com/apache/skywalking-java/pull/215#issuecomment-1160383916
Please update the changelog, 8.11.0 is out today, so, we need this fix in 8.12.0 changes.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org