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

Installed DropDown ViewsTabBar Plugin causes the Jenkins to ouput exception in case "Configure System" is opened

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • WinXP OS. Jenkins ver1.425

      To reproduce you just have to install Jenkins v1.425 from scratch and add DropDown ViewsTabBar Plugin to Jenkins. Once you restart to make the plugin active, hitting the "Configure System" link causes Jenkins to throw an exception (see below).

      Can you please check this? Thanks!

      Status Code: 500
      Exception:
      Stacktrace:

      org.apache.commons.jelly.JellyTagException: jar:file:/D:/Jenkins_test/war/WEB-INF/lib/jenkins-core-1.425.jar!/jenkins/model/Jenkins/configure.jelly:58:84: org.apache.commons.jelly.JellyTagException: jar:file:/D:/Jenkins_test/war/WEB-INF/lib/jenkins-core-1.425.jar!/lib/form/dropdownDescriptorSelector.jelly:58:78: No page found 'config.jelly' for class hudson.views.DefaultViewsTabBar$DescriptorImpl
      at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:716)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282)
      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.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.OtherwiseTag.doTag(OtherwiseTag.java:41)
      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.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:150)
      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.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.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.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      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.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      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.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      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.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.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      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.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.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:63)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:92)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.RuntimeException: org.apache.commons.jelly.JellyTagException: jar:file:/D:/Jenkins_test/war/WEB-INF/lib/jenkins-core-1.425.jar!/lib/form/dropdownDescriptorSelector.jelly:58:78: No page found 'config.jelly' for class hudson.views.DefaultViewsTabBar$DescriptorImpl
      at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:284)
      at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92)
      at $Proxy20.dropdownDescriptorSelector(Unknown Source)
      at lib.FormTagLib$dropdownDescriptorSelector.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
      at hudson.views.ViewsTabBar.GlobalConfigurationImpl.config.run(config.groovy:9)
      at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:66)
      at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:59)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      ... 84 more
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/D:/Jenkins_test/war/WEB-INF/lib/jenkins-core-1.425.jar!/lib/form/dropdownDescriptorSelector.jelly:58:78: No page found 'config.jelly' for class hudson.views.DefaultViewsTabBar$DescriptorImpl
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
      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.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.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.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.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
      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.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.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.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      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.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      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.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.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:280)
      ... 95 more

          [JENKINS-10640] Installed DropDown ViewsTabBar Plugin causes the Jenkins to ouput exception in case "Configure System" is opened

          Hans Baer created issue -

          jieryn added a comment -

          This is a Jenkins problem, by the way. Notice how both Drop Down ViewTabsBar Plugin and the Default Views Tab Bar take the same error. So far I have isolated it to 1.425 .. reverting to 1.424 solves the problem, as a work around.

          jieryn added a comment - This is a Jenkins problem, by the way. Notice how both Drop Down ViewTabsBar Plugin and the Default Views Tab Bar take the same error. So far I have isolated it to 1.425 .. reverting to 1.424 solves the problem, as a work around.

          jieryn added a comment -

          jieryn added a comment - We got broken by https://github.com/jenkinsci/jenkins/commit/54c0976063c8558dad74e01e364355a8c8cc24a7

          jieryn added a comment -

          I'll try to figure how to use the new GlobalConfiguration extension point, and cut a new release rebased against 1.425. Hopefully soon.

          jieryn added a comment - I'll try to figure how to use the new GlobalConfiguration extension point, and cut a new release rebased against 1.425. Hopefully soon.

          Hans Baer added a comment -

          Thanks for your analysis! Hope that you have the time to fix this soon. Starting to miss your plugin for my Jenkins environment.

          Hans Baer added a comment - Thanks for your analysis! Hope that you have the time to fix this soon. Starting to miss your plugin for my Jenkins environment.
          jieryn made changes -
          Link New: This issue is duplicated by JENKINS-10729 [ JENKINS-10729 ]

          Code changed in jenkins
          User: Jesse Farinacci
          Path:
          pom.xml
          src/main/resources/hudson/views/DefaultViewsTabBar/DescriptorImpl/config.jelly
          src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.jelly
          src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.properties
          src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.jelly
          src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.properties
          http://jenkins-ci.org/commit/dropdown-viewstabbar-plugin/5e8d053bfa709fb0136210fe9f29b0bea9f14b70
          Log:
          [FIXED JENKINS-10640] Jenkins 1.425+ takes jelly output configuration error

          There was some API wreckage from a reorganization of global configuration
          options[1]. This alone required the change from global.jelly -> config.jelly
          but there is more.. Jenkins does not itself provide a config.jelly for the
          Default Views Tab Bar, so we provide one in its namespace in order to give
          relief to users of this plugin. I will attempt to commit a temporary fix
          upstream so that we can remove this namespace collision.

          [1] https://github.com/jenkinsci/jenkins/commit/54c0976063c8558dad74e01e364355a8c8cc24a7

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Farinacci Path: pom.xml src/main/resources/hudson/views/DefaultViewsTabBar/DescriptorImpl/config.jelly src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.jelly src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.properties src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.jelly src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.properties http://jenkins-ci.org/commit/dropdown-viewstabbar-plugin/5e8d053bfa709fb0136210fe9f29b0bea9f14b70 Log: [FIXED JENKINS-10640] Jenkins 1.425+ takes jelly output configuration error There was some API wreckage from a reorganization of global configuration options [1] . This alone required the change from global.jelly -> config.jelly but there is more.. Jenkins does not itself provide a config.jelly for the Default Views Tab Bar, so we provide one in its namespace in order to give relief to users of this plugin. I will attempt to commit a temporary fix upstream so that we can remove this namespace collision. [1] https://github.com/jenkinsci/jenkins/commit/54c0976063c8558dad74e01e364355a8c8cc24a7
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          David Karlsen added a comment -

          Which version of the plugin will the fix be in and what is the planned release date?

          David Karlsen added a comment - Which version of the plugin will the fix be in and what is the planned release date?

          dogfood added a comment -

          Integrated in plugins_dropdown-viewstabbar #35
          [FIXED JENKINS-10640] Jenkins 1.425+ takes jelly output configuration error

          Jesse Farinacci :
          Files :

          • src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.jelly
          • pom.xml
          • src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.jelly
          • src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.properties
          • src/main/resources/hudson/views/DefaultViewsTabBar/DescriptorImpl/config.jelly
          • src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.properties

          dogfood added a comment - Integrated in plugins_dropdown-viewstabbar #35 [FIXED JENKINS-10640] Jenkins 1.425+ takes jelly output configuration error Jesse Farinacci : Files : src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.jelly pom.xml src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.jelly src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/global.properties src/main/resources/hudson/views/DefaultViewsTabBar/DescriptorImpl/config.jelly src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/config.properties

            jieryn jieryn
            maedula Hans Baer
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: