java.lang.IllegalArgumentException: wrong number of arguments

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

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, 1 year 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
wrong number of arguments
via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
wrong number of arguments
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 org.jvnet.hk2.config.Dom.invokeConfigExtensionMethod(Dom.java:1138)
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 com.sun.enterprise.v3.server.RunLevelBridge.activate(RunLevelBridge.java:141)
at com.sun.enterprise.v3.server.RunLevelBridge.postConstruct(RunLevelBridge.java:97)
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.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 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.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 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)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
6 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
104 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.