-
Notifications
You must be signed in to change notification settings - Fork 241
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
NullPointerException when a mission is aborted #139
Comments
Interesting part of log leading up to the error, when a workload was cancelled: 2013-12-06 14:17:39,406 [INFO] [WorkloadProcessor] - successfully cancelled workload w126 |
fixed on branch 0.4.0.0 |
re-observe this issue. |
see commits: d2c6bfc |
and commit: f577488 |
A couple of variants here:
2013-12-16 17:16:09,731 [ERROR] [AbstractCommandHandler] - unexpected error
java.lang.NullPointerException
at com.intel.cosbench.driver.model.WorkerContext.getSnapshot(WorkerContext.java:122)
at com.intel.cosbench.driver.model.MissionContext.getSnapshot(MissionContext.java:188)
at com.intel.cosbench.driver.handler.QueryHandler.getResponse(QueryHandler.java:39)
at com.intel.cosbench.driver.handler.QueryHandler.process(QueryHandler.java:34)
at com.intel.cosbench.driver.handler.MissionHandler.process(MissionHandler.java:44)
at com.intel.cosbench.driver.handler.AbstractCommandHandler.handleRequest(AbstractCommandHandler.java:76)
at com.intel.cosbench.driver.handler.QueryHandler.handleRequest(QueryHandler.java:1)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:724)
2013-12-16 17:16:09,732 [ERROR] [AbstractCommandTasklet] - driver report error: HTTP 500 - null
or if a write was in progress:
2013-12-06 14:17:58,422 [ERROR] [AbstractAgent] - unexpected exception
java.lang.NullPointerException
at com.intel.cosbench.driver.operator.Writer.doWrite(Writer.java:100)
at com.intel.cosbench.driver.operator.Preparer.operate(Preparer.java:95)
at com.intel.cosbench.driver.operator.AbstractOperator.operate(AbstractOperator.java:71)
at com.intel.cosbench.driver.agent.WorkAgent.performOperation(WorkAgent.java:175)
at com.intel.cosbench.driver.agent.WorkAgent.doWork(WorkAgent.java:161)
at com.intel.cosbench.driver.agent.WorkAgent.execute(WorkAgent.java:118)
at com.intel.cosbench.driver.agent.AbstractAgent.call(AbstractAgent.java:44)
at com.intel.cosbench.driver.agent.AbstractAgent.call(AbstractAgent.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
The text was updated successfully, but these errors were encountered: