I have a spring boot application that is throwing the following:
2018-01-14 01:02:56.863 ERROR 372 --- [io-8080-exec-14] 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.NullPointerException] with root cause
The application runs and behaves as expected. I've seen the error in the logs a few times but can't seem to see why/where its happening.
There is no other information in the log about the error.
I've had a look at the logs to see what happened before and after the error occurred and everything seemed fine.
I have also turned the log level to ALL and still the no useful error message.
Any ideas why I am getting this error and how I can get my application to throw more useful errors.
What stand out from the error message is with path [] threw exception
. I'm not sure what []
is.