java.lang.IllegalArgumentException: argument type mismatch Excepton
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   A_Achu
Posted On:   Tuesday, July 17, 2007 02:58 AM

Hi all, I have developed a simple struts application containing a simple login form and a welcome page. soon after i submit the login form,I am getting the following error: java.lang.IllegalArgumentException: argument type mismatch The exception is not thrown when my form is first showed, only when i try to submit it. As you can see from the stacktrace I've included below, this exception is thrown before my Action code is entered. Any ideas of what I'm doing wrong? Thanks in advance -ama -------------------------------------------------------------------------------------------------------------------------------    More>>


Hi all,


I have developed a simple struts application containing a simple login form and a welcome page. soon after i submit the login form,I am getting the following error:

			
java.lang.IllegalArgumentException: argument type mismatch


The exception is not thrown when my form is first showed, only when i try to submit
it.
As you can see from the stacktrace I've included below, this exception is thrown
before my Action code is entered.

Any ideas of what I'm doing wrong?

Thanks in advance


-ama



-------------------------------------------------------------------------------------------------------------------------------


			
12:05:39,705 ERROR [[action]] Servlet.service() for servlet action threw exception
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789)
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)
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.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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:96)
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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
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:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
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(Unknown Source)



-------------------------------------------------------------------------------------------------------------------------------
   <<Less

Re: java.lang.IllegalArgumentException: argument type mismatch Excepton

Posted By:   Anonymous  
Posted On:   Sunday, July 22, 2007 11:41 AM

hi,

did you get any solution for above error. I am getting same error?

Thanks,
Shalini
About | Sitemap | Contact