NumberFormatException& Activiti Explorer中的NullPointer异常

时间:2015-01-15 19:18:14

标签: activiti bpm bpmn

每当我点击Activity Explorer中的Processes或Reports选项卡时,它会显示“Internal Error,Please notify administrator”,我在控制台中收到以下错误。

尝试在activiti论坛中搜索一些类似的错误,但没有解决方案。

任何人都可以帮我吗?

Jan 15, 2015 8: 09: 05 PM com.vaadin.Application terminalError
SEVERE: Terminal error:
  java.lang.NumberFormatException: For input string: "23.15999984741211"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.vaadin.terminal.gwt.client.MouseEventDetails.deSerialize(MouseEventDetails.java: 124)
at com.vaadin.ui.Button.changeVariables(Button.java: 223)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.changeVariables(AbstractCommunicationManager.java: 1460)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java: 1404)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java: 1329)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java: 761)

at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java: 325)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java: 501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java: 727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java: 52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 208)
at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java: 42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java: 503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java: 1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java: 611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java: 2466)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java: 2455)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java: 61)
at java.lang.Thread.run(Unknown Source)

Jan 15, 2015 8: 09: 05 PM com.vaadin.Application terminalError
SEVERE: Terminal error:
  java.lang.NullPointerException
at org.activiti.explorer.ExplorerApp.terminalError(ExplorerApp.java: 246)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleChangeVariablesError(AbstractCommunicationManager.ja va: 1564)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java: 1425)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java: 1329)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java: 761)

at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java: 325)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java: 501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java: 727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java: 52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 208)
at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java: 42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java: 503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java: 1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java: 611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java: 2466)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java: 2455)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java: 61)
at java.lang.Thread.run(Unknown Source)

2 个答案:

答案 0 :(得分:0)

看起来像是vaadin bug http://dev.vaadin.com/ticket/9115, 尝试更新vaadin版本。

答案 1 :(得分:0)

如果有人再次遇到问题: https://forums.activiti.org/content/activiti-explorer-runs-return-error#comment-35300

一种可能的解决方案是在web.xml文件中设置servlet过滤器,以便为http响应添加一个X-UA-Compatible标头。 根据这篇文章https://dev.vaadin.com/ticket/12635,另一种补救方法是将Vaadin升级到6.8版本。