Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at nutz.main.IndexModule.datarec(IndexModule.java:21)	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:606)	at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:25)	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)	at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:198)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:744)