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. ,

    The invoke() method threw an exception. To understand what the problem is, wrap the invoke() method call around a try-catch block and log invocationTargetException.getTargetException(). You can also use the getCause() method.

Solutions on the web

via Coderanch by Varun Nayudu, 1 year ago
via Coderanch by Varun Nayudu, 1 year ago
via GitHub by sebtesobe
, 1 year ago
This exception has no message.
via GitHub by sebtesobe
, 5 months ago
This exception has no message.
via GitHub by sebtesobe
, 1 year ago
This exception has no message.
via GitHub by sebtesobe
, 5 months ago
This exception has no message.
java.lang.reflect.InvocationTargetException: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94)	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1$1.run(CustomTagLibrary.java:112)	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1.run(CustomTagLibrary.java:132)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:118)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1$1.run(CustomTagLibrary.java:112)	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1.run(CustomTagLibrary.java:132)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:191)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1$1.run(CustomTagLibrary.java:112)	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1$1.run(CustomTagLibrary.java:112)	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)	at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1.run(CustomTagLibrary.java:132)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1.run(CustomTagLibrary.java:132)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1.run(CustomTagLibrary.java:132)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:118)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:118)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)	at org.kohsuke.stapler.jelly.CustomTagLibrary$1$1.run(CustomTagLibrary.java:112)	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)