nullpointerexception « MVC Controller « Spring Q&A





1. NullPointerException in Spring Controller    stackoverflow.com

I have simple Spring MVC application. When I try to access

http://localhost:8080/paygate/transaction
I get an error:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecur 

2. SpringPortlet: SimpleFormController/WebUtils NullPointerException    forum.springsource.org

[SOLVED] SpringPortlet: SimpleFormController/WebUtils NullPointerException Hi all I'm currently working on a few portlets to get used to them and now I have a problem regarding Forms. I have a simple portlet-app ...