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

Selenium Plugin New Configuration error: 'config.jelly' for class hudson.plugins.selenium.configuration.browser.selenium.IEBrowser

    Details

    • Similar Issues:

      Description

      After installing Selenium Plugin, I try to go into the 'New configuration' area and underneath the X11 display configuration line (see attached picture) we are getting a 'No page found' error. Here's the full stack trace:

      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/selenium/WEB-INF/lib/classes.jar!/hudson/plugins/selenium/configuration/browser/selenium/IEBrowser/config.jelly:2:104: <st:include> No page found '../../AbstractSeleniumBrowser/config.jelly' for class hudson.plugins.selenium.configuration.browser.selenium.IEBrowser
      at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:684)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:381)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:684)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:586)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:217)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      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:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/selenium/WEB-INF/lib/classes.jar!/hudson/plugins/selenium/configuration/browser/selenium/IEBrowser/config.jelly:2:104: <st:include> No page found '../../AbstractSeleniumBrowser/config.jelly' for class hudson.plugins.selenium.configuration.browser.selenium.IEBrowser
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      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.JellyViewScript.run(JellyViewScript.java:81)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      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.impl.DynamicTag.doTag(DynamicTag.java:81)
      at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124)
      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.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:269)
      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:269)
      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.JellyViewScript.run(JellyViewScript.java:81)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      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:269)
      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:269)
      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:269)
      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:269)
      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:269)
      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:269)
      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.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:269)
      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.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:269)
      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:269)
      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:81)
      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:95)
      ... 39 more

      We first encountered this using Jenkins version 1.519, upgraded to 1.521 and we are still seeing the same error. This prevents us from being able to save any configurations.

      I saw some other posted issues that showed similarly formatted exception messages, but couldn't find any reference to this happening in the new config area for selenium plugin, so I believe this is a new issue.

      Thank you for all your work, this looks like a great plugin, we just haven't been able to get it fully working for us yet. Any suggestions would be greatly appreciated, thanks again.

        Attachments

          Activity

          Hide
          nieschinhio Michael Niestegge added a comment -

          I encountered the same problem. I am using Jenkins 1.521.

          Show
          nieschinhio Michael Niestegge added a comment - I encountered the same problem. I am using Jenkins 1.521.
          Hide
          mustafalodhi Mustafa Lodhi added a comment - - edited

          I have done a setup of Jenkins 1.522 and facing the same issue.
          Can any one help in resolving this issue as early as possible.

          Show
          mustafalodhi Mustafa Lodhi added a comment - - edited I have done a setup of Jenkins 1.522 and facing the same issue. Can any one help in resolving this issue as early as possible.
          Hide
          sc_gf stephen callagahn added a comment -

          still present on 1.525. Would love to have this resolved

          Show
          sc_gf stephen callagahn added a comment - still present on 1.525. Would love to have this resolved
          Hide
          edmqaa edm qaa added a comment -

          I installed Jenkins ver. 1.525 on Windows Server 2012 and I am facing the same issue.
          Any solution? Thanks

          Show
          edmqaa edm qaa added a comment - I installed Jenkins ver. 1.525 on Windows Server 2012 and I am facing the same issue. Any solution? Thanks
          Hide
          peterloron Peter Loron added a comment -

          Same issue here!

          Show
          peterloron Peter Loron added a comment - Same issue here!
          Hide
          nieschinhio Michael Niestegge added a comment -

          Is this plugin still maintained? The last comment by Richard, the maintainer, was posted in September. Any chances for a fix?

          Show
          nieschinhio Michael Niestegge added a comment - Is this plugin still maintained? The last comment by Richard, the maintainer, was posted in September. Any chances for a fix?
          Hide
          koernerb Ben Koerner added a comment -

          Issue is still present with 1.526

          Show
          koernerb Ben Koerner added a comment - Issue is still present with 1.526
          Hide
          darkrift Richard Lavoie added a comment -

          I think this is fixed already ... I'll try to submit an updated version again, the last one I tried failed, that's probably why the fix is still not available.

          I've been pretty busy lately and I'm sorry about that. I've also been working on major rework of the internals to allow more browsers and driver types.

          I'll still try to find some time to fix that and make it work again. I apologies for all the problems you encountered.

          Show
          darkrift Richard Lavoie added a comment - I think this is fixed already ... I'll try to submit an updated version again, the last one I tried failed, that's probably why the fix is still not available. I've been pretty busy lately and I'm sorry about that. I've also been working on major rework of the internals to allow more browsers and driver types. I'll still try to find some time to fix that and make it work again. I apologies for all the problems you encountered.
          Hide
          armage17 Hutch Jorgensen added a comment -

          Thank you for your time and work, really appreciate it.

          Show
          armage17 Hutch Jorgensen added a comment - Thank you for your time and work, really appreciate it.
          Hide
          zonkey Neal Storey added a comment -

          Issue is still present in Jenkins ver. 1.527

          Show
          zonkey Neal Storey added a comment - Issue is still present in Jenkins ver. 1.527
          Hide
          vlatombe Vincent Latombe added a comment -

          I don't know what kind of fix has been attempted, however by building the plugin locally I could make it work on my side. The issue seems to come from packaging.

          When I build it, classes are put under WEB-INF/classes in the .hpi
          However in the official package, they are stored in a .jar under WEB-INF/lib. Looks legit (for a .war), however it seems to mess with how jelly files are resolved.

          Another option could be to use the following snippet

            <st:include page="config.jelly" class="${it.class.superclass}"/>
          
          Show
          vlatombe Vincent Latombe added a comment - I don't know what kind of fix has been attempted, however by building the plugin locally I could make it work on my side. The issue seems to come from packaging. When I build it, classes are put under WEB-INF/classes in the .hpi However in the official package, they are stored in a .jar under WEB-INF/lib. Looks legit (for a .war), however it seems to mess with how jelly files are resolved. Another option could be to use the following snippet <st:include page= "config.jelly" class= "${it.class.superclass}" />
          Hide
          darkrift Richard Lavoie added a comment -

          I did submit a new version (2.3) with that fix yesterday which should resolve it.

          @Vincent : that is a better fix to what I did. I'll improve the code again so it is less likely to fail on a class rename. Thanks for that suggestion. which version did you try ? 2.2 (faulty) or 2.3 ?

          Show
          darkrift Richard Lavoie added a comment - I did submit a new version (2.3) with that fix yesterday which should resolve it. @Vincent : that is a better fix to what I did. I'll improve the code again so it is less likely to fail on a class rename. Thanks for that suggestion. which version did you try ? 2.2 (faulty) or 2.3 ?
          Hide
          vlatombe Vincent Latombe added a comment -

          Looks good with 2.3.

          Show
          vlatombe Vincent Latombe added a comment - Looks good with 2.3.
          Hide
          nieschinhio Michael Niestegge added a comment -

          It finallay works! Thank you very much.

          Show
          nieschinhio Michael Niestegge added a comment - It finallay works! Thank you very much.
          Hide
          armage17 Hutch Jorgensen added a comment -

          Also working well for us. Thank you very much Richard.

          Show
          armage17 Hutch Jorgensen added a comment - Also working well for us. Thank you very much Richard.
          Hide
          paresh11 Paresh Padhyar added a comment -

          Dear All ,
          I am facing problem . I tried uninstalling 2.2 and tried to get new version from Jenkins Plugin manager..But it still gets 2.2. Is there any way I can get 2.3 ?

          Show
          paresh11 Paresh Padhyar added a comment - Dear All , I am facing problem . I tried uninstalling 2.2 and tried to get new version from Jenkins Plugin manager..But it still gets 2.2. Is there any way I can get 2.3 ?
          Hide
          paresh11 Paresh Padhyar added a comment -

          How can I get 2.3 version

          Show
          paresh11 Paresh Padhyar added a comment - How can I get 2.3 version
          Hide
          darkrift Richard Lavoie added a comment -

          2.4 has just been released and solves the issue

          Show
          darkrift Richard Lavoie added a comment - 2.4 has just been released and solves the issue

            People

            • Assignee:
              darkrift Richard Lavoie
              Reporter:
              armage17 Hutch Jorgensen
            • Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: