lzdujing opened a new issue #7571:
URL: https://github.com/apache/skywalking/issues/7571
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ T] Question or discussion
- [ ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
I already used version 8.6.0 which has fixed the error: NPE when thrift
field is nested ,but context is still null, why?
___
### Bug
- Which version of SkyWalking, OS, and JRE?
8.6.0
- Which company or project?
- What happened?
If possible, provide a way to reproduce the error. e.g. demo application,
component version.
context is null, why?
code position:
ServerInProtocolWrapper#readFieldBegin()
@Override
public TField readFieldBegin() throws TException {
................
if (field.type == TType.STOP) {
Boolean haveCreatedSpan =
(Boolean)
ContextManager.getRuntimeContext().get(HAVE_CREATED_SPAN);
if (haveCreatedSpan != null && !haveCreatedSpan) {
try {
AbstractSpan span = ContextManager.createEntrySpan(
context.getOperatorName(),
createContextCarrier(null));
span.start(context.startTime);
span.tag(TAG_ARGS, context.getArguments());
span.setComponent(ComponentsDefine.THRIFT_SERVER);
SpanLayer.asRPCFramework(span);
} catch (Throwable throwable) {
LOGGER.error("Failed to create EntrySpan.", throwable);
} finally {
context = null;
}
return field;
}
___
### 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]