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

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

      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)
      

          [JENKINS-61820] jelly.JellyTagException: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy

          Oleg Nenashev added a comment -

          After the initial triage, it looks like there is a regression in Antisamy Markup Formatter 2.0. The reported code was added in https://github.com/jenkinsci/antisamy-markup-formatter-plugin/pull/12 , and it is the only pull request included into the release. I suspect there is another plugin which causes a binary conflict in owasp-java-html-sanitizer .

          It is either CloudBees Flow or old Timestamper plugin according to https://github.com/search?q=org%3Ajenkinsci+%22owasp-java-html-sanitizer%22&type=Code.

          CC danielbeck jglick

          Oleg Nenashev added a comment - After the initial triage, it looks like there is a regression in Antisamy Markup Formatter 2.0. The reported code was added in  https://github.com/jenkinsci/antisamy-markup-formatter-plugin/pull/12  , and it is the only pull request included into the release. I suspect there is another plugin which causes a binary conflict in owasp-java-html-sanitizer . It is either CloudBees Flow or old Timestamper plugin according to  https://github.com/search?q=org%3Ajenkinsci+%22owasp-java-html-sanitizer%22&type=Code. CC danielbeck jglick

          Oleg Nenashev added a comment -

          based3 could you please onfirm whether you use CloudBees Flow or Timestamper plugins and, if yes, provide the versions?

          Oleg Nenashev added a comment - based3 could you please onfirm whether you use CloudBees Flow or Timestamper plugins and, if yes, provide the versions?

          Jesse Glick added a comment -

          oleg_nenashev that search URL does not mention anything about a CloudBees Flow plugin. Where are you getting this from?

          Jesse Glick added a comment - oleg_nenashev that search URL does not mention anything about a CloudBees Flow plugin. Where are you getting this from?

          Jesse Glick added a comment -

          Anyway presence of another version of the library in an unrelated plugin should not cause errors. Jenkins would load each in an independent class loader. We need steps to reproduce from scratch.

          Jesse Glick added a comment - Anyway presence of another version of the library in an unrelated plugin should not cause errors. Jenkins would load each in an independent class loader. We need steps to reproduce from scratch.

          Oleg Nenashev added a comment -

          jglick no sure why. The same search query was listing 3 plugins for me before... And now it also shows two. Direct link: https://github.com/jenkinsci/electricflow-plugin/blob/e2c149ab62e0704538f16630635584417498e560/pom.xml#L102-L105 

          Again, I have not spent time trying to reproduce it so far. TABLE field exists in all owasp-java-html-sanitizer versions since 2015. https://github.com/OWASP/java-html-sanitizer/commit/da2e0191fdd6fda1002f4a1b24d8446b5659768c

           

           

          Oleg Nenashev added a comment - jglick no sure why. The same search query was listing 3 plugins for me before... And now it also shows two. Direct link:  https://github.com/jenkinsci/electricflow-plugin/blob/e2c149ab62e0704538f16630635584417498e560/pom.xml#L102-L105   Again, I have not spent time trying to reproduce it so far. TABLE field exists in all owasp-java-html-sanitizer versions since 2015.  https://github.com/OWASP/java-html-sanitizer/commit/da2e0191fdd6fda1002f4a1b24d8446b5659768c    

          Ramon Leon added a comment -

          based3 could you please add all the plugins/versions installed in the Jenkins instance? And all the owasp-java-html-sanitizer-XXX.jar files in the Jenkins directory. Is thereany possibility some jar was included / removed by mistake?

          It's weird because the TABLES field in Sanitizers class is there since 6 years ago.

          Thank you.

          Ramon Leon added a comment - based3 could you please add all the plugins/versions installed in the Jenkins instance? And all the owasp-java-html-sanitizer-XXX.jar files in the Jenkins directory. Is thereany possibility some jar was included / removed by mistake? It's weird because the TABLES field in Sanitizers class is there since 6 years ago. Thank you.

          Basile Chandesris added a comment - - edited

          Sorry for the delay,

          The error only occured on one server (not for all others) during the upgrade to 2..222.1 and all plugins updates.

          •  CloudBees Flow or Timestamper plugins:
            • I use Timestamper, not CloudBees Flow plugins.
          • plugins/versions installed in the Jenkins instance?
          • > I will check tomorrow.

                  And all the owasp-java-html-sanitizer-XXX.jar files in the Jenkins directory.

                  Is thereany possibility some jar was included / removed by mistake?

                > It seems not possible, but I will that check tomorrow.

           >  I prepare the plugins folder by updating and testing them on a specific Jenkins instance

               and then stop the instance, create an archive of the /plugins folder

               and deploy it on the to_update stopped instances and replace the full /plugins folder.

              I recall having difficulties when upgrading after 2.76 on very speciifc servers, and used the .hpi manually

              following the very good infos about the dependencies versions missing.

             But  I never faced any issues during updates until now.   

           

           

           

           

          Basile Chandesris added a comment - - edited Sorry for the delay, The error only occured on one server (not for all others) during the upgrade to 2..222.1 and all plugins updates.  CloudBees Flow or Timestamper plugins: I use Timestamper, not CloudBees Flow plugins. plugins/versions installed in the Jenkins instance? > I will check tomorrow.         And all the owasp-java-html-sanitizer-XXX.jar files in the Jenkins directory.         Is thereany possibility some jar was included / removed by mistake?       > It seems not possible, but I will that check tomorrow.  >  I prepare the plugins folder by updating and testing them on a specific Jenkins instance      and then stop the instance, create an archive of the /plugins folder      and deploy it on the to_update stopped instances and replace the full /plugins folder.     I recall having difficulties when upgrading after 2.76 on very speciifc servers, and used the .hpi manually     following the very good infos about the dependencies versions missing.    But  I never faced any issues during updates until now.           

          Basile Chandesris added a comment - - edited

          Currently:

          antisamy-markup-formatter 1.8 true
          timestamper 1.11.1 true

          > no owasp-java-html-sanitizer
          find ./ name 'owasp-java-html-sanitizer*' -print

           

          I re-tried the plugins archive updates, but it failed wih

          <j:out> Could not initialize class hudson.markup.BasicPolicy
          at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)

          ...

          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

           

          with:

          antisamy-markup-formatter 2.0 true

          timestamper 1.11.2 true

          uno-choice 2.2.2 true

          find ./ name 'owasp-java-html-sanitizer*' -print
          ./plugins/antisamy-markup-formatter/WEB-INF/lib/owasp-java-html-sanitizer-20191001.1.jar
          ./plugins/timestamper/WEB-INF/lib/owasp-java-html-sanitizer-20191001.1.jar

           

          and tried the plugins update with the proxy, but it fails with another error:

           

          java.lang.NullPointerException
          at hudson.util.Secret$1.convert(Secret.java:306)
          at hudson.util.Secret$1.convert(Secret.java:304)
          at org.kohsuke.stapler.AnnotationHandler.convert(AnnotationHandler.java:66)
          at org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:74)
          at org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:62)
          at org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:91)
          at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:204)
          at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
          at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
          at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          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: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:153)
          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)

           

           

           

           

          Basile Chandesris added a comment - - edited Currently: antisamy-markup-formatter 1.8 true timestamper 1.11.1 true > no owasp-java-html-sanitizer find ./ name 'owasp-java-html-sanitizer*' -print   I re-tried the plugins archive updates, but it failed wih <j:out> Could not initialize class hudson.markup.BasicPolicy at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) ... 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   with: antisamy-markup-formatter 2.0 true timestamper 1.11.2 true uno-choice 2.2.2 true find ./ name 'owasp-java-html-sanitizer *' -print ./plugins/antisamy-markup-formatter/WEB-INF/lib/owasp-java-html-sanitizer-20191001.1.jar ./plugins/timestamper/WEB-INF/lib/owasp-java-html-sanitizer-20191001.1.jar   and tried the plugins update with the proxy, but it fails with another error:   java.lang.NullPointerException at hudson.util.Secret$1.convert(Secret.java:306) at hudson.util.Secret$1.convert(Secret.java:304) at org.kohsuke.stapler.AnnotationHandler.convert(AnnotationHandler.java:66) at org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:74) at org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:62) at org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:91) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:204) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) 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: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:153) 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)        

          Ramon Leon added a comment -

          Hi based3 I cannot figure out a clear path to reproduce the problem. Please tell me the steps you did to go to this status.

          I will try to:

          • start with a 2.204.4 Jenkins instance
          • Install antisamy 1.8 and timestamper 1.11.1
          • Create some content there with tables (job descriptions)
          • Upgrade to 2.222.1
          • Upgrade to antisamy 2.0 and timestamper 1.11.2

          Both plugins use the owasp-java-html-sanitizer library to sanitize the output, but it shouldn't be a problem because each plugin has its own class loading mechanism.

          Please correct my steps with yours if it's not accurate, or even better, give us a reproduction steps to be able to debug the problem.

          Also I cannot see the list of plugins before and after, I just wanted the list of plugins you were using. I guess the ones I will use are fine.

          Thank you.

          Ramon Leon added a comment - Hi based3 I cannot figure out a clear path to reproduce the problem. Please tell me the steps you did to go to this status. I will try to: start with a 2.204.4 Jenkins instance Install antisamy 1.8 and timestamper 1.11.1 Create some content there with tables (job descriptions) Upgrade to 2.222.1 Upgrade to antisamy 2.0 and timestamper 1.11.2 Both plugins use the owasp-java-html-sanitizer library to sanitize the output, but it shouldn't be a problem because each plugin has its own class loading mechanism. Please correct my steps with yours if it's not accurate, or even better, give us a reproduction steps to be able to debug the problem. Also I cannot see the list of plugins before and after, I just wanted the list of plugins you were using. I guess the ones I will use are fine. Thank you.

          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.

          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.

          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

           

           

           

          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      

          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.

          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 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 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.  

          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.

          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
            based3 Basile Chandesris
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: