1 Reply Latest reply on Feb 23, 2006 4:58 AM by Didi

    Struts Exception

    Krish Dasari Newbie

      I am getting this error on one of my JSP 's. I dont know what is happening.
      All other pages work fine but when I click on one link I get this error.
      On the browser I get
      ERROR:
      Message:
      null
      Exception:
      javax.servlet.ServletException: BeanUtils.populate

      This is what I got from the log:

      8:47:53,670 ERROR [[action]] Servlet.service() for servlet action threw exception
      java.lang.reflect.InvocationTargetException: Cannot set rateKey
      at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1022)
      at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
      at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
      at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:404)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NoSuchMethodException: Property 'rateKey' has no setter method
      at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1782)
      at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)
      at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
      at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)
      ... 29 more




      this error occured when I post a request, how do i make it work? and is there anyone faced the same problem?