Hi All, can you please suggest what is going wrong.
I have got this exception:
2019-02-24 16:40:14.616 ERROR 14524 — [nio-5000-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path
threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: invalid hexadecimal representation of an ObjectId: [foobar]] with root cause
java.lang.IllegalArgumentException: invalid hexadecimal representation of an ObjectId: [foobar]
I have added output to getMovie in MovieController.java to highlight the issue cause - this is “foobar” text value.
Can you please suggest how I can avoid this issue? May be it was added intentionally and I should handle it? I am asking about this point, because I fount correct _id’s across *.js files and cannot realize if make something wrong or miss some point.
Thank you in advance!