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

Stackoverflow in annonymous mode

XMLWordPrintable

      During an access of a Jenkins instance without login the following occured.

      Exception: org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/hudson/model/View/index.jelly:44:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/lib/hudson/projectView.jelly:60:22: <d:invokeBody> java.lang.StackOverflowError
      Stacktrace:
      
      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/hudson/model/View/index.jelly:44:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/lib/hudson/projectView.jelly:60:22: <d:invokeBody> java.lang.StackOverflowError
      	at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112)
      	at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:625)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      	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:95)
      	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)
      	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:175)
      	at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
      	at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	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.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	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:50)
      	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:215)
      	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/hudson/model/View/index.jelly:44:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/lib/hudson/projectView.jelly:60:22: <d:invokeBody> java.lang.StackOverflowError
      	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:716)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282)
      	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.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      	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.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:107)
      	... 63 more
      Caused by: java.lang.RuntimeException: org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/lib/hudson/projectView.jelly:60:22: <d:invokeBody> java.lang.StackOverflowError
      	at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:287)
      	at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92)
      	at $Proxy37.projectView(Unknown Source)
      	at lib.JenkinsTagLib$projectView.call(Unknown Source)
      	at hudson.model.View.main.run(main.groovy:14)
      	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)
      	... 94 more
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/opt/hudson/war/WEB-INF/lib/jenkins-core-1.478.jar!/lib/hudson/projectView.jelly:60:22: <d:invokeBody> java.lang.StackOverflowError
      	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:716)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282)
      	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.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.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:283)
      	... 102 more
      Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.StackOverflowError
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:97)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
      	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:884)
      	at groovy.lang.Closure.call(Closure.java:412)
      	at groovy.lang.Closure.call(Closure.java:406)
      	at org.kohsuke.stapler.jelly.groovy.JellyBuilder$1.run(JellyBuilder.java:271)
      	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)
      	... 110 more
      Caused by: java.lang.StackOverflowError
      	at java.util.regex.Pattern$Curly.match0(Pattern.java:3760)
      	at java.util.regex.Pattern$Curly.match(Pattern.java:3744)
      	at java.util.regex.Pattern$Slice.match(Pattern.java:3482)
      	at java.util.regex.Pattern$Begin.match(Pattern.java:3120)
      	at java.util.regex.Matcher.match(Matcher.java:1127)
      	at java.util.regex.Matcher.matches(Matcher.java:502)
      	at hudson.model.ListView.getItems(ListView.java:150)
      	at hudson.model.ListView.getItems(ListView.java:60)
      	at hudson.views.OtherViewsFilter.doFilter(OtherViewsFilter.java:56)
      	at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      	at hudson.model.ListView.getItems(ListView.java:170)
      	at hudson.model.ListView.getItems(ListView.java:60)
      	at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      	at hudson.security.ACL.hasPermission(ACL.java:64)
      	at hudson.model.View.hasPermission(View.java:541)
      	at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      	at jenkins.model.Jenkins.getViews(Jenkins.java:1410)
      	at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      	at hudson.views.OtherViewsFilter.getView(OtherViewsFilter.java:166)
      	at hudson.views.OtherViewsFilter.getOtherView(OtherViewsFilter.java:73)
      	at hudson.views.OtherViewsFilter.doFilter(OtherViewsFilter.java:49)
      	at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      	at hudson.model.ListView.getItems(ListView.java:170)
      	at hudson.model.ListView.getItems(ListView.java:60)
      	at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      	at hudson.security.ACL.hasPermission(ACL.java:64)
      	at hudson.model.View.hasPermission(View.java:541)
      	at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      	at jenkins.model.Jenkins.getViews(Jenkins.java:1410)
      	at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      	at hudson.views.OtherViewsFilter.getView(OtherViewsFilter.java:166)
      	at hudson.views.OtherViewsFilter.getOtherView(OtherViewsFilter.java:73)
      	at hudson.views.OtherViewsFilter.doFilter(OtherViewsFilter.java:49)
      	at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      	at hudson.model.ListView.getItems(ListView.java:170)
      	at hudson.model.ListView.getItems(ListView.java:60)
      	at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      	at hudson.security.ACL.hasPermission(ACL.java:64)
      	at hudson.model.View.hasPermission(View.java:541)
      	at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      	at jenkins.model.Jenkins.getViews(Jenkins.java:1410)
      	at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      	at hudson.views.OtherViewsFilter.getView(OtherViewsFilter.java:166)
      	at hudson.views.OtherViewsFilter.getOtherView(OtherViewsFilter.java:73)
      	at hudson.views.OtherViewsFilter.doFilter(OtherViewsFilter.java:49)
      	at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      	at hudson.model.ListView.getItems(ListView.java:170)
      	at hudson.model.ListView.getItems(ListView.java:60)
      	at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      	at hudson.security.ACL.hasPermission(ACL.java:64)
      	at hudson.model.View.hasPermission(View.java:541)
      	at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      	at jenkins.model.Jenkins.getViews(Jenkins.java:1410)
      	at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      	at hudson.views.OtherViewsFilter.getView(OtherViewsFilter.java:166)
      	at hudson.views.OtherViewsFilter.getOtherView(OtherViewsFilter.java:73)
      	at hudson.views.OtherViewsFilter.doFilter(OtherViewsFilter.java:49)
      	at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      	at hudson.model.ListView.getItems(ListView.java:170)
      	at hudson.model.ListView.getItems(ListView.java:60)
      	at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      ...
      

            jacob_robertson Jacob Robertson
            khmarbaise Karl-Heinz Marbaise
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: