何万里
神圣使者
神圣使者
  • UID60
  • 粉丝20
  • 关注121
  • 发帖数37
  • 社区居民
  • 忠实会员
  • 追星一族
阅读:7569回复:1

流程设置显示问题

楼主#
更多 发布于:2016-10-18 10:19
在流程管理中心,选中一个流程后,单击“流程设置”按钮,不显示内容:

图片:1.png





后台报错:

图片:2.png




10:31:12,798 INFO  [STDOUT] Hibernate: select prodefinit0_.defId as defId6_0_, prodefinit0_.name as name6_0_, prodefinit0_.processName as processN3_6_0_, prodefinit0_.description as descript4_6_0_, p
rodefinit0_.createtime as createtime6_0_, prodefinit0_.deployId as deployId6_0_, prodefinit0_.defXml as defXml6_0_, prodefinit0_.drawDefXml as drawDefXml6_0_, prodefinit0_.isDefault as isDefault6_0_,
 prodefinit0_.version as version6_0_, prodefinit0_.proDefTypeId as proDefT11_6_0_, prodefinit0_.status as status6_0_, prodefinit0_.proTypeId as proTypeId6_0_ from wps_pro_definition prodefinit0_ wher
e prodefinit0_.defId=?
10:31:12,807 INFO  [STDOUT] Hibernate: select deployment0_.DBID_ as DBID1_233_0_, deployment0_.NAME_ as NAME2_233_0_, deployment0_.TIMESTAMP_ as TIMESTAMP3_233_0_, deployment0_.STATE_ as STATE4_233_0
_ from JBPM4_DEPLOYMENT deployment0_ where deployment0_.DBID_=?
10:31:12,808 INFO  [STDOUT] Hibernate: select resources0_.DEPLOYMENT_ as DEPLOYMENT4_233_1_, resources0_.DBID_ as DBID1_1_, resources0_.NAME_ as NAME5_1_, resources0_.DBID_ as DBID1_223_0_, resources
0_.DBVERSION_ as DBVERSION2_223_0_, resources0_.BLOB_VALUE_ as BLOB3_223_0_ from JBPM4_LOB resources0_ where resources0_.DEPLOYMENT_=?
10:31:12,837 ERROR [STDERR] java.lang.NullPointerException
10:31:12,837 ERROR [STDERR]  at com.sunsheen.jfids.wps.definition.jpdl.image.JpdlModelDrawer.drawTransition(JpdlModelDrawer.java:312)
10:31:12,837 ERROR [STDERR]  at com.sunsheen.jfids.wps.definition.jpdl.image.JpdlModelDrawer.draw(JpdlModelDrawer.java:106)
10:31:12,837 ERROR [STDERR]  at com.sunsheen.jfids.wps.seam.rest.resource.ProcessImageResource.imageOrMap(ProcessImageResource.java:175)
10:31:12,837 ERROR [STDERR]  at com.sunsheen.jfids.wps.seam.rest.resource.ProcessImageResource.image(ProcessImageResource.java:76)
10:31:12,837 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:31:12,837 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
10:31:12,837 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:31:12,838 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:606)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
10:31:12,838 ERROR [STDERR]  at com.sunsheen.jfids.wps.seam.rest.resource.ProcessImageResource_$$_javassist_seam_63.image(ProcessImageResource_$$_javassist_seam_63.java)
10:31:12,838 ERROR [STDERR]  at com.sunsheen.jfids.wps.seam.rest.api.web.ProcessImageUI.image(ProcessImageUI.java:52)
10:31:12,838 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:31:12,838 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
10:31:12,838 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:31:12,838 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:606)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.resteasy.ResteasyContextInjectionInterceptor.aroundInvoke(ResteasyContextInjectionInterceptor.java:59)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
10:31:12,838 ERROR [STDERR]  at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
10:31:12,838 ERROR [STDERR]  at com.sunsheen.jfids.wps.seam.rest.api.web.ProcessImageUI_$$_javassist_seam_62.image(ProcessImageUI_$$_javassist_seam_62.java)
10:31:12,838 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:31:12,838 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
10:31:12,838 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:31:12,838 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:606)
10:31:12,838 ERROR [STDERR]  at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
10:31:12,838 ERROR [STDERR]  at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)
10:31:12,838 ERROR [STDERR]  at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)
10:31:12,838 ERROR [STDERR]  at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)
10:31:12,839 ERROR [STDERR]  at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)
10:31:12,839 ERROR [STDERR]  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
10:31:12,839 ERROR [STDERR]  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.resteasy.ResteasyResourceAdapter$1.process(ResteasyResourceAdapter.java:145)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.resteasy.ResteasyResourceAdapter.getResource(ResteasyResourceAdapter.java:120)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamResourceServlet.service(SeamResourceServlet.java:80)
10:31:12,839 ERROR [STDERR]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:31:12,839 ERROR [STDERR]  at org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:99)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:31:12,839 ERROR [STDERR]  at com.sunsheen.jfids.system.servlet.SystemPageFilter.doFilter(Unknown Source)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:79)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:67)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:67)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:67)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:67)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
10:31:12,839 ERROR [STDERR]  at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:156)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:31:12,839 ERROR [STDERR]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
10:31:12,839 ERROR [STDERR]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
10:31:12,839 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
10:31:12,839 ERROR [STDERR]  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
10:31:12,840 ERROR [STDERR]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
10:31:12,840 ERROR [STDERR]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
10:31:12,840 ERROR [STDERR]  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
10:31:12,840 ERROR [STDERR]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:31:12,840 ERROR [STDERR]  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
10:31:12,840 ERROR [STDERR]  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
10:31:12,840 ERROR [STDERR]  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
10:31:12,840 ERROR [STDERR]  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
10:31:12,840 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:744)




请问一下,怎么解决?
不勤劳,连棵花也养不活。
周进
风云使者
风云使者
  • UID2
  • 粉丝15
  • 关注12
  • 发帖数264
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 原创写手
沙发#
发布于:2016-10-18 10:45
mei1:修改流程图相关节点表数据,如下图

图片:9F2720A4-AD5E-401F-86DF-4B1F8BF056E7.png


2:节点数据问题分析:
A:后面两个task的连线(transition)没有坐标(g),可以试着添加上

图片:555.jpg


B:不然连线的名称出现的位置可能不对,坐标的值是相对于左上角为原点,向下为y坐标,向右为x坐标,这个连线的坐标值为(x,y)

图片:111.jpg



图片:222.jpg


注:前端打得开和后台是不一样的,后台是通过java程序生成图片,前台是利用js实现,原理不一样。
D:老版本平台没有进行判断,如下图:

图片:77.jpg


E:新版本平台添加了判断,如下图:

图片:88.jpg

世上本没有路,走的人多了,便变成了路.
游客

返回顶部