Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12307

Stack Trace when going to main configuration page

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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:

      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
      

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/warnings/ConsoleParser.java
            src/main/java/hudson/plugins/warnings/ParserConfiguration.java
            src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java
            http://jenkins-ci.org/commit/warnings-plugin/f9ca3bb34e792769544a4599c8e52cd3b9f0b375
            Log:
            [Fixed JENKINS-12307] Refactoring.

            Compare: https://github.com/jenkinsci/warnings-plugin/compare/2b8c857...f9ca3bb

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/ConsoleParser.java src/main/java/hudson/plugins/warnings/ParserConfiguration.java src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java http://jenkins-ci.org/commit/warnings-plugin/f9ca3bb34e792769544a4599c8e52cd3b9f0b375 Log: [Fixed JENKINS-12307] Refactoring. Compare: https://github.com/jenkinsci/warnings-plugin/compare/2b8c857...f9ca3bb
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java
            http://jenkins-ci.org/commit/warnings-plugin/324d43ddcdd3b80bb85eb52e1d8ff88f7fd8d74e
            Log:
            JENKINS-12307 Show localized name of parser in list box.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java http://jenkins-ci.org/commit/warnings-plugin/324d43ddcdd3b80bb85eb52e1d8ff88f7fd8d74e Log: JENKINS-12307 Show localized name of parser in list box.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/warnings/WarningsPublisher.java
            http://jenkins-ci.org/commit/warnings-plugin/17cb850e429c27d6079ffdad9c9e89ab34426c4f
            Log:
            JENKINS-12307 Handle null values in constructor if user does not
            select a log file or file parser.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/WarningsPublisher.java http://jenkins-ci.org/commit/warnings-plugin/17cb850e429c27d6079ffdad9c9e89ab34426c4f Log: JENKINS-12307 Handle null values in constructor if user does not select a log file or file parser.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/Descriptor.java
            test/src/test/java/hudson/model/DescriptorTest.java
            http://jenkins-ci.org/commit/jenkins/dcea7d5bf6a011518bbc642426d26073b337086a
            Log:
            JENKINS-12307 More helpful error message for getItemTypeDescriptorOrDie on a non-collection field.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/Descriptor.java test/src/test/java/hudson/model/DescriptorTest.java http://jenkins-ci.org/commit/jenkins/dcea7d5bf6a011518bbc642426d26073b337086a Log: JENKINS-12307 More helpful error message for getItemTypeDescriptorOrDie on a non-collection field.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2004
            JENKINS-12307 More helpful error message for getItemTypeDescriptorOrDie on a non-collection field. (Revision dcea7d5bf6a011518bbc642426d26073b337086a)

            Result = SUCCESS
            Jesse Glick : dcea7d5bf6a011518bbc642426d26073b337086a
            Files :

            • core/src/main/java/hudson/model/Descriptor.java
            • test/src/test/java/hudson/model/DescriptorTest.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2004 JENKINS-12307 More helpful error message for getItemTypeDescriptorOrDie on a non-collection field. (Revision dcea7d5bf6a011518bbc642426d26073b337086a) Result = SUCCESS Jesse Glick : dcea7d5bf6a011518bbc642426d26073b337086a Files : core/src/main/java/hudson/model/Descriptor.java test/src/test/java/hudson/model/DescriptorTest.java

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                mwebber Matthew Webber
              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: