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

jelly.JellyTagException: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy

    XMLWordPrintable

Details

    Description

      It seems missing a Jelly Tag library :

       

      org.apache.commons.jelly.JellyTagException: jar:file:/prod/jenkins_cache/WEB-INF/lib/jenkins-core-2.222.1.jar!/lib/hudson/editableDescription.jelly:39:101: <j:out> Could not initialize class hudson.markup.BasicPolicy
              at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
              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:120)
              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.TagSupport.invokeBody(TagSupport.java:161)
              at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:121)
              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: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.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              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.handleIndexRequest(Facet.java:282)
              at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99)
              at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:815)
              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:755)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
              at com.splunk.splunkjenkins.WebPostAccessLogger.doFilter(WebPostAccessLogger.java:39)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
              at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:246)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
              at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
              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 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:1604)
              at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:159)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              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:118)
              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:1604)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.Server.handle(Server.java:500)
              at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
              at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
              at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
              at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
              at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
              at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
              at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
              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:336)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
              at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy
              at hudson.markup.RawHtmlMarkupFormatter.translate(RawHtmlMarkupFormatter.java:44)
              at hudson.markup.MarkupFormatter.translate(MarkupFormatter.java:76)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
              at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
              at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
              at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
              at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:54)
              at org.apache.commons.jexl.parser.ASTTernaryNode.value(ASTTernaryNode.java:41)
              at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:54)
              at org.apache.commons.jexl.parser.ASTExpressionExpression.value(ASTExpressionExpression.java:56)
              at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
              at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
              at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
              at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
              at org.apache.commons.jelly.tags.core.ExprTag.doTag(ExprTag.java:42)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
              ... 140 more
      Caused: javax.servlet.ServletException
              at org.kohsuke.stapler.Facet.handleIndexRequest(Facet.java:285)
              at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99)
              at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:815)
              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:755)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
              at com.splunk.splunkjenkins.WebPostAccessLogger.doFilter(WebPostAccessLogger.java:39)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
              at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:246)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
              at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
              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 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:1604)
              at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:159)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              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:118)
              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:1604)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.Server.handle(Server.java:500)
              at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
              at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
              at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
              at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
              at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
              at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
              at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
              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:336)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
              at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
              at java.lang.Thread.run(Thread.java:748)
      

      Another failure probably linked:

      org.apache.commons.jelly.JellyTagException: jar:file:/yyyyyyy/xxxxxx/jenkins_cache/WEB-INF/lib/jenkins-core-2.222.1.jar!/lib/hudson/editableDescription.jelly:39:101: <j:out> TABLES
              at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
              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:120)
              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.TagSupport.invokeBody(TagSupport.java:161)
      ...
              at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NoSuchFieldError: TABLES
              at hudson.markup.BasicPolicy.<clinit>(BasicPolicy.java:20)
              at hudson.markup.RawHtmlMarkupFormatter.translate(RawHtmlMarkupFormatter.java:44)
              at hudson.markup.MarkupFormatter.translate(MarkupFormatter.java:76)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      ...
              at java.lang.Thread.run(Thread.java:748)
      
      
      org.apache.commons.jelly.JellyTagException: jar:file:/zzzzz/jenkins_cache/WEB-INF/lib/jenkins-core-2.204.4.jar!/lib/hudson/editableDescription.jelly:39:101: <j:out> Could not initialize class hudson.markup.BasicPolicy
              at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
      ...
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy
              at hudson.markup.RawHtmlMarkupFormatter.translate(RawHtmlMarkupFormatter.java:44)
      ...
      Caused: javax.servlet.ServletException
              at org.kohsuke.stapler.Facet.handleIndexRequest(Facet.java:285)
              at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99)
              at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32)
      

      Attachments

        Activity

          mramonleon Ramon Leon added a comment -

          I've just done the steps I commented, no errors found.

          Jenkins 2.204.4 with Timestamper 1.11.1 and OWASP Markup Formatter 1.8:

          A job with a table in its description:

          The table and html escaped:

          Updated to Jenkins 2.222.1:

          Updated the plugin versions:

          Description shown as expected:

          And no errors on console.

          Sorry based3 maybe I missed some step or it's something related with your environment, most likely changed jar (owasp dependency) in an unexpected way, but it's weird someone did so. If you could give us some steps to reproduce the problem it would help to find out the issue. In other case I'm sorry we will close this ticket as cannot reproduce.

          To be clear, I don't doubt there could be a potential issue here, it's just that without a way to reproduce it or any extra valuable information, we cannot do too much for now.

          mramonleon Ramon Leon added a comment - I've just done the steps I commented, no errors found. Jenkins 2.204.4 with Timestamper 1.11.1 and OWASP Markup Formatter 1.8: A job with a table in its description: The table and html escaped: Updated to Jenkins 2.222.1: Updated the plugin versions: Description shown as expected: And no errors on console. Sorry based3 maybe I missed some step or it's something related with your environment, most likely changed jar (owasp dependency) in an unexpected way, but it's weird someone did so. If you could give us some steps to reproduce the problem it would help to find out the issue. In other case I'm sorry we will close this ticket as cannot reproduce . To be clear, I don't doubt there could be a potential issue here, it's just that without a way to reproduce it or any extra valuable information, we cannot do too much for now.
          based3 Basile Chandesris added a comment - - edited

          Sorry, here the list.

          We have two private plugins: jobpersistqueue, orchestrate (I will try to take time to update them).

          The plugins installed by the unarchive as new /plugins folder on 2.222.1:

          ace-editor 1.1 true
          ansicolor 0.6.3 true
          ant 1.8 false
          antisamy-markup-formatter 2.0 true
          apache-httpcomponents-client-4-api 4.5.10-2.0 true
          authentication-tokens 1.3 true
          authorize-project 1.3.0 true
          basic-branch-build-strategies 1.3.2 true
          blueocean 1.22.0 true
          blueocean-autofavorite 1.2.4 true
          blueocean-bitbucket-pipeline 1.22.0 true
          blueocean-commons 1.22.0 true
          blueocean-config 1.22.0 true
          blueocean-core-js 1.22.0 true
          blueocean-dashboard 1.22.0 true
          blueocean-display-url 2.3.1 true
          blueocean-events 1.22.0 true
          blueocean-git-pipeline 1.22.0 true
          blueocean-github-pipeline 1.22.0 true
          blueocean-i18n 1.22.0 true
          blueocean-jira 1.22.0 true
          blueocean-jwt 1.22.0 true
          blueocean-personalization 1.22.0 true
          blueocean-pipeline-api-impl 1.22.0 true
          blueocean-pipeline-editor 1.22.0 true
          blueocean-pipeline-scm-api 1.22.0 true
          blueocean-rest 1.22.0 true
          blueocean-rest-impl 1.22.0 true
          blueocean-web 1.22.0 true
          bouncycastle-api 2.18 true
          branch-api 2.5.5 true
          build-pipeline-plugin 1.5.8 true
          build-timeout 1.19.1 true
          cloudbees-bitbucket-branch-source 2.7.0 true
          cloudbees-folder 6.12 true
          command-launcher 1.4 false
          compact-columns 1.10 false
          conditional-buildstep 1.3.6 true
          credentials 2.3.5 true
          credentials-binding 1.21 true
          display-url-api 2.3.2 true
          docker-commons 1.16 true
          docker-workflow 1.23 true
          durable-task 1.34 true
          email-ext 2.69 true
          external-monitor-job 1.7 false
          favorite 2.3.2 true
          git 4.2.2 true
          git-client 3.2.1 true
          git-server 1.9 true
          github 1.29.5 true
          github-api 1.110 true
          github-branch-source 2.6.0 true
          global-build-stats 1.5 true
          groovy 2.2 true
          handlebars 1.1.1 true
          handy-uri-templates-2-api 2.1.8-1.0 true
          htmlpublisher 1.22 true
          jackson2-api 2.10.3 true
          javadoc 1.5 true
          jdk-tool 1.4 false
          jenkins-design-language 1.22.0 true
          jira 3.0.15 true
          job-dsl 1.77 true
          jobpersistqueue 1.0-SNAPSHOT true - PRIVATE
          jquery 1.12.4-1 true
          jquery-detached 1.2.1 true
          jquery-ui 1.0.2 true
          jsch 0.1.55.2 true
          junit 1.28 true
          ldap 1.22 true
          lockable-resources 2.7 true
          mailer 1.31 true
          mask-passwords 2.13 true
          matrix-auth 2.5 true
          matrix-project 1.14 true
          maven-plugin 3.5 true
          mercurial 2.9 true
          momentjs 1.1.1 true
          orchestrate 1.1 true - PRIVATE
          pam-auth 1.5.1 false
          parameterized-trigger 2.36 true
          pipeline-build-step 2.12 true
          pipeline-graph-analysis 1.10 true
          pipeline-input-step 2.11 true
          pipeline-milestone-step 1.3.1 true
          pipeline-model-api 1.6.0 true
          pipeline-model-declarative-agent 1.1.1 true
          pipeline-model-definition 1.6.0 true
          pipeline-model-extensions 1.6.0 true
          pipeline-rest-api 2.13 true
          pipeline-stage-step 2.3 true
          pipeline-stage-tags-metadata 1.6.0 true
          pipeline-stage-view 2.13 true
          pipeline-utility-steps 2.5.0 true
          plain-credentials 1.7 true
          preSCMbuildstep 0.3 true
          pubsub-light 1.13 true
          rebuild 1.31 true
          resource-disposer 0.14 true
          role-strategy 2.16 true
          run-condition 1.3 true
          scm-api 2.6.3 true
          script-security 1.71 true
          splunk-devops 1.9.2 true
          sse-gateway 1.23 true
          ssh-agent 1.19 true
          ssh-credentials 1.18.1 true
          ssh-slaves 1.31.1 true
          structs 1.20 true
          timestamper 1.11.2 true
          token-macro 2.12 true
          trilead-api 1.0.6 true
          uno-choice 2.2.2 true
          variant 1.3 true
          windows-slaves 1.0 false
          workflow-aggregator 2.6 true
          workflow-api 2.40 true
          workflow-basic-steps 2.19 true
          workflow-cps 2.80 true
          workflow-cps-global-lib 2.16 true
          workflow-durable-task-step 2.35 true
          workflow-job 2.38 true
          workflow-multibranch 2.21 true
          workflow-scm-step 2.10 true
          workflow-step-api 2.22 true
          workflow-support 3.4 true
          ws-cleanup 0.38 true

          and added my NPE issue to proper ticket: JENKINS-59198

           

           

           

          based3 Basile Chandesris added a comment - - edited Sorry, here the list. We have two private plugins: jobpersistqueue, orchestrate (I will try to take time to update them). The plugins installed by the unarchive as new /plugins folder on 2.222.1: ace-editor 1.1 true ansicolor 0.6.3 true ant 1.8 false antisamy-markup-formatter 2.0 true apache-httpcomponents-client-4-api 4.5.10-2.0 true authentication-tokens 1.3 true authorize-project 1.3.0 true basic-branch-build-strategies 1.3.2 true blueocean 1.22.0 true blueocean-autofavorite 1.2.4 true blueocean-bitbucket-pipeline 1.22.0 true blueocean-commons 1.22.0 true blueocean-config 1.22.0 true blueocean-core-js 1.22.0 true blueocean-dashboard 1.22.0 true blueocean-display-url 2.3.1 true blueocean-events 1.22.0 true blueocean-git-pipeline 1.22.0 true blueocean-github-pipeline 1.22.0 true blueocean-i18n 1.22.0 true blueocean-jira 1.22.0 true blueocean-jwt 1.22.0 true blueocean-personalization 1.22.0 true blueocean-pipeline-api-impl 1.22.0 true blueocean-pipeline-editor 1.22.0 true blueocean-pipeline-scm-api 1.22.0 true blueocean-rest 1.22.0 true blueocean-rest-impl 1.22.0 true blueocean-web 1.22.0 true bouncycastle-api 2.18 true branch-api 2.5.5 true build-pipeline-plugin 1.5.8 true build-timeout 1.19.1 true cloudbees-bitbucket-branch-source 2.7.0 true cloudbees-folder 6.12 true command-launcher 1.4 false compact-columns 1.10 false conditional-buildstep 1.3.6 true credentials 2.3.5 true credentials-binding 1.21 true display-url-api 2.3.2 true docker-commons 1.16 true docker-workflow 1.23 true durable-task 1.34 true email-ext 2.69 true external-monitor-job 1.7 false favorite 2.3.2 true git 4.2.2 true git-client 3.2.1 true git-server 1.9 true github 1.29.5 true github-api 1.110 true github-branch-source 2.6.0 true global-build-stats 1.5 true groovy 2.2 true handlebars 1.1.1 true handy-uri-templates-2-api 2.1.8-1.0 true htmlpublisher 1.22 true jackson2-api 2.10.3 true javadoc 1.5 true jdk-tool 1.4 false jenkins-design-language 1.22.0 true jira 3.0.15 true job-dsl 1.77 true jobpersistqueue 1.0-SNAPSHOT true - PRIVATE jquery 1.12.4-1 true jquery-detached 1.2.1 true jquery-ui 1.0.2 true jsch 0.1.55.2 true junit 1.28 true ldap 1.22 true lockable-resources 2.7 true mailer 1.31 true mask-passwords 2.13 true matrix-auth 2.5 true matrix-project 1.14 true maven-plugin 3.5 true mercurial 2.9 true momentjs 1.1.1 true orchestrate 1.1 true - PRIVATE pam-auth 1.5.1 false parameterized-trigger 2.36 true pipeline-build-step 2.12 true pipeline-graph-analysis 1.10 true pipeline-input-step 2.11 true pipeline-milestone-step 1.3.1 true pipeline-model-api 1.6.0 true pipeline-model-declarative-agent 1.1.1 true pipeline-model-definition 1.6.0 true pipeline-model-extensions 1.6.0 true pipeline-rest-api 2.13 true pipeline-stage-step 2.3 true pipeline-stage-tags-metadata 1.6.0 true pipeline-stage-view 2.13 true pipeline-utility-steps 2.5.0 true plain-credentials 1.7 true preSCMbuildstep 0.3 true pubsub-light 1.13 true rebuild 1.31 true resource-disposer 0.14 true role-strategy 2.16 true run-condition 1.3 true scm-api 2.6.3 true script-security 1.71 true splunk-devops 1.9.2 true sse-gateway 1.23 true ssh-agent 1.19 true ssh-credentials 1.18.1 true ssh-slaves 1.31.1 true structs 1.20 true timestamper 1.11.2 true token-macro 2.12 true trilead-api 1.0.6 true uno-choice 2.2.2 true variant 1.3 true windows-slaves 1.0 false workflow-aggregator 2.6 true workflow-api 2.40 true workflow-basic-steps 2.19 true workflow-cps 2.80 true workflow-cps-global-lib 2.16 true workflow-durable-task-step 2.35 true workflow-job 2.38 true workflow-multibranch 2.21 true workflow-scm-step 2.10 true workflow-step-api 2.22 true workflow-support 3.4 true ws-cleanup 0.38 true and added my NPE issue to proper ticket: JENKINS-59198      
          mramonleon Ramon Leon added a comment - - edited

          Sorry based3 I don't see any further path to investigate this issue. The only reason I can think about is some manipulation of hpi plugin files changing the owasp-java-html-sanitizer jar; adding the old one, without the Sanitizer.TABLES field, instead of the new one with this field.

          Please feel free to reopen if you find reproduction steps we can follow.

          mramonleon Ramon Leon added a comment - - edited Sorry based3 I don't see any further path to investigate this issue. The only reason I can think about is some manipulation of hpi plugin files changing the owasp-java-html-sanitizer jar; adding the old one, without the Sanitizer.TABLES field, instead of the new one with this field. Please feel free to reopen if you find reproduction steps we can follow.
          oleg_nenashev Oleg Nenashev added a comment -

          The easiest way to find  root cause is to go through all plugin archives using ZIP tool and to find all plugins including the owasp-java-html-sanitizer JAR. Once it is done, all plugins  can be manually checked for versions of the library.

           

          oleg_nenashev Oleg Nenashev added a comment - The easiest way to find  root cause is to go through all plugin archives using ZIP tool and to find all plugins including the owasp-java-html-sanitizer JAR. Once it is done, all plugins  can be manually checked for versions of the library.  
          mramonleon Ramon Leon added a comment - - edited

          What I expect is that antisamy-markup-formatter.hpi (2.0) has the jar owasp-java-html-sanitizer.jar with MANIFEST.MF:

          Manifest-Version: 1.0
          Created-By: 1.6.0_26 (Apple Inc.)
          

          instead of owasp-java-html-sanitizer-20191001.1.jar with MANIFEST.MF:

          Manifest-Version: 1.0
          Bnd-LastModified: 1570026235032
          Build-Jdk: 10.0.1
          Built-By: msamuel
          Bundle-Description: Takes third-party HTML and produces HTML that is s
           afe to embed in    your web application.    Fast and easy to configur
           e.
          Bundle-DocURL: https://owasp.org
          Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
          Bundle-ManifestVersion: 2
          Bundle-Name: OWASP Java HTML Sanitizer
          Bundle-SymbolicName: com.googlecode.owasp-java-html-sanitizer
          Bundle-Vendor: OWASP
          Bundle-Version: 20191001.1.0
          Created-By: Apache Maven Bundle Plugin
          Export-Package: org.owasp.html;uses:="com.google.common.base,com.googl
           e.common.collect,javax.annotation";version="20191001.1.0",org.owasp.h
           tml.examples;uses:="com.google.common.base,org.owasp.html";version="2
           0191001.1.0"
          Import-Package: com.google.common.base;version="[27.1,28)",com.google.
           common.collect;version="[27.1,28)",com.google.common.io;version="[27.
           1,28)",javax.annotation;version="[3.0,4)",org.owasp.html,org.owasp.ht
           ml.examples
          Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"
          Tool: Bnd-3.5.0.201709291849
          

          But better to check all plugins with an owasp library inside, as Oleg said.

          mramonleon Ramon Leon added a comment - - edited What I expect is that antisamy-markup-formatter.hpi (2.0) has the jar owasp-java-html-sanitizer.jar with MANIFEST.MF: Manifest-Version: 1.0 Created-By: 1.6.0_26 (Apple Inc.) instead of owasp-java-html-sanitizer-20191001.1.jar with MANIFEST.MF: Manifest-Version: 1.0 Bnd-LastModified: 1570026235032 Build-Jdk: 10.0.1 Built-By: msamuel Bundle-Description: Takes third-party HTML and produces HTML that is s afe to embed in your web application. Fast and easy to configur e. Bundle-DocURL: https: //owasp.org Bundle-License: http: //www.apache.org/licenses/LICENSE-2.0.txt Bundle-ManifestVersion: 2 Bundle-Name: OWASP Java HTML Sanitizer Bundle-SymbolicName: com.googlecode.owasp-java-html-sanitizer Bundle-Vendor: OWASP Bundle-Version: 20191001.1.0 Created-By: Apache Maven Bundle Plugin Export-Package: org.owasp.html;uses:="com.google.common.base,com.googl e.common.collect,javax.annotation ";version=" 20191001.1.0",org.owasp.h tml.examples;uses:= "com.google.common.base,org.owasp.html" ;version="2 0191001.1.0" Import-Package: com.google.common.base;version= "[27.1,28)" ,com.google. common.collect;version= "[27.1,28)" ,com.google.common.io;version="[27. 1,28) ",javax.annotation;version=" [3.0,4)",org.owasp.html,org.owasp.ht ml.examples Require-Capability: osgi.ee;filter:= "(&(osgi.ee=JavaSE)(version=1.6))" Tool: Bnd-3.5.0.201709291849 But better to check all plugins with an owasp library inside, as Oleg said.

          People

            mramonleon Ramon Leon
            based3 Basile Chandesris
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: