Possible issue with REST API in Camunda Tomcat docker (7.22 version)

Hi!

I made a simple test (described bellow) on Camunda Tomcat docker (7.22 version) in order to check a REST API call (finding a process instance with given definitionKey and businessKey). While in Camunda Run works as expected, Camunda Tomcat respond with 400 status code.

Steps:

  1. I deployed a simple process with one activity (processDefinitionKey is “my-definition”) and I started an instance of it giving “a-key-123” as business key .

  2. I tried a query like following:

http://localhost:8080/engine-rest/process-instance?processDefinitionKey=my-definition&businessKeyLike=a-key-%&active=true

Camunda Tomcat response:

{
    "type": "BadRequestException",
    "message": "RESTEASY003320: Failed processing arguments of public java.util.List org.camunda.bpm.engine.rest.impl.ProcessInstanceRestServiceImpl.getProcessInstances(jakarta.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer)",
    "code": null
}

If I’m not using businessKeyLike as query parameter, everything is ok.

Any ideas?

Thank you!
Oana