500 internal server error with jmix rest service

I have a rest service in my jmix web app with following definition:

//service name=“example”
//method name=“createExampleApplication”
//parameters (UUID param1, UUID param2, LocalDate param3, LocalDate param4, LocalDate param5, //enumeration param6, double param7, boolean param8, String param9)

I have a flutter app that will call the service with a POST method. but facing this error:
500 internal server error
{
** “error”: “Server error”,**
** “details”: “”**
}
there is no log being shown on jmix side. What could be the reason ? basically an user from flutter side will give few inputs and they will be passed to the jmix side for validation . the service will be used to validate and if successfull ExampleApplication type of data will be created .

Hello!

Which version of Jmix do you use?

Could you please add a simple example project to reproduce the issue?

I’ve tried to reproduce the issue on 2.4.2 by throwing an exception from within my custom service method and it has been caught by io.jmix.rest.impl.controller.RestControllerExceptionHandler#handleException and logged.

If attaching an example project is not possible, as a first step it may be useful to put breakpoints at places where “Server error” message is written to the responce and try to find out, which part of code silently swallows an exception.

Regards,
Dmitry