|
楼主 |
发表于 2016-6-28 09:28:32
|
显示全部楼层
报以下错:
2016-06-28 09:23:36 [SQL Time]sql 执行时间:2ms, exec KSQL: insert into SA_Task i (i, i.sProcessName, i.sKindID, i.sStatusName, i.sAIID, i.sLock, i.sActivity, i.sExpectStartTime, i.sProcessTemplateID2, i.sProcess, i.sStatusID, i.sAIStatusID, i.sLastModifyTime, i.sActualStartTime, i.sVariable, i.sActualFinishTime, i.sCreateTime, i.sCatalogID, i.sActivityName, i.sExpectFinishTime, i.sFlowID, i.sActivityInTemplate, i.sTypeName, i.sData1, i.version, i.sParent) values ('5AF2DE3440D447268DA8A6006FA0C637', :sProcessName, :sKindID, :sStatusName, :sAIID, :sLock, :sActivity, :sExpectStartTime, :sProcessTemplateID2, :sProcess, :sStatusID, :sAIStatusID, :sLastModifyTime, :sActualStartTime, :sVariable, :sActualFinishTime, :sCreateTime, :sCatalogID, :sActivityName, :sExpectFinishTime, :sFlowID, :sActivityInTemplate, :sTypeName, :sData1, 0, 'A3A299BAC7044CA0BB75FD99C9427DB5')
--> sql:INSERT INTO SA_Task (SA_Task.sID, SA_Task.SPROCESSNAME, SA_Task.SKINDID, SA_Task.SSTATUSNAME, SA_Task.SAIID, SA_Task.SLOCK, SA_Task.SACTIVITY, SA_Task.SEXPECTSTARTTIME, SA_Task.SPROCESSTEMPLATEID2, SA_Task.SPROCESS, SA_Task.SSTATUSID, SA_Task.SAISTATUSID, SA_Task.SLASTMODIFYTIME, SA_Task.SACTUALSTARTTIME, SA_Task.SVARIABLE, SA_Task.SACTUALFINISHTIME, SA_Task.SCREATETIME, SA_Task.SCATALOGID, SA_Task.SACTIVITYNAME, SA_Task.SEXPECTFINISHTIME, SA_Task.SFLOWID, SA_Task.SACTIVITYINTEMPLATE, SA_Task.STYPENAME, SA_Task.SDATA1, SA_Task.VERSION, SA_Task.sParentID) VALUES (?, ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ?, ?)
--> binds:[5AF2DE3440D447268DA8A6006FA0C637, 加班录入表, tkTask, 完成, 5AF2DE3440D447268DA8A6006FA0C637, F141084755B4468883FD7CB8C93CF151, conditionBranch2, 2016-06-28 09:23:36.583, , /jiaban/result/process/result/resultProcess, tesFinished, end, 2016-06-28 09:23:36.584, 2016-06-28 09:23:36.583, x=;, 2016-06-28 09:23:36.584, 2016-06-28 09:23:36.583, tsProcess, 是否法定节日, 2016-06-28 09:23:36.584, A3A299BAC7044CA0BB75FD99C9427DB5, conditionBranch2, 加班录入表, BBC298D887E44208AA9A48E0148378AA, 0, A3A299BAC7044CA0BB75FD99C9427DB5]
2016-06-28 09:23:36 [SQL Time]sql 执行时间:1ms, exec KSQL: insert into SA_Task.sNext (SA_Task, SA_Task.sNext) values ('5AF2DE3440D447268DA8A6006FA0C637', '7841233A2C8647908EF09517BDC7E575')
--> sql:INSERT INTO SA_TaskRelation (SA_TaskRelation.sTaskID1, SA_TaskRelation.sTaskID2) VALUES (?, ?)
--> binds:[5AF2DE3440D447268DA8A6006FA0C637, 7841233A2C8647908EF09517BDC7E575]
2016-06-28 09:23:36 [SQL Time]sql 执行时间:1ms, exec KSQL: insert into SA_TokenInstance i (i, i.sProcess, i.sPlace, i.sFromActivity, i.sProcessInstanceID, i.sActive, i.sValue, i.sFromActivityInstanceID) values ('195996A23E6940A9A0CB9B107D7C9F61', :sProcess, :sPlace, :sFromActivity, :sProcessInstanceID, :sActive, :sValue, :sFromActivityInstanceID)
--> sql:INSERT INTO SA_TokenInstance (SA_TokenInstance.sID, SA_TokenInstance.SPROCESS, SA_TokenInstance.SPLACE, SA_TokenInstance.SFROMACTIVITY, SA_TokenInstance.SPROCESSINSTANCEID, SA_TokenInstance.SACTIVE, SA_TokenInstance.SVALUE, SA_TokenInstance.SFROMACTIVITYINSTANCEID) VALUES (?, ? , ? , ? , ? , ? , ? , ? )
--> binds:[195996A23E6940A9A0CB9B107D7C9F61, /jiaban/result/process/result/resultProcess, end1, conditionBranch2-FalseActivity-IfElse_, A3A299BAC7044CA0BB75FD99C9427DB5, true, , 7841233A2C8647908EF09517BDC7E575]
2016-06-28 09:23:36 [SQL Time]sql 执行时间:0ms, exec KSQL: select c.sContent from SA_ProcessControl c where c.sProcess='/jiaban/result/process/result/resultProcess' and c.sActivity='businessActivity1' and c.sAction='advanceProcessAction' and c.sOperatorID='mSg458o6WB6YcRi3olS' and (c.sProcessTemplateID2 IS NULL or c.sProcessTemplateID2 = '')
--> sql:SELECT c.SCONTENT AS sContent FROM SA_ProcessControl c WHERE (c.SPROCESS = ?) AND (c.SACTIVITY = ?) AND (c.SACTION = ?) AND (c.SOPERATORID = ?) AND ( (c.SPROCESSTEMPLATEID2 IS NULL) OR (c.SPROCESSTEMPLATEID2 = ?) )
--> binds:[/jiaban/result/process/result/resultProcess, businessActivity1, advanceProcessAction, mSg458o6WB6YcRi3olS, ]
2016-06-28 09:23:36 [SQL Time]sql 执行时间:1ms, exec KSQL: update SA_ProcessControl c set c.sContent='<process-control><notice/><to><process-control-item><process>/jiaban/result/process/result/resultProcess</process><template></template><unit>end1</unit><executors/></process-control-item></to></process-control>' where c.sProcess='/jiaban/result/process/result/resultProcess' and c.sActivity='businessActivity1' and c.sAction='advanceProcessAction' and c.sOperatorID='mSg458o6WB6YcRi3olS' and (c.sProcessTemplateID2 IS NULL or c.sProcessTemplateID2 = '')
--> sql:UPDATE SA_ProcessControl SET SA_ProcessControl.SCONTENT = ? WHERE (SA_ProcessControl.SPROCESS = ?) AND (SA_ProcessControl.SACTIVITY = ?) AND (SA_ProcessControl.SACTION = ?) AND (SA_ProcessControl.SOPERATORID = ?) AND ( (SA_ProcessControl.SPROCESSTEMPLATEID2 IS NULL) OR (SA_ProcessControl.SPROCESSTEMPLATEID2 = ?) )
--> binds:[<process-control><notice/><to><process-control-item><process>/jiaban/result/process/result/resultProcess</process><template></template><unit>end1</unit><executors/></process-control-item></to></process-control>, /jiaban/result/process/result/resultProcess, businessActivity1, advanceProcessAction, mSg458o6WB6YcRi3olS, ]
下一节点
2016-06-28 09:23:36 excute stream action, params:{"accept":"application/json","action":"batchAdvanceProcessAction","actionFlag":"__action_0__","activity":"staticActivity2","contentType":"json","parameters":{"control":{"class":"com.justep.system.process.ProcessControl","object":{"@@tag":"process-control","customized-enabled":"false","dialog-enabled":"true","exts":{},"jump-enabled":"false","message":"","notice":[],"postscript":"","save-history":"true","status":"none","task-join":"false","task-join-mode":"tjmMultiple","to":[{"@activity-id":"664C964D059646F68B939578F719E6C4","@id":"664C964D059646F68B939578F719E6C4","@is-end":"true","@readonly":"true","@selected":"true","executor-kinds":"","executor-range":[],"executors":[],"exts":{},"process":"/jiaban/result/process/result/resultProcess","task-relation-value":{"@@tag":"task-relation-value","SA_Task":"B995066DB9ED424AA688A522822671C1","sActivityInTemplate":"end1","sActivityName":"","sLastModifyTime":"2016-06-28T09:22:20.229Z","sLock":"0F41584EE75841FE8A28F39A995F371B","sProcess":"/jiaban/result/process/result/resultProcess","sProcessName":"加班录入表","sProcessTemplateID2":"","sTypeName":"加班录入表"},"template":"","unit":"end1"}]}},"tasks":["93B94316C1E44BDE95A468E1AE5245DA","65B0A2CF7AD14EF493E962891C3AEFF8",""]},"process":"/jiaban/result/process/result/resultProcess"}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.justep.system.action.Engine.invokeActions(Native Method)
at com.justep.system.action.Engine.invokeActions(Unknown Source)
at com.justep.business.server.BusinessServer.doAction(Unknown Source)
at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
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:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.system.util.BizSystemException: 编码: JUSTEP180208; 提示: 任务""不存在
at com.justep.system.util.BizSystemException.create(Unknown Source)
at com.justep.system.process.ProcessUtils.getProcessActivityByTask(Unknown Source)
at com.justep.system.process.ProcessUtils.advanceProcessQuery(Unknown Source)
at Result.batchAdvanceProcess(Result.java:141)
... 27 more我看我取的tasks都是当前正在处理的task主键
|
|