Closed flok32 closed 1 year ago
Hello @flok32,
Thank you for reaching out to us with this and already prepared contribution for it. I will have a look and get back to you by the end of next week.
Best regards, Yana
Hi @flok32,
I was able to confirm the bug. Thank you for taking the time to raise a pull request about it. I triggered the CI for it, but it looks already good. I will provide you feedback on the code next week, the product still supports and it's build with JDK 8. check the style and so on. I just wanted to give you already heads up about what's next.
Best regards, Yana
Hi @flok32,
I have merged the contribution to the code base. It will be shipped with 7.19.0 scheduled for next month. Once again, thank you for your contribution and see you in the next one.
Best regards, Yana
Environment (Required on creation)
7.18.0, engine-rest
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
When calling the rest endpoint /job/retries (Set Job Retries Async (POST)) with a request that contains a "createTimes" condition or a "dueDates" condition, a NPE is thrown:
Reason for the NPE: The objectmapper ist
null
. JacksonAwareStringToTypeConverter.java:42:Reason for
objectMaper==null
: Different from handling of queries the objectMapper ist not set onJobQueryDto
insetRetries
-Method. JobRestServiceImpl.java:99ff:Comparision with
queryJobsCount
, JobRestServiceImpl.java:86ff:Steps to reproduce (Required on creation)
Observed Behavior (Required on creation)
Expected behavior (Required on creation)
Root Cause (Required on prioritization)
Solution Ideas
JobRestServiceImpl.java:99ff:
I will try to provide a Pull-Request for the fix.
Hints
Links
Camunda Forum: https://forum.camunda.io/t/issue-with-set-job-retries-async-post-while-using-dates/31843
Breakdown
Dev2QA handover