java.lang.reflect.InvocationTargetException

Jenkins JIRA | Matthew Webber | 5 years ago
  1. 0

    When I go (in the web interface) to the main Jenkins configuration page, a stack trace is generated on the Jenkins console. No adverse results appear on the web page itself. From the stack track, it looks like it is connected to the warnings plugin. This is Jenkins 1.446 and Warnings plugin 3.26 (the latest available at the time of reporting). I have been noticing this stack track for some time now, including under earlier releases (I'm not sure how recently it started). The stack trace: {noformat} 05-Jan-2012 11:35:26 hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: descriptor.getPropertyType(instance,field).itemTypeDescriptorOrDie. Reason: java.lang.reflect.InvocationTargetException 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.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134) 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.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.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) 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:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) 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.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) (snip) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.AssertionError: null is missing its descriptor in public hudson.util.CopyOnWriteList hudson.plugins.warnings.WarningsDescriptor.getParsers(). See https://wiki.jenkins-ci.org/display/JENKINS/My+class+is+missing+descriptor at hudson.model.Descriptor$PropertyType.getItemTypeDescriptorOrDie(Descriptor.java:192) ... 161 more 05-Jan-2012 11:22:05 hudson.model.Run run {noformat}

    Jenkins JIRA | 5 years ago | mwebber
    java.lang.reflect.InvocationTargetException
  2. 0

    When I go (in the web interface) to the main Jenkins configuration page, a stack trace is generated on the Jenkins console. No adverse results appear on the web page itself. From the stack track, it looks like it is connected to the warnings plugin. This is Jenkins 1.446 and Warnings plugin 3.26 (the latest available at the time of reporting). I have been noticing this stack track for some time now, including under earlier releases (I'm not sure how recently it started). The stack trace: {noformat} 05-Jan-2012 11:35:26 hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: descriptor.getPropertyType(instance,field).itemTypeDescriptorOrDie. Reason: java.lang.reflect.InvocationTargetException 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.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134) 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.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.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) 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:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) 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.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) (snip) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.AssertionError: null is missing its descriptor in public hudson.util.CopyOnWriteList hudson.plugins.warnings.WarningsDescriptor.getParsers(). See https://wiki.jenkins-ci.org/display/JENKINS/My+class+is+missing+descriptor at hudson.model.Descriptor$PropertyType.getItemTypeDescriptorOrDie(Descriptor.java:192) ... 161 more 05-Jan-2012 11:22:05 hudson.model.Run run {noformat}

    Jenkins JIRA | 5 years ago | Matthew Webber
    java.lang.reflect.InvocationTargetException
  3. 0

    possible bug in cas plugin?

    Google Groups | 4 years ago | Federico Paolantoni
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [vsphere-cloud-plugin] (JENKINS-32112) NullPointerExceptions about templates in various places

    Google Groups | 12 months ago | nguil...@funnelback.com (JIRA)
    java.lang.reflect.InvocationTargetException

  1. davidvanlaatum 2 times, last 4 months ago
  2. r1chjames 1 times, last 5 days ago
  3. bmacedo 8 times, last 3 weeks ago
  4. aldrinleal 1 times, last 1 month ago
  5. ajinkya_w 96 times, last 2 months ago
18 more registered users
76 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.reflect.InvocationTargetException

    No message provided

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  3. Commons JEXL
    ExpressionImpl.evaluate
    1. org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
    2. org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
    3. org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
    4. org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
    5. org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
    6. org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
    7. org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
    8. org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
    8 frames
  4. Hudson
    ExpressionFactory2$JexlExpression.evaluate
    1. hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
    1 frame
  5. commons-jelly
    CoreTagLibrary$2.run
    1. org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
    2. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    3. org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
    4. org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
    5. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
    6. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    7. org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
    8. org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
    9. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
    10. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    11. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
    11 frames
  6. Stapler Jelly
    CallTagLibScript$1.run
    1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
    2. org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
    2 frames
  7. commons-jelly-tags-define
    InvokeBodyTag.doTag
    1. org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
    1 frame
  8. commons-jelly
    TagScript.run
    1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
    1 frame
  9. Stapler Jelly
    ReallyStaticTagLibrary$1.run
    1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
    1 frame
  10. commons-jelly
    ScriptBlock.run
    1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    1 frame
  11. Stapler Jelly
    ReallyStaticTagLibrary$1.run
    1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
    1 frame
  12. commons-jelly
    CoreTagLibrary$2.run
    1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    2. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
    2 frames
  13. Stapler Jelly
    CallTagLibScript$1.run
    1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
    2. org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
    2 frames
  14. commons-jelly-tags-define
    InvokeBodyTag.doTag
    1. org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
    1 frame
  15. commons-jelly
    TagScript.run
    1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
    1 frame