You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/03/13 15:06:13 UTC
[GitHub] zhangkewei opened a new issue #939: [collector] '/ by zero' error in 5.0.0-alpha
zhangkewei opened a new issue #939: [collector] '/ by zero' error in 5.0.0-alpha
URL: https://github.com/apache/incubator-skywalking/issues/939
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [x ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Bug
- Which version of SkyWalking, OS and JRE?
SkyWalking?5.0.0-alpha
JRE: 1.8.0_131
OS: CentOS release 6.7 x64
- What happen?
In my application environment, I found that some collector api call with 'java.lang.ArithmeticException: / by zero' error.
/getServerResponseTimeTrend
/getApplicationTopology
/getClusterTopology
```
The detail message is ?
java.lang.ArithmeticException: / by zero
at org.apache.skywalking.apm.collector.storage.es.dao.ui.InstanceMetricEsUIDAO.getResponseTimeTrend(InstanceMetricEsUIDAO.java:147) ~[collector-storage-es-provider-5.0.0-alpha.jar:5.0.0-alpha]
at org.apache.skywalking.apm.collector.ui.service.ServerService.getServerResponseTimeTrend(ServerService.java:100) ~[collector-ui-jetty-provider-5.0.0-alpha.jar:5.0.0-alpha]
at org.apache.skywalking.apm.collector.ui.query.ServerQuery.getServerResponseTimeTrend(ServerQuery.java:70) ~[collector-ui-jetty-provider-5.0.0-alpha.jar:5.0.0-alpha]
at org.apache.skywalking.apm.collector.ui.query.ServerQueryMethodAccess.invoke(Unknown Source) ~[reflectasm-1.11.3.jar:5.0.0-alpha]
at com.coxautodev.graphql.tools.MethodFieldResolverDataFetcher.get(MethodFieldResolver.kt:132) ~[graphql-java-tools-4.3.0.jar:?]
at graphql.execution.ExecutionStrategy.fetchField(ExecutionStrategy.java:219) [graphql-java-6.0.jar:?]
at graphql.execution.ExecutionStrategy.resolveField(ExecutionStrategy.java:165) [graphql-java-6.0.jar:?]
at graphql.execution.AsyncExecutionStrategy.execute(AsyncExecutionStrategy.java:55) [graphql-java-6.0.jar:?]
at graphql.execution.Execution.executeOperation(Execution.java:154) [graphql-java-6.0.jar:?]
at graphql.execution.Execution.execute(Execution.java:98) [graphql-java-6.0.jar:?]
at graphql.GraphQL.execute(GraphQL.java:546) [graphql-java-6.0.jar:?]
at graphql.GraphQL.parseValidateAndExecute(GraphQL.java:488) [graphql-java-6.0.jar:?]
at graphql.GraphQL.executeAsync(GraphQL.java:463) [graphql-java-6.0.jar:?]
at graphql.GraphQL.execute(GraphQL.java:394) [graphql-java-6.0.jar:?]
at org.apache.skywalking.apm.collector.ui.jetty.handler.GraphQLHandler.execute(GraphQLHandler.java:121) [collector-ui-jetty-provider-5.0.0-alpha.jar:5.0.0-alpha]
at org.apache.skywalking.apm.collector.ui.jetty.handler.GraphQLHandler.doPost(GraphQLHandler.java:115) [collector-ui-jetty-provider-5.0.0-alpha.jar:5.0.0-alpha]
at org.apache.skywalking.apm.collector.server.jetty.JettyHandler.doPost(JettyHandler.java:65) [server-component-5.0.0-alpha.jar:5.0.0-alpha]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
at org.apache.skywalking.apm.collector.server.jetty.JettyHandler.service(JettyHandler.java:112) [server-component-5.0.0-alpha.jar:5.0.0-alpha]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services