[JIRA] (JENKINS-58936) javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:

191 views
Skip to first unread message

bvajjala@gmail.com (JIRA)

unread,
Aug 14, 2019, 11:31:03 AM8/14/19
to jenkinsc...@googlegroups.com
balaji vajjala created an issue
 
Jenkins / Bug JENKINS-58936
javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:
Issue Type: Bug Bug
Assignee: Unassigned
Components: jenkinswalldisplay
Created: 2019-08-14 15:30
Environment: Jenkins 2.189-1
Priority: Major Major
Reporter: balaji vajjala

Keep getting this exception after upgrading Jenkins to Jenkins 2.189-1

javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53: <st:include> org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load message from org.kohsuke.stapler.jelly.groovy.GroovyFacet@25877865
at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:247)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:243)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:92)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:49)
at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:44)
at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:106)
at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:44)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at javax.servlet.FilterChain$doFilter$0.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215)
at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88)
at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:114)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:105)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
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 jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
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 jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
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:67)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:505)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53: <st:include> org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load message from org.kohsuke.stapler.jelly.groovy.GroovyFacet@25877865
at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)
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.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
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:120)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
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.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.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
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:120)
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:120)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
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.ScriptInvoker.execute(ScriptInvoker.java:56)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:238)
... 93 more
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load message from org.kohsuke.stapler.jelly.groovy.GroovyFacet@25877865
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)
at com.google.common.cache.LocalCache$LocalManualCache.getUnchecked(LocalCache.java:4834)
at org.kohsuke.stapler.CachingScriptLoader.findScript(CachingScriptLoader.java:62)
at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:112)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
... 136 more
Caused by: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load message from org.kohsuke.stapler.jelly.groovy.GroovyFacet@25877865
at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:35)
at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:28)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
... 143 more
Caused by: org.apache.commons.jelly.JellyException: Failed to load message from org.kohsuke.stapler.jelly.groovy.GroovyFacet@25877865
at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:88)
at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:47)
at org.kohsuke.stapler.AbstractTearOff.loadScript(AbstractTearOff.java:97)
at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:31)
... 148 more
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during class generation: 1
java.lang.ArrayIndexOutOfBoundsException: 1
at org.codehaus.groovy.vmplugin.v5.Java5.makeParameters(Java5.java:451)
at org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:382)
at org.codehaus.groovy.ast.ClassNode.lazyClassInit(ClassNode.java:280)
at org.codehaus.groovy.ast.ClassNode.getInterfaces(ClassNode.java:375)
at org.codehaus.groovy.ast.ClassNode.declaresInterface(ClassNode.java:981)
at org.codehaus.groovy.ast.ClassNode.implementsInterface(ClassNode.java:961)
at org.codehaus.groovy.ast.ClassNode.isDerivedFromGroovyObject(ClassNode.java:951)
at org.codehaus.groovy.classgen.AsmClassGenerator.isGroovyObject(AsmClassGenerator.java:1052)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitPropertyExpression(AsmClassGenerator.java:1007)
at org.codehaus.groovy.ast.expr.PropertyExpression.visit(PropertyExpression.java:57)
at org.codehaus.groovy.classgen.asm.CallSiteWriter.makeCallSite(CallSiteWriter.java:303)
at org.codehaus.groovy.classgen.asm.InvocationWriter.makeCachedCall(InvocationWriter.java:307)
at org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:397)
at org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:104)
at org.codehaus.groovy.classgen.asm.InvocationWriter.makeInvokeMethodCall(InvocationWriter.java:88)
at org.codehaus.groovy.classgen.asm.InvocationWriter.writeInvokeMethod(InvocationWriter.java:464)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitMethodCallExpression(AsmClassGenerator.java:771)
at org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:66)
at org.codehaus.groovy.classgen.asm.StatementWriter.writeExpressionStatement(StatementWriter.java:613)
at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeExpressionStatement(OptimizingStatementWriter.java:366)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitExpressionStatement(AsmClassGenerator.java:624)
at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
at org.codehaus.groovy.classgen.asm.StatementWriter.writeBlockStatement(StatementWriter.java:85)
at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeBlockStatement(OptimizingStatementWriter.java:159)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitBlockStatement(AsmClassGenerator.java:570)
at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:104)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:115)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitStdMethod(AsmClassGenerator.java:434)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:387)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:126)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitMethod(AsmClassGenerator.java:511)
at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1081)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:53)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:233)
at org.codehaus.groovy.control.CompilationUnit$17.call(CompilationUnit.java:825)
at org.codehaus.groovy.control.CompilationUnit$17.call(CompilationUnit.java:842)
at org.codehaus.groovy.control.CompilationUnit$17.call(CompilationUnit.java:842)
at org.codehaus.groovy.control.CompilationUnit$17.call(CompilationUnit.java:842)
at org.codehaus.groovy.control.CompilationUnit$17.call(CompilationUnit.java:842)
at org.codehaus.groovy.control.CompilationUnit$17.call(CompilationUnit.java:842)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:254)
at org.kohsuke.stapler.jelly.groovy.GroovyClassLoaderTearOff.parse(GroovyClassLoaderTearOff.java:92)
at org.kohsuke.stapler.jelly.groovy.GroovyClassTearOff.parseScript(GroovyClassTearOff.java:50)
at org.kohsuke.stapler.jelly.groovy.GroovyClassTearOff.parseScript(GroovyClassTearOff.java:39)
at org.kohsuke.stapler.AbstractTearOff.resolveScript(AbstractTearOff.java:91)
at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:85)
at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:47)
at org.kohsuke.stapler.AbstractTearOff.loadScript(AbstractTearOff.java:97)
at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:31)
at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:28)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)
at com.google.common.cache.LocalCache$LocalManualCache.getUnchecked(LocalCache.java:4834)
at org.kohsuke.stapler.CachingScriptLoader.findScript(CachingScriptLoader.java:62)
at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:112)
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.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.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
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:120)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
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.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.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
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:120)
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:120)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
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.ScriptInvoker.execute(ScriptInvoker.java:56)
at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:238)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:243)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:92)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:49)
at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:44)
at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:106)
at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:44)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at javax.servlet.FilterChain$doFilter$0.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215)
at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88)
at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:114)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:105)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
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 jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
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 jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bvajjala@gmail.com (JIRA)

unread,
Aug 26, 2019, 2:35:02 PM8/26/19
to jenkinsc...@googlegroups.com

bvajjala@gmail.com (JIRA)

unread,
Aug 26, 2019, 2:36:02 PM8/26/19
to jenkinsc...@googlegroups.com

darrienglasser@gmail.com (JIRA)

unread,
Aug 29, 2019, 3:52:02 PM8/29/19
to jenkinsc...@googlegroups.com
Darrien Glasser commented on Bug JENKINS-58936
 
Re: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:

We're also on jenkins 2.190-1 and hitting the same error. The Manage Jenkins page hits the stacktrace every time without fail, so we can't do any administration.

There's a new version so we can try and upgrade to that, but at the moment, this is very frustrating.

 

tharden0825@gmail.com (JIRA)

unread,
Oct 24, 2019, 1:59:04 PM10/24/19
to jenkinsc...@googlegroups.com

Same issue, tried updating to 2.201 and updating all plugins and had no effect.
Doesn't always happen in the same "Jelly" file:

Manage Jenkins page it occurs inside the <dd> tag of the "Configure Global Security" link
manage.jelly:86:80: <st:include> java.lang.StackOverflowError

On a Freestyle job main page it happens in the side panel after the "Configuration" task.
actions.jelly:39:70: <st:include> java.lang.StackOverflowError

Tried backing up the ".jenkins" directory and doing a fresh install of 2.201 and that functioned but was of course missing all of my jobs, configuration, and plugins.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

wfollonier@cloudbees.com (JIRA)

unread,
Oct 25, 2019, 2:29:05 AM10/25/19
to jenkinsc...@googlegroups.com

wfollonier@cloudbees.com (JIRA)

unread,
Oct 25, 2019, 2:55:02 AM10/25/19
to jenkinsc...@googlegroups.com
Wadeck Follonier commented on Bug JENKINS-58936
 
Re: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:

balaji vajjala, Timothy Harden, Darrien Glasser, could you please provide the list of plugin that you have currently installed + the type of environement you are using? (Docker, VM, Windows, Linux, all potentially relevant information)

Thank you very much!

wfollonier@cloudbees.com (JIRA)

unread,
Oct 25, 2019, 2:58:03 AM10/25/19
to jenkinsc...@googlegroups.com
Wadeck Follonier edited a comment on Bug JENKINS-58936
[~bv2019], [~tharden0825], [~darrien], could you please provide the list of plugin that you have currently installed + the type of environement you are using? (Docker, VM, Windows, Linux, all potentially relevant information)

Thank you very much!


Due to the comment from Timothy, it seems like that there is a plugin doing something wrong with its {{ManagementLink}}.

dbeck@cloudbees.com (JIRA)

unread,
Oct 25, 2019, 5:21:04 AM10/25/19
to jenkinsc...@googlegroups.com

2.189-2.192 had an issue with an admin monitor (JENKINS-59094), so those versions are known to be bad. Only if the original issue still happens on 2.193+ would this be interesting at all.


java.lang.StackOverflowError

Is a different error than reported here, so the comment is useless without a detailed error message and information on configuration.

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 1:42:03 PM10/25/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 1:43:03 PM10/25/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 1:43:04 PM10/25/19
to jenkinsc...@googlegroups.com
Timothy Harden commented on Bug JENKINS-58936
 
Re: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:

This issue is actually occuring on two servers for me (a build server and one functioning as a performance monitor).This issue is actually occuring on two servers for me (a build server and one functioning as a performance monitor).Attached are text files listing the contents of the "plugins" directory for each and an excel sheet that lists the contents that the two have in common.On the build server I've already decided to cut my losses and start from a fresh install and set it up the way I had it but the monitor is relatively untouched and can still be used for troubleshooting/info-gathering.

 

Both servers have a domain that was used for Jenkins' configured URL (instead of "localhost")
Both servers are running on:

  • Windows Server 2012 R2 Standard  Intel Xeon CPU E5-2680 v3 (Monitor server has a 2690)
  • 8 GB RAM
  • 64-bit OS/Processor

 

Apache Tomcat 8.5.11 running as a service logged in with a service account.
Tomcat's Java Options:  (some options are left over from troubleshooting an issue in the distant past and can probably be removed)

  • -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5
  • -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.5
  • -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.5\temp
  • -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
  • -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\logging.properties
  • -Djava.library.path="C:\Program Files\Apache Software Foundation\Tomcat 8.5\lib"
  • -Djava.awt.headless=true
  • -Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src data:;\""
  • -Xmx3072m
  • -Xms3072m
  • -Xmn2g
  • -Xss128k
  • -XX:NewRatio=4
  • -XX:SurvivorRatio=4
  • -XX:MaxPermSize=16m
  • -XX:MaxTenuringThreshold=0
  • -XX:+UseParallelGC
  • -XX:ParallelGCThreads=20
  • -XX:+UseParallelOldGC
  • -XX:MaxGCPauseMillis=100
  • -XX:+UseAdaptiveSizePolicy
  • -XX:MaxMetaspaceSize=512m

After issues started I added the following line to the context.xml to no effect: <Resources cachingAllowed="true" cacheMaxSize="100000" />

 

PluginSummary.xlsx

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 1:44:04 PM10/25/19
to jenkinsc...@googlegroups.com
Timothy Harden edited a comment on Bug JENKINS-58936
This issue is actually occuring on two servers for me (a build server and one functioning as a performance monitor). This issue is actually occuring on two servers for me (a build server and one functioning as a performance monitor). Attached are text files listing the contents of the "plugins" directory for each and an excel sheet that lists the contents that the two have in common.On the build server I've already decided to cut my losses and start from a fresh install and set it up the way I had it but the monitor is relatively untouched and can still be used for troubleshooting/info-gathering.

 


Both servers have a domain that was used for Jenkins' configured URL (instead of "localhost")
Both servers are running on:
* Windows Server 2012 R2 Standard  Intel Xeon CPU E5-2680 v3 (Monitor server has a 2690)
* 8 GB RAM
* 64-bit OS/Processor

 


Apache Tomcat 8.5.11 running as a service logged in with a service account.
Tomcat's Java Options:  (some options are left over from troubleshooting an issue in the distant past and can probably be removed)
* -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5
* -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.5
* -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.5\temp
* -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
* -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\logging.properties
* -Djava.library.path="C:\Program Files\Apache Software Foundation\Tomcat 8.5\lib"
* -Djava.awt.headless=true
* -Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src data:;\""
* -Xmx3072m
* -Xms3072m
* -Xmn2g
* -Xss128k
* -XX:NewRatio=4
* -XX:SurvivorRatio=4
* -XX:MaxPermSize=16m
* -XX:MaxTenuringThreshold=0
* -XX:+UseParallelGC
* -XX:ParallelGCThreads=20
* -XX:+UseParallelOldGC
* -XX:MaxGCPauseMillis=100
* -XX:+UseAdaptiveSizePolicy
* -XX:MaxMetaspaceSize=512m


After issues started I added the following line to the context.xml to no effect: <Resources cachingAllowed="true" cacheMaxSize="100000" />

 

[^PluginSummary.xlsx]

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 1:44:06 PM10/25/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 1:44:07 PM10/25/19
to jenkinsc...@googlegroups.com
Timothy Harden edited a comment on Bug JENKINS-58936
This issue is actually occuring on two servers for me (a build server and one functioning as a performance monitor).  Attached are text files listing the contents of the "plugins" directory for each and an excel sheet that lists the contents that the two have in common.   On the build server I've already decided to cut my losses and start from a fresh install and set it up the way I had it but the monitor is relatively untouched and can still be used for troubleshooting/info-gathering.

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 1:45:04 PM10/25/19
to jenkinsc...@googlegroups.com
  [^bld.txt]

[^
monitor.txt]

[^
PluginSummary.xlsx]

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 2:38:03 PM10/25/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 2:39:03 PM10/25/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 2:39:04 PM10/25/19
to jenkinsc...@googlegroups.com
Timothy Harden commented on Bug JENKINS-58936
 
Re: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:

Correction, I don't know if something changed but upon fresh 2.201 installation with the suggested plugins, the issue showed up again.
So I re-re-installed 2.201 with no plugins and the issue was there yet again.

Seeing as this doesn't happen to everyone I'm assuming that, for my incarnation of this issue at least, this is being caused by something that happened on my machine without my knowledge such as an update to the OS or security software.  

I'm going to talk to Infrastructure where I work and see if any work has been done on these servers recently.  In the mean time, here is the stack trace from the bare-bones version and the content for the same time from the tomcat8-stderr log.

 

stacktrace from the manage page and tomcat8-stderr output for Tomcat startup, the setup for Jenkins (no plugins), and navigating to the manage jenkins page attached.

manager-stacktrace.txt

tomcat8-stderr_output.txt

tharden0825@gmail.com (JIRA)

unread,
Oct 25, 2019, 2:41:03 PM10/25/19
to jenkinsc...@googlegroups.com
Timothy Harden edited a comment on Bug JENKINS-58936
Same issue, tried updating to 2.201 and updating all plugins and had no effect.
Doesn't always happen in the same "Jelly" file:

Manage Jenkins page it occurs inside the <dd> tag of the "Configure Global Security" link
manage.jelly:86:80: <st:include> java.lang.StackOverflowError

On a Freestyle job main page it happens in the side panel after the "Configuration" task.
actions.jelly:39:70: <st:include> java.lang.StackOverflowError

- Tried backing up the ".jenkins" directory and doing a fresh install of 2.201 and that functioned but was of course missing all of my jobs, configuration, and plugins. - (Either I was mistake or this is no longer the case, see later comments)

dbeck@cloudbees.com (JIRA)

unread,
Oct 26, 2019, 9:55:03 AM10/26/19
to jenkinsc...@googlegroups.com

Timothy Harden Thanks for the update, that's very thorough!

Interestingly, this appears to be caused by one of the regular ManagementLink items rather than the (IME) more common culprit AdministrativeMonitor.

https://github.com/jenkinsci/jenkins/blob/9225492a0ab390967cc988b825ecc642c2886c42/core/src/main/resources/jenkins/model/Jenkins/manage.jelly#L86

What I am surprised by is that the stack trace involves Groovy, when there are no info.groovy files for ManagementLink}}s in core. In fact, there's only a single {{info.jelly, and it's pretty trivial: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/jenkins/management/PluginsLink/info.jelly

Could you confirm again that this problem even occurs when you install Jenkins with the official jenkins.war file deployed into Tomcat, and no plugins installed at all? This just seems so strange.


BTW, from 2.200 on there's a better alternative to overriding hudson.model.DirectoryBrowserSupport.CSP, an option called "Resource root URL". Check that out when this is over

dbeck@cloudbees.com (JIRA)

unread,
Oct 26, 2019, 11:34:07 AM10/26/19
to jenkinsc...@googlegroups.com

As a further diagnostic tool we can mess with the internals of your test instance a bit.

/script is the URL of the script console (docs: https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console )

This will tell you all known links showing on the "Manage Jenkins" screen:

ManagementLink.all() 

The following will temporarily (until restart) remove a link from that screen (and basically remove its functionality – depending on the link, some things will just be unavailable, e.g. the Global Security Configuration is implemented like that):

ManagementLink.all().remove(0) 

(0 is the first entry in the list, and it's ordered the same way as they show up on the screen, i.e. System, Security, Tools, …).

I wonder whether you could use this & a few restarts as needed to determine the culprit(s).

That said, this looks like a very weird issue. Perhaps a problem around Tomcat? If that bundles Groovy, for example, and its Groovy takes precedence over Jenkins', that would be a potential problem.

dbeck@cloudbees.com (JIRA)

unread,
Oct 26, 2019, 11:34:09 AM10/26/19
to jenkinsc...@googlegroups.com
Daniel Beck edited a comment on Bug JENKINS-58936
As a further diagnostic tool we can mess with the internals of your test instance a bit.

{{/script}} is the URL of the script console (docs: [https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console] )

This will tell you all known links showing on the "Manage Jenkins" screen:
{noformat}
ManagementLink.all() {noformat}

The following will temporarily (until restart) remove a link from that screen (and basically remove its functionality – depending on the link, some things will just be unavailable, e.g. the Global Security Configuration is implemented like that):
{noformat}
ManagementLink.all().remove(0) {noformat}

(0 is the first entry in the list, and it's ordered the same way as they show up on the screen, i.e. System, Security, Tools, …).

I wonder whether you could use this & a few restarts as needed to determine the culprit(s).

That said, this looks like a very weird issue , so this might not lead anywhere . Perhaps a problem around Tomcat? If that bundles Groovy, for example, and its Groovy takes precedence over Jenkins', that would be a potential problem.

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 3:23:03 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 3:24:02 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 3:25:03 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 3:25:03 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 3:29:05 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 3:29:05 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 3:30:03 PM10/28/19
to jenkinsc...@googlegroups.com
Timothy Harden commented on Bug JENKINS-58936
 
Re: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:

Here's what I see when I install Jenkins 2.202 without plugins (upgraded again) see attached screenshots.
Afterward, I reverted to the backed up version with plugins so that the server could be used while I troubleshoot.

I'll try the script console next.

 

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 4:39:03 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 4:46:02 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 4:48:03 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 4:49:03 PM10/28/19
to jenkinsc...@googlegroups.com

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 4:51:03 PM10/28/19
to jenkinsc...@googlegroups.com
 
Re: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.189.jar!/jenkins/model/Jenkins/manage.jelly:46:53:

Well... it's a step closer.

After trying many many things I decided to start trying to get rid of each error or warning individually to at least eliminate possible causes.
While troubleshooting the "reverse proxy is broken" issue that everyone insists won't impact Jenkins at all, I found this comment at the bottom of a help article. (see below)

I added the highlighted argument to the java options in tomcat and the manager page finally loaded without any errors.  However, the Configure System and Configure Global Security links still take me to broken pages.

With the Security page referencing the charset decoder I'm wondering if it's another similar issue.

https://wiki.jenkins.io/display/JENKINS/Jenkins+says+my+reverse+proxy+setup+is+broken

 

 

 

 

 

 

tharden0825@gmail.com (JIRA)

unread,
Oct 28, 2019, 5:14:03 PM10/28/19
to jenkinsc...@googlegroups.com

I reduced the java options in tomcat down to the following and everything works again.
I wouldn't close this issue until hearing from the people who opened it because their issue may be different than mine but I think it had something to do with limiting Tomcat's caching?

-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5

-Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.5

-Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.5\temp

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager


-Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\logging.properties

-Djava.library.path="C:\Program Files\Apache Software Foundation\Tomcat 8.5\lib"

-Xmx3072m
-Xms3072m
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

tharden0825@gmail.com (JIRA)

unread,
Nov 1, 2019, 2:17:05 PM11/1/19
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Nov 1, 2019, 3:55:03 PM11/1/19
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Nov 4, 2019, 6:34:02 AM11/4/19
to jenkinsc...@googlegroups.com
Daniel Beck closed an issue as Not A Defect
 

Custom configuration with a much smaller stack size seems to be the culprit.

Change By: Daniel Beck
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages