未验证 提交 667f3be3 编写于 作者: A Ax1an 提交者: GitHub

Avoid NPE in ElasticSearch 5 client due to version mismatch. (#6863)

上级 0036ea67
......@@ -24,6 +24,7 @@ Release Notes.
* Add `spring-cloud-gateway-3.x` optional plugin.
* Add `okhttp-4.x` plugin.
* Fix NPE when thrift field is nested in plugin `thrift`
* Fix possible NullPointerException in agent's ES plugin.
#### OAP-Backend
* BugFix: filter invalid Envoy access logs whose socket address is empty.
......
......@@ -257,4 +257,9 @@ public class RestHighLevelClientInstrumentation extends ClassEnhancePluginDefine
public StaticMethodsInterceptPoint[] getStaticMethodsInterceptPoints() {
return new StaticMethodsInterceptPoint[0];
}
@Override
protected String[] witnessClasses() {
return new String[] {Constants.TASK_TRANSPORT_CHANNEL_WITNESS_CLASSES};
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册