• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ModelAndView Object is getting null

 
Saritha Penumudi
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on an existing application.
Application has an interceptor class that extends HandlerInterceptorAdapter. in postHandle() method, we are setting some values to ModelAndView.
We are seeing this behavior only in production, where in few scenarios, ModelAndView object passed to postHandle() method by Spring framework is null and we are seeing NPE. I am not able to recreate this Issue locally or in any test env.

I am not able to figure out how ModelAndView object is getting null?

Any help would be greatly appreciated.

Spring versions that we are using:

spring-2.5.6.jar
spring-aop-2.5.6.jar
spring-beans-2.5.6.jar
spring-binding-1.0.5.jar
spring-context-2.5.6.jar
spring-context-support-2.5.6.jar
spring-core-2.5.6.jar
spring-jms-2.5.6.jar
spring-modules-cache-0.9.jar
spring-oxm-1.5.9.jar
spring-tx-2.5.6.jar
spring-web-2.5.6.jar
spring-webflow-1.0.5.jar
spring-webmvc-2.5.6.jar
spring-ws-core-1.5.9.jar
spring-xml-1.5.9.jar
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic