JobQuery 'selectJobByQueryCriteria.withExceptions' doesn't find all jobs with failures

Description

If a NullPointerException was thrown in an async service task, the created job has no exception message and the query 'selectJobByQueryCriteria.withExceptions' doesn't show this process instance.
This problem is valid for all thrown exceptions without a exception message.

AT:

  • Change query 'selectJobByQueryCriteria.withExceptions' so that the check isn't only on the field 'EXCEPTION_MSG_' but also on 'EXCEPTION_STACK_ID_'.

  • It should be an 'or'-combination from this both fields.

Environment

None

Assignee

Kristin Polenz (camunda)

Reporter

Kristin Polenz (camunda)

Labels

None

Components

Fix versions

Priority

Major
Configure