You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the subsegment is null when there is no tracing context, this line will cause an NPE. In short-term the subsegment capture needs to do null-check. In long-term the recorder should deprecate the Subsegment beginSubsegment() and force all callers to use Optional<Subsegment> beginSubsegment().
The text was updated successfully, but these errors were encountered:
https://github.com/aws/aws-xray-sdk-java/blob/master/aws-xray-recorder-sdk-spring/src/main/java/com/amazonaws/xray/spring/aop/AbstractXRayInterceptor.java#L50
If the subsegment is
null
when there is no tracing context, this line will cause an NPE. In short-term the subsegment capture needs to do null-check. In long-term the recorder should deprecate theSubsegment beginSubsegment()
and force all callers to useOptional<Subsegment> beginSubsegment()
.The text was updated successfully, but these errors were encountered: