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
I am getting the following error when using play-zipkin-tracing:
[info] java.lang.NullPointerException: context == null
[info] at brave.Tracer.joinSpan(Tracer.java:185)
[info] at brave.play.ZipkinTraceServiceLike.toSpan(ZipkinTraceServiceLike.scala:173)
[info] at brave.play.ZipkinTraceServiceLike.toSpan$(ZipkinTraceServiceLike.scala:168)
I am getting the following error when using
play-zipkin-tracing
:toSpan
usesjoinSpan
https://github.com/openzipkin-contrib/play-zipkin-tracing/blob/master/play-zipkin-tracing/core/src/main/scala/brave/play/ZipkinTraceServiceLike.scala#L168But the problem is it also passes
contextOrFlags.context()
tojoinSpan
, which might benull
if no context was extracted.Would using
nextSpan(contextOrFlags)
, as suggested in brave, be a better choice?https://github.com/openzipkin/brave/blob/master/brave/src/main/java/brave/Tracer.java#L160
The text was updated successfully, but these errors were encountered: