lvcarlei commented on issue #6441:
URL: https://github.com/apache/skywalking/issues/6441#issuecomment-785672616


   
   Is this also a plugin bug?
   
   class[class org.elasticsearch.client.RestHighLevelClient] before 
method[search] intercept failure 
   java.lang.NullPointerException
           at 
org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.RestHighLevelClientSearchMethodsInterceptor.beforeMethod(RestHighLevelClientSearchMethodsInterceptor.java:45)
           at 
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:76)
           at 
org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java)
           at 
executor.aicoin.utils.hioes.EsUtil.getKlineRecordBytime(EsUtil.java:67)
           at 
executor.aicoin.service.KlineAnalysisService.getFormulaKlineResultByTime(KlineAnalysisService.java:291)
           at 
executor.aicoin.service.KlineAnalysisService.calKlineT(KlineAnalysisService.java:262)
           at 
executor.aicoin.service.KlineAnalysisService.calKline(KlineAnalysisService.java:389)
           at 
executor.aicoin.service.KlineAnalysisService$$FastClassBySpringCGLIB$$376ed08d.invoke(<generated>)
           at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
           at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
           at 
org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)
           at 
org.apache.skywalking.apm.plugin.spring.async.SWCallable.call(SWCallable.java:47)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to