Open PHWaechtler opened 2 days ago
For reference, here is the Opt8 ticket
/eng approve
@PHWaechtler please link the ticket to the Optimize 8 repository here as well. And please check/correct the text, since this needs backporting to 3.14 and 8.6 (not 3.13/8.5)
@PHWaechtler please link the ticket to the Optimize 8 repository here as well. And please check/correct the text, since this needs backporting to 3.14 and 8.6 (not 3.13/8.5)
already linked above 👍 Fixing versions too 🙏
Environment (Required on creation)
Observed in Optimize 7, but also affects Optimize 8 (creating separate ticket for Opt8) Needs merged to master and backported to 3.14.
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
While migrating ES code, an issue was introduced when logging errors for bulkrequests. The log expects each item in a given bulkResponse to have a printable error. However, only some items may have errors so this can lead to an NPE while logging.
Steps to reproduce (Required on creation)
Not easily reproducable, we can skip QA and just do engineering review
Observed Behavior (Required on creation)
NPE during logging
Expected behavior (Required on creation)
No NPE
Root Cause (Required on prioritization)
The logging code expects each item in a given bulkResponse to have a printable error. However, only some items may have errors so this can lead to an NPE while logging.
Solution Ideas
Add in check to skip bulk items that do not have an error
Hints
Links
https://jira.camunda.com/browse/SUPPORT-24008
Breakdown
Dev2QA handover