Skip to content
Advertisement

Can not instantiate value of type […] no single-String constructor

I’m a beginner and I have a boring problem. I’ve been trying to solve this problem for 3 days. Whenever I make a method call, I get this 500 error on the return.

JavaScript

I debugged the application in search of the error and realized that it breaks in this method:

JavaScript

My ReportEntityDTO

JavaScript

Excuse me if information is missing.

If you can point me to the way to solve the problem, I will be grateful. Thank you all.

Advertisement

Answer

Your error is not in ReportEntityDTO, but in ReportEntityFilterDTO and you are missing a constructor that takes a String parameter only.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement