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 had searched in the issues and found no similar issues.
Environment
Linux
EventMesh version
master
What happened
When the property 'subsystem' of UserAgent is null
How to reproduce
Explicitly throw the 'key' of the exception to facilitate problem location.
Fix NPE
Debug logs
Location:
java.lang.NullPointerException: null
at org.apache.eventmesh.protocol.meshmessage.resolver.tcp.TcpMessageProtocolResolver.buildEvent(TcpMessageProtocolResolver.java:82)
at org.apache.eventmesh.protocol.meshmessage.MeshMessageProtocolAdaptor.deserializeTcpProtocol(MeshMessageProtocolAdaptor.java:81)
at org.apache.eventmesh.protocol.meshmessage.MeshMessageProtocolAdaptor.toCloudEvent(MeshMessageProtocolAdaptor.java:59)
at org.apache.eventmesh.runtime.core.protocol.tcp.client.task.MessageTransferTask.run(MessageTransferTask.java:110)
and location:
upload trace fail when finishSpanWithException
java.lang.NullPointerException: null
at org.apache.eventmesh.runtime.trace.Trace.addTraceInfoToSpan(Trace.java:104)
at org.apache.eventmesh.runtime.trace.TraceUtils.finishSpanWithException(TraceUtils.java:110)
at org.apache.eventmesh.runtime.core.protocol.tcp.client.task.MessageTransferTask.run(MessageTransferTask.java:184)
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Environment
Linux
EventMesh version
master
What happened
When the property 'subsystem' of UserAgent is null
How to reproduce
Debug logs
Location:
java.lang.NullPointerException: null
at org.apache.eventmesh.protocol.meshmessage.resolver.tcp.TcpMessageProtocolResolver.buildEvent(TcpMessageProtocolResolver.java:82)
at org.apache.eventmesh.protocol.meshmessage.MeshMessageProtocolAdaptor.deserializeTcpProtocol(MeshMessageProtocolAdaptor.java:81)
at org.apache.eventmesh.protocol.meshmessage.MeshMessageProtocolAdaptor.toCloudEvent(MeshMessageProtocolAdaptor.java:59)
at org.apache.eventmesh.runtime.core.protocol.tcp.client.task.MessageTransferTask.run(MessageTransferTask.java:110)
and location:
upload trace fail when finishSpanWithException
java.lang.NullPointerException: null
at org.apache.eventmesh.runtime.trace.Trace.addTraceInfoToSpan(Trace.java:104)
at org.apache.eventmesh.runtime.trace.TraceUtils.finishSpanWithException(TraceUtils.java:110)
at org.apache.eventmesh.runtime.core.protocol.tcp.client.task.MessageTransferTask.run(MessageTransferTask.java:184)
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: