I'm trying to locate the source of the error in this trace:
org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver logException: Handler execution resulted in exception
java.lang.NullPointerException
at com.wikistart.service.WikiServiceImpl.getWikis(WikiServiceImpl.java:548)
at com.wikistart.controller.WikiController.wiki(WikiController.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:43)
Is the null always thrown on the topmost line mentioned in the trace?
In other words, this NullPointerException
is coming from WikiServiceImpl.java:548
and not from WikiController.java:88
?