lujiajing1126 commented on PR #559:
URL: https://github.com/apache/skywalking-java/pull/559#issuecomment-1600049892

   > So, in this case, the posting message is not traced? Isn't this a bug 
rather than fix NPE?
   
   It is traced but orphan. When calling `Context.continue` to correlate two 
Spans, it throws NPE since the TracingContext does not exist in a new thread.
   
   I think it is users' responsibility to propagate tracing context in this 
case, e.g. use `@TraceCrossThread`.
   
   This PR can only avoid NPE to be thrown.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to