Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Thrown to indicate that a method has been passed an illegal or inappropriate argument. Check that you don't have more than one method existing with the same name.

Solutions on the web

via Mirth Project by Matias Lizana, 1 year ago
Cannot invoke com.mirth.connect.connectors.smtp.SmtpConnector.setAttachments on bean class 'class com.mirth.connect.connectors.smtp.SmtpConnector' - argument type mismatch - had objects of type "java.lang.String" but expected signature "java.util.List"
via Mirth Project by Matias Lizana, 2 years ago
Cannot invoke com.mirth.connect.connectors.smtp.SmtpConnector.setAttachments on bean class 'class com.mirth.connect.connectors.smtp.SmtpConnector' - argument type mismatch - had objects of type "java.lang.String" but expected signature "java.util.List"
via Stack Overflow by Subin Soman
, 9 months ago
Cannot invoke com.org.nlp.test.YourBean.setBean on bean class 'class com.org.nlp.test.YourBean' - argument type mismatch - had objects of type "java.util.HashMap" but expected signature "com.org.nlp.test.Bean2"
via Stack Overflow by Biju C Nair
, 2 years ago
Cannot invoke org.apache.commons.scxml.model.SCXML.setDatamodel on bean class 'class org.apache.commons.scxml.model.SCXML' - argument type mismatch - had objects of type "java.lang.String" but expected signature "org.apache.commons.scxml.model.Datamodel"
via Coderanch by Danny Vittal, 1 year ago
Cannot invoke com.vo.GenerateMealPlanVO.setServingDate on bean class 'class com.vo.GenerateMealPlanVO' - argument type mismatch - had objects of type "java.lang.String" but expected signature "com.core.util.Date"
via Oracle Community by 908151, 1 year ago
Cannot invoke com.vo.GenerateMealPlanVO.setServingDate on bean class 'class com.vo.GenerateMealPlanVO' - argument type mismatch - had objects of type "java.lang.String" but expected signature "com.core.util.Date"
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.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2170)	at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2151)	at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1957)	at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2064)	at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1017)	at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:830)	at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:433)	at com.mirth.connect.server.controllers.MuleEngineController.registerConnector(MuleEngineController.java:728)	at com.mirth.connect.server.controllers.MuleEngineController.configureOutboundRouter(MuleEngineController.java:540)	at com.mirth.connect.server.controllers.MuleEngineController.registerChannel(MuleEngineController.java:358)	at com.mirth.connect.server.controllers.MuleEngineController.deployChannels(MuleEngineController.java:212)	at com.mirth.connect.server.servlets.EngineServlet.doPost(EngineServlet.java:60)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)	at org.eclipse.jetty.server.Server.handle(Server.java:352)	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)	at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)	at java.lang.Thread.run(Unknown Source)