NullPointerException at com.signavio.editor.handler.EditorHandler.getJSONString
java.lang.NullPointerException
at com.signavio.editor.handler.EditorHandler.getJSONString(EditorHandler.java:395)
at com.signavio.editor.handler.EditorHandler.doGet(EditorHandler.java:113)
at com.signavio.platform.servlets.DispatcherServlet.dispatch(DispatcherServlet.java:116)
at com.signavio.platform.servlets.DispatcherServlet.doGet(DispatcherServlet.java:158)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.signavio.platform.filters.ParseParametersFilter.doFilter(ParseParametersFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.signavio.platform.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.signavio.platform.filters.EncodingFilter.doFilter(EncodingFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.signavio.platform.filters.HandlerFilter.doFilter(HandlerFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.signavio.platform.filters.RequestExceptionFilter.doFilter(RequestExceptionFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
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:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
http://localhost:8080/jbpmeditor/p/editor?id=root-directory%3Bmyjbpm%3B%E8%AF%B7%E5%81%87%E6%B5%81%E7%A8%8B.jpdl.xml
在JBPM在线流程定义插件signavio中,当重新编辑原来已定义的流程时,会报以上错误。
这个原因是由于中文文件名或者中文路径引起的,改为英文即可。