[ 
https://issues.jenkins-ci.org/browse/JENKINS-12307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159774#comment-159774
 ] 

mwebber commented on JENKINS-12307:
-----------------------------------

I'm not aware of any workaround (other than disabling the warnings plugin, I 
guess).
I haven't noticed any adverse effects from this bug - I certainly HOPE there 
aren't any!

                
> Stack Trace when going to main configuration page
> -------------------------------------------------
>
>                 Key: JENKINS-12307
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12307
>             Project: Jenkins
>          Issue Type: Bug
>          Components: warnings
>            Reporter: mwebber
>            Assignee: Ulli Hafner
>            Priority: Minor
>
> 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}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to