AnsweredAssumed Answered

NPE when completing a task

Question asked by robdiana on Oct 7, 2015
Latest reply on Mar 18, 2017 by
Recently, we started to have one workflow throw a NullPointerException when trying to complete the first task in the workflow. This is a user task that is being completed, so no other operations on the workflow are happening at the same time. We have other workflows that are functioning correctly.

We are running v5.16.4 and using the standalone process engine (programmatic configuration) with some basic JDBC credentials.

Any ideas why this would be occuring or why it would suddenly start being a problem after at least a month of using the workflow? Below is the relevant stack trace.

2015-10-06 12:28:35.883 rsuite-server WARN http-bio-8080-exec-840 <RestAPIv1.req-3910> org.activiti.engine.impl.db.DbSqlSession$CheckedDeleteOperation - NullPointerException
at org.activiti.engine.impl.db.DbSqlSession$CheckedDeleteOperation.sameIdentity(
at org.activiti.engine.impl.db.DbSqlSession.removeUnnecessaryOperations(
at org.activiti.engine.impl.db.DbSqlSession.flush(
at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(
at org.activiti.engine.impl.interceptor.CommandContext.close(
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(
at org.activiti.engine.impl.TaskServiceImpl.complete(