未验证 提交 7b206458 编写于 作者: K kezhenxu94 提交者: GitHub

Fix NPE when OAP nodes synchronize events with each other in cluster mode (#7531)

上级 6d3a33ea
......@@ -44,6 +44,7 @@ Release Notes.
* Add a new API to test log analysis language.
* Harden the security of Groovy-based DSL, MAL and LAL.
* Fix distinct in Service/Instance/Endpoint query is not working.
* Fix NPE when OAP nodes synchronize events with each other in cluster mode.
#### UI
......
......@@ -18,6 +18,7 @@
package org.apache.skywalking.oap.server.core.source;
import com.google.common.base.Strings;
import java.util.HashMap;
import java.util.Map;
import lombok.EqualsAndHashCode;
......@@ -186,7 +187,7 @@ public class Event extends Metrics implements ISource, WithMetadata, LongValueHo
builder.addDataStrings(getName());
builder.addDataStrings(getType());
builder.addDataStrings(getMessage());
builder.addDataStrings(getParameters());
builder.addDataStrings(Strings.nullToEmpty(getParameters()));
builder.addDataLongs(getStartTime());
builder.addDataLongs(getEndTime());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册