`
liushengit
  • 浏览: 36708 次
  • 性别: Icon_minigender_1
  • 来自: 石家庄
社区版块
存档分类
最新评论

Activity 5.16 查看流程图报错,原因及解决办法

 
阅读更多

Activity 5.16 查看流程图报错:

 

java.lang.NullPointerException: null
	at org.activiti.image.impl.DefaultProcessDiagramGenerator.initProcessDiagramCanvas(DefaultProcessDiagramGenerator.java:729) ~[activiti-image-generator-5.16.3.jar:5.16.3]
	at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateProcessDiagram(DefaultProcessDiagramGenerator.java:453) ~[activiti-image-generator-5.16.3.jar:5.16.3]
	at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:383) ~[activiti-image-generator-5.16.3.jar:5.16.3]
	at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:388) ~[activiti-image-generator-5.16.3.jar:5.16.3]
	at com.cacss.apex.bpm.core.bpe.impl.BPEClientServiceImpl.getProcessDiagram(BPEClientServiceImpl.java:475) ~[apex.bpm.core-3.3.7s-SNAPSHOT.jar:na]
	at com.cacss.apex.web.process.controller.UserFlowController.diagram(UserFlowController.java:918) ~[classes/:na]
	at com.cacss.apex.web.process.controller.UserFlowController$$FastClassByCGLIB$$6da23618.invoke(<generated>) ~[spring-core-3.2.3.RELEASE.jar:na]
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at com.cacss.apex.web.process.controller.UserFlowController$$EnhancerByCGLIB$$e6a32712.diagram(<generated>) ~[spring-core-3.2.3.RELEASE.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_144]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_144]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144]
	at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) ~[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) ~[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) ~[spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) ~[spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) ~[spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) ~[spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) [servlet-api.jar:na]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:198) [javamelody-core-1.53.0.jar:1.53.0]
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:176) [javamelody-core-1.53.0.jar:1.53.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:399) [urlrewritefilter-4.0.4.jar:4.0.4]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.4.jar:1.2.4]
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.4.jar:1.2.4]
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.4.jar:1.2.4]
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.4.jar:1.2.4]
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.20]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.20]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [catalina.jar:8.5.20]
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.20]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.20]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-coyote.jar:8.5.20]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.20]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.20]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) [tomcat-coyote.jar:8.5.20]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.20]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_144]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.20]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_144]

 

 

原因这是因为流程图定义中,某个或多个元素未设置ID,如下图所示:



 

 

  • 大小: 26.5 KB
分享到:
评论

相关推荐

    Activiti 5.16

    - **BPMN 2.0 支持**:Activiti 5.16 完全遵循 BPMN 2.0 规范,允许开发者通过拖拽操作快速绘制出直观的流程图。 - **图形化设计器**:内置强大的图形化编辑器,支持多层级视图展示、注释添加等功能,极大提升了开发...

    [1分]activity 5.16中文用户手册,非常实用

    - **流程图:** 查看和管理流程定义。 - **任务:** 管理个人待办任务。 - **报表:** 生成各种流程报表。 ##### 11.3 Activiti Modeler - **编辑模型:** 直观地编辑和设计流程模型。 - **导入/导出:** 支持BPMN XML...

    activiti5.16中文用户手册

    用户可以通过一个10分钟的教程快速上手,并对流程图、XML内容、启动流程实例、任务列表管理、领取任务、完成任务以及结束流程等操作有所了解。 手册还对BPMN2.0的结构进行了深入的探讨,包括自定义扩展、事件...

    activiti 5.16 流程管理 中文版

    - **流程图**:查看流程图。 - **任务**:管理个人任务。 - **启动流程实例**:手动启动流程实例。 - **我的流程实例**:查看自己的流程实例。 - **管理**:系统管理功能。 - **报表**:生成报表数据。 - **报告数据...

    activiti-5.16

    9. **监控与审计**:内置的Activiti Explorer 提供了对运行时流程实例的监控,可以查看流程实例状态、任务列表,以及进行任务操作。此外,日志记录帮助进行流程审计和问题排查。 10. **社区支持**:作为活跃的开源...

    Activity-5.15版本下载(带源码)

    3. **增强的流程图可视化**:可能提供了更好的流程图编辑器和查看器,使流程设计更加直观。 4. **错误处理和回退机制**:可能增加了对异常情况的处理,以及流程回退功能,以便在出现问题时恢复到正常状态。 5. **...

    Activiti5.16中文用户手册

    BPMN 2.0 对比于第一个版本,其最重要的变化在于其定义了流程的元模型和执行语义,即它自己解决了存储、交换和执行的问题。这代表着 BPMN 2.0 流程定义模型不仅仅可以在任何兼容 BPMN 2.0 的引擎中执行,而且也可以...

    ActivePerl_5.16

    标题中的"ActivePerl_5.16"指的是该软件的特定版本,即5.16系列。Perl是一种强大的文本处理和脚本编程语言,广泛应用于系统管理、网络编程、网页开发等领域。 ActivePerl的5.16版本是2012年发布的一个重要里程碑,...

    activity工作流文档,版本号5.16的

    1. **Activity工作流文档:** 文档标题中的“Activity”很可能指的是Activiti工作流引擎,它是一个基于Java编写的轻量级业务流程管理(BPM)平台。Activiti可以用来设计、执行和监控BPMN 2.0规范的业务流程。Activiti...

    Activiti 5.16 用户手册-中文版

    3. **模型er工具**:Activiti提供了一个模型er,用于绘制和编辑BPMN流程图。手册将详细解释如何使用这个工具,包括添加活动、事件、网关等元素,并保存为BPMN 2.0 XML文件。 4. **流程定义**:涵盖各种流程元素,如...

    apache-activemq-5.16.5

    标题"apache-activemq-5.16.5"指的是该软件的一个特定版本,即5.16.5版本,通常每个新版本都会包含错误修复、性能提升以及新功能的添加。 描述中提到"启动要求jdk版本8+", 这意味着在运行Apache ActiveMQ 5.16.5...

    activePerl-5.16+bugzilla-5.0.zip

    《Bugzilla 5.0与ActivePerl 5.16:高效软件测试缺陷管理的黄金组合》 在软件开发过程中,缺陷管理是至关重要的环节,它确保了产品的质量和稳定性。Bugzilla作为一款开源且功能强大的缺陷跟踪系统,因其简单易用、...

    SpringMVC-Activiti5.16-Shiro-EasyUI.zip

    在5.16版本中,它提供了强大的流程定义工具,支持BPMN 2.0标准,可以创建复杂的流程图,包括任务、网关、事件等。Activiti还提供了API和服务,使得开发者可以在应用程序中轻松地启动、查询、干预和结束流程实例。 *...

    Dev-Cpp-5.16d.exe

    Dev-C++主页: ...Dev-C++ (或者叫做 Dev-Cpp)是 Windows 环境下的一个用于 C 语言和 C++ 语言程序设计的轻量级免费集成开发环境。...目前最新的版本是 5.16d(2022 年 3 月发布,适用于 64位 Windows 7/vista/8/10)

    perl 5.16 for windows

    强大的PERL程序,windows 64 bit,可以有效的帮助大家对perl的练习和学习,

    Activiti 5.16 用户手册

    1. **流程定义**:讲解了如何使用BPMN 2.0语言来设计流程图,包括任务(Task)、网关(Gateway)、事件(Event)和泳道(Pool/Lane)等元素的使用方法。 2. **流程实例**:介绍了如何启动和控制流程实例,以及如何...

    zoom会议号win版5.16

    zoom会议号win版5.16

    AWS A5.16A5.16M-2007 钛及钛合金焊接电极和焊条规范.pdf

    AWS A5.16A5.16M-2007 钛及钛合金焊接电极和焊条规范

    PDF Renderer v5.16.unitypackage

    PDF Renderer v5.16

Global site tag (gtag.js) - Google Analytics