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 java.net by Unknown author, 2 years ago
via Java.net JIRA by arungupta, 1 year ago
wrong number of arguments
via Java.net JIRA by arungupta, 2 years ago
wrong number of arguments
via Oracle Community by 843798, 1 year ago
object is not an instance of declaring class
via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
via Appcelerator JIRA by Ingo Muschenetz, 2 years ago
java.lang.IllegalArgumentException: wrong number of arguments	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:474)	at com.sun.enterprise.config.modularity.ConfigModularityUtils.getOwner(ConfigModularityUtils.java:337)	at com.sun.enterprise.config.modularity.ConfigModularityUtils.getOwningObject(ConfigModularityUtils.java:282)	at com.sun.enterprise.config.modularity.parser.ConfigurationParser.parseAndSetConfigBean(ConfigurationParser.java:101)	at com.sun.enterprise.config.modularity.parser.ModuleConfigurationLoader.addConfigBeanFor(ModuleConfigurationLoader.java:129)	at com.sun.enterprise.config.modularity.parser.ModuleConfigurationLoader.createConfigBeanForType(ModuleConfigurationLoader.java:83)	at com.sun.enterprise.config.modularity.ExtensionPatternInvocationImpl.handleExtension(ExtensionPatternInvocationImpl.java:91)	at org.jvnet.hk2.config.Dom.invokeConfigExtensionMethod(Dom.java:1138)	at org.jvnet.hk2.config.Dom.invoke(Dom.java:1079)	at org.glassfish.config.support.TranslatedConfigView.invoke(TranslatedConfigView.java:131)	at $Proxy35.getExtensionByType(Unknown Source)	at com.sun.enterprise.connectors.jms.system.JmsProviderLifecycle.postConstruct(JmsProviderLifecycle.java:102)	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:249)	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:288)	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:412)	at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:86)	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:186)	at com.sun.enterprise.v3.server.RunLevelBridge.activate(RunLevelBridge.java:141)	at com.sun.enterprise.v3.server.RunLevelBridge.postConstruct(RunLevelBridge.java:97)	at com.sun.enterprise.v3.server.PostStartupRunLevelBridge.postConstruct(PostStartupRunLevelBridge.java:56)	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:249)	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:288)	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:412)	at org.glassfish.hk2.runlevel.internal.RunLevelContext.findOrCreate(RunLevelContext.java:119)	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:186)	at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl.activate(RunLevelControllerImpl.java:365)	at com.sun.enterprise.v3.server.AppServerStartup$AppServerActivator.activate(AppServerStartup.java:407)	at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.activateRunLevel(RunLevelControllerImpl.java:828)	at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.upActiveRecorder(RunLevelControllerImpl.java:782)	at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.run(RunLevelControllerImpl.java:677)	at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$SyncProceedToWorker.proceedTo(RunLevelControllerImpl.java:948)	at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl.proceedTo(RunLevelControllerImpl.java:565)	at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl.proceedTo(RunLevelControllerImpl.java:349)	at com.sun.enterprise.v3.server.AppServerStartup.proceedTo(AppServerStartup.java:370)	at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:257)	at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:174)	at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:165)	at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)	at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)	at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl.start(EmbeddedOSGiGlassFishImpl.java:73)	at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)	at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:71)	at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:474)	at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)	at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)