[JIRA] [jobconfighistory-plugin] (JENKINS-34861) Job Config History Plugin failing when comparing diff between config files

1 view
Skip to first unread message

ataylor@cloudbees.com (JIRA)

unread,
May 16, 2016, 3:55:02 PM5/16/16
to jenkinsc...@googlegroups.com
Alex Taylor created an issue
 
Jenkins / Bug JENKINS-34861
Job Config History Plugin failing when comparing diff between config files
Issue Type: Bug Bug
Assignee: Stefan Brausch
Components: jobconfighistory-plugin
Created: 2016/May/16 7:54 PM
Labels: security-170
Priority: Critical Critical
Reporter: Alex Taylor

Job config history plugin is failing when comparing the differences between 2 config pages with a null pointer error which appears to be a crumb issue. It seems to be related to security-170 release form 1.651.2. Actual error shown below:

javax.servlet.ServletException: java.lang.NullPointerException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
at com.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:37)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:117)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

mail@jochen-fuerbacher.de (JIRA)

unread,
May 17, 2016, 2:40:01 AM5/17/16
to jenkinsc...@googlegroups.com
Jochen A. Fürbacher commented on Bug JENKINS-34861
 
Re: Job Config History Plugin failing when comparing diff between config files

Hi,

unfortunately the stack trace doesn't show where the problem with JobConfigHistory is. Can you provide a little more information?

  • JobConfigHistory Version
  • Jenkins core version
  • Type of Job (Freestyle, Maven, Pipeline, ...)

Thank you.

jwstric2@gmail.com (JIRA)

unread,
May 17, 2016, 9:54:01 AM5/17/16
to jenkinsc...@googlegroups.com

Same here with following:

Job Config History: 2.12
Jenkins Core: 1.651

The error is producible on multiple job styles, free style, multijob, folder, ect...

jwstric2@gmail.com (JIRA)

unread,
May 17, 2016, 9:55:01 AM5/17/16
to jenkinsc...@googlegroups.com

jwstric2@gmail.com (JIRA)

unread,
May 17, 2016, 9:55:01 AM5/17/16
to jenkinsc...@googlegroups.com
Jonathan Strickland edited a comment on Bug JENKINS-34861
Same here with following:

Job Config History:  2.12
Jenkins Core: 1.651

The error is producible on multiple job styles, free style, multijob, folder, ect...
 
   I attached the full version + plugins of our server.

mail@jochen-fuerbacher.de (JIRA)

unread,
May 17, 2016, 10:02:02 AM5/17/16
to jenkinsc...@googlegroups.com

In JobConfigHistory 2.12 we had such a nullpointerexception:

JENKINS-33289 .
This is fixed since version 2.13.

Do you still have this nullpointerexception after upgrading to 2.13?

jwstric2@gmail.com (JIRA)

unread,
May 17, 2016, 2:40:05 PM5/17/16
to jenkinsc...@googlegroups.com

Jochen A. Fürbacher Thanks for the update. Let me schedule an upgrade with my team; this was the first issue found with my search engine. After reading JENKINS 33289, it looks like the same. I'm ok with closure of this issue if Stefan Brausch is ok with it.

dbeck@cloudbees.com (JIRA)

unread,
May 17, 2016, 7:29:01 PM5/17/16
to jenkinsc...@googlegroups.com

stefan.brausch@1und1.de (JIRA)

unread,
May 18, 2016, 3:13:01 AM5/18/16
to jenkinsc...@googlegroups.com

stefan.brausch@1und1.de (JIRA)

unread,
May 18, 2016, 3:16:01 AM5/18/16
to jenkinsc...@googlegroups.com
Stefan Brausch commented on Bug JENKINS-34861
 
Re: Job Config History Plugin failing when comparing diff between config files

Daniel Beck: The security label is wrong and I removed it.

Jonathan Strickland: I confirm Jochens answer

mail@jochen-fuerbacher.de (JIRA)

unread,
May 23, 2016, 6:33:03 AM5/23/16
to jenkinsc...@googlegroups.com

Alex Taylor As creator of the issue: Do you still have the issue after upgrading to 2.13?

ataylor@cloudbees.com (JIRA)

unread,
Jun 6, 2016, 8:28:01 AM6/6/16
to jenkinsc...@googlegroups.com

Upgrading to 2.13 solved the issue so I think this can be set to resolved.

Thanks!

mail@jochen-fuerbacher.de (JIRA)

unread,
Jun 6, 2016, 8:46:02 AM6/6/16
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages