Hello
we use s SpringBoot application with embedded camunda.
When i use the web UI, i see sporadic error in the log “could not find a historic process instance …”.
I assume the reason is, that the free version is blocking something only available in the comercial version?!
Is there a way to prevent those exceptions polluting my log?
Complete Exception:
2020-02-03 10:49:16.803 [ERROR] [http-nio-7000-exec-6] o.a.c.c.C.[.[.[.0.[dispatcherServlet].log:175 [] Servlet.service() for servlet [dispatcherServlet] in context with path [/workflowservice/api/rest/1.0] threw exception [Request processing failed; nested exception is java.util.NoSuchElementException: could not find a historic process instance with business key 0e642d4f-464d-4649-b015-f8d81a3bcb67] with root cause
java.util.NoSuchElementException: could not find a historic process instance with business key 0e642d4f-464d-4649-b015-f8d81a3bcb67
at com.camunda.workflow.api.WorkFlowApi.getProcessInstanceProgressByBusinessKey(WorkFlowApi.java:157)
at com.camunda.workflow.rest.WorkflowService.getWorkflowInstanceProgressByBusinessKey(WorkflowService.java:175)
at sun.reflect.GeneratedMethodAccessor828.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2020-02-03 10:49:16.819 [ERROR] [http-nio-7000-exec-2] o.a.c.c.C.[.[.[.0.[dispatcherServlet].log:175 [] Servlet.service() for servlet [dispatcherServlet] in context with path [/workflowservice/api/rest/1.0] threw exception [Request processing failed; nested exception is java.util.NoSuchElementException: could not find a historic process instance with business key 74a0f085-c2b0-4198-ac17-4f63b4445f42] with root cause