NPE if no extracted span context
malafeev opened this issue · comments
Sergei Malafeev commented
if extractedContext
is null then .asChildOf(extractedContext)
here can produce NPE and it does for Lightstep tracer
Gary Brown commented
The asChildOf
method should be able to accept a null
: https://github.com/opentracing/opentracing-java/blob/master/opentracing-api/src/main/java/io/opentracing/Tracer.java#L106
Sergei Malafeev commented
thanks @objectiser
will file issue against Lightstep