Results 1 to 3 of 3
  1. #1
    srinivas_k543 is offline Member
    Join Date
    Jun 2009
    Posts
    1
    Rep Power
    0

    Default Error when populating the data

    Hi All,
    I am getting the following error when populating the data in the jsp page. Please help me any body to resolve this.


    javax.servlet.ServletException: javax.servlet.ServletException: BeanUtils.populate
    org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:286)
    org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
    org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:462)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    com.emerald.et.security.ETLoginFilter.doFilter(ETL oginFilter.java:76)
    com.emerald.et.security.ETAuthorizationFilter.doFi lter(ETAuthorizationFilter.java:111)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)

    root cause

    javax.servlet.ServletException: BeanUtils.populate
    org.apache.struts.util.RequestUtils.populate(Reque stUtils.java:469)
    org.apache.struts.chain.commands.servlet.PopulateA ctionForm.populate(PopulateActionForm.java:50)
    org.apache.struts.chain.commands.AbstractPopulateA ctionForm.execute(AbstractPopulateActionForm.java: 60)
    org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:51)
    org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
    org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:304)
    org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
    org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:283)
    org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
    org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:462)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    com.emerald.et.security.ETLoginFilter.doFilter(ETL oginFilter.java:76)
    com.emerald.et.security.ETAuthorizationFilter.doFi lter(ETAuthorizationFilter.java:111)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)

    root cause

    org.apache.commons.beanutils.ConversionException: No value specified for 'BigDecimal'
    org.apache.commons.beanutils.converters.AbstractCo nverter.handleMissing(AbstractConverter.java:310)
    org.apache.commons.beanutils.converters.NumberConv erter.convertToType(NumberConverter.java:256)
    org.apache.commons.beanutils.converters.AbstractCo nverter.convert(AbstractConverter.java:156)
    org.apache.commons.beanutils.converters.ConverterF acade.convert(ConverterFacade.java:60)
    org.apache.commons.beanutils.ConvertUtilsBean.conv ert(ConvertUtilsBean.java:470)
    org.apache.commons.beanutils.BeanUtilsBean.setProp erty(BeanUtilsBean.java:1006)
    org.apache.commons.beanutils.BeanUtilsBean.populat e(BeanUtilsBean.java:830)
    org.apache.commons.beanutils.BeanUtils.populate(Be anUtils.java:433)
    org.apache.struts.util.RequestUtils.populate(Reque stUtils.java:467)
    org.apache.struts.chain.commands.servlet.PopulateA ctionForm.populate(PopulateActionForm.java:50)
    org.apache.struts.chain.commands.AbstractPopulateA ctionForm.execute(AbstractPopulateActionForm.java: 60)
    org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:51)
    org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
    org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:304)
    org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
    org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:283)
    org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
    org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:462)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    com.emerald.et.security.ETLoginFilter.doFilter(ETL oginFilter.java:76)
    com.emerald.et.security.ETAuthorizationFilter.doFi lter(ETAuthorizationFilter.java:111)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    765
    Rep Power
    6

    Default

    Hi,
    Can u check the struts-config file for form related info? Might be you are refering a wrong form not specified in struts-config related to action.

    -Regards
    Ramya
    Ramya:cool:

  3. #3
    whiteasshweta is offline Member
    Join Date
    Jul 2009
    Posts
    6
    Rep Power
    0

    Default

    hi....
    Either your form bean data is not properly mapped in the action class or the property for it is not correctly specified................

Similar Threads

  1. Populating the values in text fields
    By Inaam in forum Web Frameworks
    Replies: 2
    Last Post: 07-26-2010, 08:55 AM
  2. Replies: 11
    Last Post: 02-20-2009, 02:10 AM
  3. Populating a drop down list from a database
    By matpj in forum New To Java
    Replies: 0
    Last Post: 01-19-2009, 12:14 PM
  4. error while retrieving data from data base
    By kirtesh4u in forum New To Java
    Replies: 5
    Last Post: 11-15-2008, 04:10 PM
  5. Pre-Populating an Outlook Email
    By KeithHenn in forum Advanced Java
    Replies: 3
    Last Post: 10-23-2008, 03:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •