请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

审批请假报错

Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@334460c0]
2023/05/10 11:00:31 ERROR 后端执行异常
2023/05/10 11:00:31 ERROR 执行异常
com.example.emos.api.exception.EmosException: 调用工作流审批异常
at com.example.emos.api.service.impl.ApprovalServiceImpl.approvalTask(ApprovalServiceImpl.java:77)
at com.example.emos.api.controller.ApprovalController.approvalTask(ApprovalController.java:117)
at com.example.emos.api.controller.ApprovalControllerFastClassBySpringCGLIBFastClassBySpringCGLIBFastClassBySpringCGLIBb2a1354c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)atorg.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)atorg.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)atorg.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)atorg.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
at cn.dev33.satoken.aop.SaCheckAspect.around(SaCheckAspect.java:63)
at jdk.internal.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1063)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:517)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandlerChainEnd.doFilter(ServletHandler.java:1626)atorg.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)atorg.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)atorg.eclipse.jetty.servlet.ServletHandlerChainEnd.doFilter(ServletHandler.java:1626) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandlerChainEnd.doFilter(ServletHandler.java:1626)atorg.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)atorg.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)atorg.eclipse.jetty.servlet.ServletHandlerChain.doFilter(ServletHandler.java:1601)
at com.example.emos.api.config.xss.XssFilter.doFilter(XssFilter.java:18)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)
at org.eclipse.jetty.servlet.ServletHandlerChain.doFilter(ServletHandler.java:1601)atorg.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)atorg.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)atorg.eclipse.jetty.servlet.ServletHandlerChain.doFilter(ServletHandler.java:1601) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandlerChain.doFilter(ServletHandler.java:1601)atorg.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)atorg.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)atorg.eclipse.jetty.servlet.ServletHandlerChain.doFilter(ServletHandler.java:1601)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

正在回答 回答被采纳积分+3

1回答

神思者 2023-05-10 15:38:32

你去看工作流项目报什么异常

0 回复 有任何疑惑可以回复我~
  • 提问者 weixin_慕用2260004 #1
    ERROR  masked exception in command context. for root cause, see below as it will be rethrown later.
    org.activiti.engine.ActivitiException: Cannot invoke "java.util.List.get(int)" because the return value of "org.activiti.engine.history.HistoricTaskInstanceQuery.list()" is null
    	at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:115)
    	at org.activiti.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:210)
    ERROR  Error while closing command context
    org.activiti.engine.ActivitiIllegalArgumentException: Invalid query: call asc() or desc() after using orderByXX()
    ERROR  执行异常
    org.activiti.engine.ActivitiIllegalArgumentException: Invalid query: call asc() or desc() after using orderByXX()
    	at org.activiti.engine.impl.AbstractQuery.checkQueryOk(AbstractQuery.java:120)
    回复 有任何疑惑可以回复我~ 2023-05-12 15:30:51
  • 神思者 回复 提问者 weixin_慕用2260004 #2
    你在报错语句的位置加上desc()函数的调用试一下
    回复 有任何疑惑可以回复我~ 2023-05-13 12:02:44
  • 提问者 weixin_慕用2260004 回复 神思者 #3
    调用不了
    回复 有任何疑惑可以回复我~ 2023-05-13 17:43:33
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信