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 AppFuse JIRA by Bruno de Almeida, 2 years ago
Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game)
via liferay.com by Unknown author, 1 year ago
Method public java.lang.String com.liferay.portal.tools.servicebuilder.ServiceBuilder.getTypeGenericsName(com.thoughtworks.qdox.model.Type) threw an exception when invoked on com.liferay.portal.tools.servicebuilder.ServiceBuilder@677456bc
via liferay.com by Unknown author, 2 years ago
Method public java.lang.String com.liferay.portal.tools.servicebuilder.ServiceBuilder.getTypeGenericsName(com.thoughtworks.qdox.model.Type) threw an exception when invoked on com.liferay.portal.tools.servicebuilder.ServiceBuilder@677456bc
via liferay.com by Unknown author, 1 year ago
Method public java.lang.String com.liferay.portal.tools.servicebuilder.ServiceBuilder.getTypeGenericsName(com.thoughtworks.qdox.model.Type) threw an exception when invoked on com.liferay.portal.tools.servicebuilder.ServiceBuilder@677456bc
via chinaqianxi.com by Unknown author, 2 years ago
Method public java.lang.String com.abbcc.springrest.controller.user.site.piece.HeadBelowPiece.pieceHunkNews() threw an exception when invoked on com.abbcc.springrest.controller.user.site.SiteStaticController@9ef7232
via Atlassian JIRA by Brydie McCoy [Atlassian], 1 year ago
Method public int com.atlassian.bamboo.ww2.actions.admin.group.BrowseGroupsAction.getUsersCountForGroup(com.atlassian.user.Group) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.admin.group.BrowseGroupsAction@90a702
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:616)	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113)	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)	at freemarker.core.Expression.getStringValue(Expression.java:93)	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.MixedContent.accept(MixedContent.java:92)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.IfBlock.accept(IfBlock.java:82)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.MixedContent.accept(MixedContent.java:92)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.Environment.include(Environment.java:1375)	at freemarker.core.Include.accept(Include.java:155)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.Environment.include(Environment.java:1375)	at freemarker.core.Include.accept(Include.java:155)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.MixedContent.accept(MixedContent.java:92)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)	at freemarker.core.Environment.visit(Environment.java:351)	at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.MixedContent.accept(MixedContent.java:92)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.Environment.include(Environment.java:1375)	at freemarker.core.Include.accept(Include.java:155)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.MixedContent.accept(MixedContent.java:92)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.IfBlock.accept(IfBlock.java:82)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.MixedContent.accept(MixedContent.java:92)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.Environment.visit(Environment.java:233)	at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.MixedContent.accept(MixedContent.java:92)	at freemarker.core.Environment.visit(Environment.java:196)	at freemarker.core.Environment.process(Environment.java:176)	at freemarker.template.Template.process(Template.java:232)	at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:251)	at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67)	at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28)	at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97)	at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:146)	at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:135)	at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.java:41)	at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:126)	at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95)	at org.appfuse.mojo.HibernateExporterMojo.doExecute(HibernateExporterMojo.java:228)	at org.appfuse.mojo.exporter.ModelGeneratorMojo.execute(ModelGeneratorMojo.java:183)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)	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:616)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)