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
analysis-api服务npe问题,不影响界面但看日志常常能看到这个空指针难受 #367
Comments
加和类事件,也会有类似问题。没有进入实验组的用户,没有上报数据,导致在指标分析时analysis报错,请问这种何解?: [ERROR][2024-03-06T17:19:46.812+0800][http-nio-4006-exec-7][DirectJDKLog.java:175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause |
执行SQL
得到的结果如下
其中std_deviation数据很容易为空,比如刚开始的时候,没有数据,左关联__metricUserValue,而__metricUserValue表没数据就会导致value没值,反应到代码就是
std_deviation为空,取不到double值就npe了,默认给个0也行哈
The text was updated successfully, but these errors were encountered: