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

0 views
Skip to first unread message

based@free.fr (JIRA)

unread,
Apr 6, 2020, 3:35:04 AM4/6/20
to jenkinsc...@googlegroups.com
Basile Chandesris created an issue
 
Jenkins / Bug JENKINS-61820
jelly.JellyTagException: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2020-04-06 07:34
Environment: Redhat 7, Java 8 442, Jenkins 2.222.1
Priority: Major Major
Reporter: Basile Chandesris

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)

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

based@free.fr (JIRA)

unread,
Apr 6, 2020, 3:36:03 AM4/6/20
to jenkinsc...@googlegroups.com

based@free.fr (JIRA)

unread,
Apr 6, 2020, 3:39:02 AM4/6/20
to jenkinsc...@googlegroups.com

based@free.fr (JIRA)

unread,
Apr 6, 2020, 3:40:03 AM4/6/20
to jenkinsc...@googlegroups.com
Basile Chandesris updated an issue
It seems missing a Jelly Tag library :

 
{code:java}
{code}
  Another failure probably linked: TABLES

### stop, jenkins_cache new empty dir, start:
{code:java}
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)

{code}

based@free.fr (JIRA)

unread,
Apr 6, 2020, 3:42:04 AM4/6/20
to jenkinsc...@googlegroups.com

{code:java}
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)
{code}

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 7, 2020, 7:22:02 AM4/7/20
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 7, 2020, 7:24:03 AM4/7/20
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Environment:
Redhat 7, Java 8 442, Jenkins 2.222.1 / 2.204.4

Antisamy Markup Formatter 2.0

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 7, 2020, 7:24:03 AM4/7/20
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 7, 2020, 7:28:03 AM4/7/20
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-61820
 
Re: jelly.JellyTagException: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy

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 Daniel Beck Jesse Glick

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 7, 2020, 7:36:02 AM4/7/20
to jenkinsc...@googlegroups.com

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

jglick@cloudbees.com (JIRA)

unread,
Apr 7, 2020, 8:08:02 AM4/7/20
to jenkinsc...@googlegroups.com

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

jglick@cloudbees.com (JIRA)

unread,
Apr 7, 2020, 8:09:03 AM4/7/20
to jenkinsc...@googlegroups.com

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.

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 7, 2020, 8:18:03 AM4/7/20
to jenkinsc...@googlegroups.com

Jesse Glick 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

 

 

based@free.fr (JIRA)

unread,
Apr 7, 2020, 2:37:03 PM4/7/20
to jenkinsc...@googlegroups.com
Basile Chandesris updated an issue
 
Change By: Basile Chandesris
Environment: Redhat 7, Java 8 442 242 , Jenkins 2.222.1 / 2.204.4
Antisamy Markup Formatter 2.0

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 8, 2020, 3:38:03 AM4/8/20
to jenkinsc...@googlegroups.com

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

based@free.fr (JIRA)

unread,
Apr 8, 2020, 5:21:02 PM4/8/20
to jenkinsc...@googlegroups.com

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 check tomorrow

 >  I prepare the plugins folder by updating and testing them 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 then I never faced any issues during updates until now.   

 

 

 

 

based@free.fr (JIRA)

unread,
Apr 8, 2020, 5:23:02 PM4/8/20
to jenkinsc...@googlegroups.com
Basile Chandesris edited a comment on Bug JENKINS-61820
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 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
then   I never faced any issues during updates until now.   

 

 

 

 

based@free.fr (JIRA)

unread,
Apr 9, 2020, 4:42:05 PM4/9/20
to jenkinsc...@googlegroups.com

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

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 old the update with the proxy, but i 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)

 

 

 

 

Add Comment Add Comment
 

based@free.fr (JIRA)

unread,
Apr 9, 2020, 4:44:04 PM4/9/20
to jenkinsc...@googlegroups.com
Basile Chandesris edited a comment on Bug JENKINS-61820
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)

...



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

based@free.fr (JIRA)

unread,
Apr 9, 2020, 4:46:03 PM4/9/20
to jenkinsc...@googlegroups.com
Basile Chandesris edited a comment on Bug JENKINS-61820
Currently:

antisamy-markup-formatter 1.8 true
timestamper 1.11.1 true

> no owasp-java-html-sanitizer
find ./ name 'owasp-java-html-sanitizer*' -print
and tried old the plugins update with the proxy, but i it fails with another error:

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 5:09:03 AM4/13/20
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 5:28:02 AM4/13/20
to jenkinsc...@googlegroups.com
Ramon Leon commented on Bug JENKINS-61820
 
Re: jelly.JellyTagException: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy

Hi Basile Chandesris 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.

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:03:02 AM4/13/20
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:03:03 AM4/13/20
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:04:03 AM4/13/20
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:04:03 AM4/13/20
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:05:03 AM4/13/20
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:05:03 AM4/13/20
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:22:03 AM4/13/20
to jenkinsc...@googlegroups.com
 
Re: jelly.JellyTagException: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy

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

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 6:22:04 AM4/13/20
to jenkinsc...@googlegroups.com
Ramon Leon started work on Bug JENKINS-61820
 
Change By: Ramon Leon
Status: Open In Progress

based@free.fr (JIRA)

unread,
Apr 13, 2020, 8:30:02 AM4/13/20
to jenkinsc...@googlegroups.com

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

 

based@free.fr (JIRA)

unread,
Apr 13, 2020, 8:32:02 AM4/13/20
to jenkinsc...@googlegroups.com
Basile Chandesris edited a comment on Bug JENKINS-61820
and added my NPE issue to proper ticket: JENKINS-59198

 

 

 

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 10:06:02 AM4/13/20
to jenkinsc...@googlegroups.com

Sorry Basile Chandesris 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.

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 10:07:02 AM4/13/20
to jenkinsc...@googlegroups.com
Ramon Leon edited a comment on Bug JENKINS-61820
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.

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 10:07:03 AM4/13/20
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 13, 2020, 10:19:03 AM4/13/20
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-61820
 
Re: jelly.JellyTagException: java.lang.NoClassDefFoundError: Could not initialize class hudson.markup.BasicPolicy

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.

 

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 10:25:02 AM4/13/20
to jenkinsc...@googlegroups.com

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.

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 13, 2020, 10:28:02 AM4/13/20
to jenkinsc...@googlegroups.com
Ramon Leon edited a comment on Bug JENKINS-61820
What I expect is that *antisamy-markup-formatter.hpi* (2.0) has the jar * owasp-java-html-sanitizer.jar* with MANIFEST.MF:

{code:java}

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


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

{code:java}
{code}


But better to check all plugins with an owasp library inside, as Oleg said.
Reply all
Reply to author
Forward
0 new messages