• Post Reply Bookmark Topic Watch Topic
  • New Topic

AccessFilter issues in Struts  RSS feed

Reshmi Kuttappan
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i have been using the below code since some time now; but have started facing NullPointerException for the below scenario

my problem is:
when my user clicks on the Back button instead of going to the previously visited page; it throws an error "HTTP Status 500 -
exception - javax.servlet.ServletException: BeanUtils.populate --> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
root cause - java.lang.NullPointerException --> org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:427)"

my log file provides following info:
2012-06-05 16:42:36,442 DEBUG [org.displaytag.filter.ResponseOverrideFilter] Filter has been called, but PARAMETER_EXPORTING parameter has not been found.
2012-06-05 16:42:36,442 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/torch].[action]] Servlet.service() for servlet action threw exception

when i debugged my java code; the error occurs in the AccessFilter.doFilter() method (Line number 51); since i am not able to debug the chain.doFilter() method; i don't know how to proceed ahead.
below is the code snippet for the same:

please let me know how to proceed ahead with this.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!