Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Use zipkin hippen NullPointerException #1208

Closed
2 tasks done
BigXin0109 opened this issue Sep 1, 2022 · 0 comments · Fixed by #1209
Closed
2 tasks done

[Bug] Use zipkin hippen NullPointerException #1208

BigXin0109 opened this issue Sep 1, 2022 · 0 comments · Fixed by #1209
Assignees
Labels
bug Something isn't working
Milestone

Comments

@BigXin0109
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Mac

EventMesh version

master

What happened

2022-09-01 16:46:28,737 WARN [eventMesh-sendMsg-] TraceUtils(TraceUtils.java:59) - upload trace fail when prepareSpan java.lang.NullPointerException: null at org.apache.eventmesh.trace.zipkin.ZipkinTraceService$1.get(ZipkinTraceService.java:125) ~[eventmesh-trace-zipkin-1.3.0-release.jar:1.3.0-release] at org.apache.eventmesh.trace.zipkin.ZipkinTraceService$1.get(ZipkinTraceService.java:117) ~[eventmesh-trace-zipkin-1.3.0-release.jar:1.3.0-release] at io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator.extractImpl(W3CTraceContextPropagator.java:165) ~[opentelemetry-api-1.3.0.jar:1.3.0] at io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator.extract(W3CTraceContextPropagator.java:156) ~[opentelemetry-api-1.3.0.jar:1.3.0] at org.apache.eventmesh.trace.zipkin.ZipkinTraceService.extractFrom(ZipkinTraceService.java:117) ~[eventmesh-trace-zipkin-1.3.0-release.jar:1.3.0-release] at org.apache.eventmesh.runtime.trace.Trace.extractFrom(Trace.java:78) ~[eventmesh-runtime-1.3.0-release.jar:1.3.0-release] at org.apache.eventmesh.runtime.trace.TraceUtils.prepareServerSpan(TraceUtils.java:55) ~[eventmesh-runtime-1.3.0-release.jar:1.3.0-release] at org.apache.eventmesh.runtime.core.protocol.http.processor.SendAsyncMessageProcessor.processRequest(SendAsyncMessageProcessor.java:101) ~[eventmesh-runtime-1.3.0-release.jar:1.3.0-release] at org.apache.eventmesh.runtime.boot.AbstractHTTPServer$HTTPHandler.lambda$processEventMeshRequest$1(AbstractHTTPServer.java:501) ~[eventmesh-runtime-1.3.0-release.jar:1.3.0-release] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_321] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_321] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_321] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_321] at java.lang.Thread.run(Thread.java:750) [?:1.8.0_321]

图片

How to reproduce

use zipkin

# trace plugin
eventMesh.server.trace.enabled=true
eventMesh.trace.plugin=zipkin

Debug logs

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@BigXin0109 BigXin0109 added the bug Something isn't working label Sep 1, 2022
qqeasonchen added a commit that referenced this issue Sep 2, 2022
[ISSUE #1208]: fix ZipkinTraceService NullPointerException
xwm1992 pushed a commit to xwm1992/EventMesh that referenced this issue Sep 23, 2022
[ISSUE apache#1208]: fix ZipkinTraceService NullPointerException
@xwm1992 xwm1992 added this to the 1.7.0 milestone Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants