[JIRA] [_unsorted] (JENKINS-34357) Error when trying to build with jenkins with git plugin

28 views
Skip to first unread message

dhiraj.meet@gmail.com (JIRA)

unread,
Apr 20, 2016, 5:35:02 PM4/20/16
to jenkinsc...@googlegroups.com
Dhiraj Saxena created an issue
 
Jenkins / Bug JENKINS-34357
Error when trying to build with jenkins with git plugin
Issue Type: Bug Bug
Assignee: Oleg Nenashev
Attachments: jenkins_error.JPG
Components: _unsorted
Created: 2016/Apr/20 9:34 PM
Environment: Jenkins 1.634, git 1.19.5, RHEL 6, Openjdk 7
Labels: jenkins git
Priority: Critical Critical
Reporter: Dhiraj Saxena

Getting the following error in Jenkins when trying to build the project.

javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.634.jar!/hudson/model/AbstractBuild/index.jelly:67:61: <st:include> No page found 'digest.jelly' for class hudson.model.FreeStyleBuild
	at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117)
	at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	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:132)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:92)
	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.headerComplete(AbstractHttpConnection.java:949)
	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
	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(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.634.jar!/hudson/model/AbstractBuild/index.jelly:67:61: <st:include> No page found 'digest.jelly' for class hudson.model.FreeStyleBuild
	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
	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.TagSupport.invokeBody(TagSupport.java:161)
	at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
	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.TagSupport.invokeBody(TagSupport.java:161)
	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	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.TagSupport.invokeBody(TagSupport.java:161)
	at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
	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.TagSupport.invokeBody(TagSupport.java:161)
	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	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.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
	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.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
	at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112)
	... 68 more

I get the following in the console logs apart from the above error. Also on retrial the above error disappears but the console log is still there.

FATAL: org/joda/time/format/DateTimeFormatterBuilder
java.lang.NoClassDefFoundError: org/joda/time/format/DateTimeFormatterBuilder
	at hudson.plugins.git.GitChangeSet.<init>(GitChangeSet.java:111)
	at hudson.plugins.git.GitChangeLogParser.parseCommit(GitChangeLogParser.java:73)
	at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:67)
	at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:44)
	at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:25)
	at hudson.scm.ChangeLogParser.parse(ChangeLogParser.java:57)
	at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:930)
	at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:898)
	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:352)
	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:349)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:675)
	at hudson.model.Run.execute(Run.java:1766)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)

On further attempt it works all ok.

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

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

unread,
May 4, 2016, 7:12:01 AM5/4/16
to jenkinsc...@googlegroups.com

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

unread,
May 4, 2016, 7:12:01 AM5/4/16
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Paul Wellner Bou
 
Change By: Oleg Nenashev
Assignee: Oleg Nenashev Paul Wellner Bou

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

unread,
May 4, 2016, 7:12:01 AM5/4/16
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: git-changelog-plugin
Component/s: _unsorted

paul@wellnerbou.de (JIRA)

unread,
May 4, 2016, 7:24:01 AM5/4/16
to jenkinsc...@googlegroups.com
Paul Wellner Bou commented on Bug JENKINS-34357
 
Re: Error when trying to build with jenkins with git plugin

Dhiraj Saxena: Could you tell us something about the configuration of this project?

dhiraj.meet@gmail.com (JIRA)

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

Paul Wellner Bou My project is a simple Freestyle project type where I am checking out the code from GIT, building using shell commands and posting the artifact to S3. Did I get your question right?

paul@wellnerbou.de (JIRA)

unread,
May 4, 2016, 11:21:01 AM5/4/16
to jenkinsc...@googlegroups.com

Dhiraj Saxena: Then it's probably not git-changelog-plugin related, Oleg Nenashev, maybe you meant the git-plugin?

paul@wellnerbou.de (JIRA)

unread,
May 11, 2016, 10:04:01 AM5/11/16
to jenkinsc...@googlegroups.com
Paul Wellner Bou updated an issue
 
Change By: Paul Wellner Bou
Component/s: git-plugin
Component/s: git-changelog-plugin

paul@wellnerbou.de (JIRA)

unread,
May 11, 2016, 10:05:01 AM5/11/16
to jenkinsc...@googlegroups.com
Paul Wellner Bou assigned an issue to Oleg Nenashev
 

Assigning back to you, Oleg, I assume that this is related to the git plugin, not the git-changelog plugin,

Change By: Paul Wellner Bou
Assignee: Paul Wellner Bou Oleg Nenashev

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

unread,
May 11, 2016, 10:09:01 AM5/11/16
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-34357
 
Re: Error when trying to build with jenkins with git plugin

Maybe. Thanks Paul Wellner Bou.
Mark Waite There may be a binary conflict between jodatime lib dependencies coming from different projects.

Dhiraj Saxena could you please provide a list of plugins you use. A support bundle from https://wiki.jenkins-ci.org/display/JENKINS/Support+Core+Plugin would be the ideal solution

mark.earl.waite@gmail.com (JIRA)

unread,
May 11, 2016, 10:35:01 AM5/11/16
to jenkinsc...@googlegroups.com

A support bundle would be ideal, since we need to know the versions of various components to compare the jodatime versions in use. I try to keep the dependencies on their latest released versions in general (jodatime) with some noteworthy exceptions (apache httpclient).

The joda-time version bundled with the latest git plugin release is 2.9.2. The latest release of joda-time is 2.9.3, released in late March 2016.

andrew@schwartzmeyer.com (JIRA)

unread,
Jun 22, 2016, 2:27:35 PM6/22/16
to jenkinsc...@googlegroups.com

We ran into this problem at work the other day. We are running Jenkins 1.609.3, and with git-plugin 2.5.0, this repro'ed consistently. After manually downgrading the plugin to 2.4.4, the problem was resolved.

workflow-scm-step: 1.14.2
matrix-project: 1.6
ssh-credentials: 1.12
credentials: 2.1.1
git-client: 1.19.6
mailer: 1.17
scm-api: 1.2
parameterized-trigger: 2.31

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

andrew@schwartzmeyer.com (JIRA)

unread,
Jun 22, 2016, 2:28:09 PM6/22/16
to jenkinsc...@googlegroups.com
We ran into this problem at work the other day. We are running Jenkins 1.609.3, and with git-plugin 2.5.0, this repro'ed consistently. After manually downgrading the plugin to 2.4.4, the problem was resolved.

workflow-scm-step: 1.14.2
matrix-project: 1.6
ssh-credentials: 1.12
credentials: 2.1.1
git-client: 1.19.6
mailer: 1.17
scm-api: 1.2
parameterized-trigger: 2.31


Jenkins is running in a derivative of the 1.609.3 official Docker image.

mark.earl.waite@gmail.com (JIRA)

unread,
Jun 23, 2016, 12:26:01 AM6/23/16
to jenkinsc...@googlegroups.com

Andrew Schamp I'm unable to duplicate the problem you're describing. I used my Jenkins 1.609.3 docker image with latest versions of all plugins as supported on 1.609.3, and with git plugin 2.5.0. I looked at changes in jobs, and saw no errors in any of the cases.

Can you duplicate the failure in an environment that you can share?

Alternately, can you compare your environment to my docker image and report differences you detect?

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

unread,
Jun 23, 2016, 2:25:02 AM6/23/16
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Mark Waite
 
Change By: Oleg Nenashev
Assignee: Oleg Nenashev Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Jun 23, 2016, 8:18:01 AM6/23/16
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
Change By: Mark Waite
Assignee: Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Jun 23, 2016, 8:19:01 AM6/23/16
to jenkinsc...@googlegroups.com
Mark Waite edited a comment on Bug JENKINS-34357
 
Re: Error when trying to build with jenkins with git plugin
[~ schazamp andschwa ] I'm unable to duplicate the problem you're describing.  I used [my Jenkins 1.609.3 docker image|https://github.com/MarkEWaite/docker/commit/1d997224d3c0adaab4b5768f2e21ceac530e7e1d] with latest versions of all plugins as supported on 1.609.3, and with git plugin 2.5.0.  I looked at changes in jobs, and saw no errors in any of the cases.


Can you duplicate the failure in an environment that you can share?  

Alternately, can you compare your environment to my docker image and report differences you detect?

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 22, 2019, 9:32:05 PM10/22/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Cannot Reproduce
 
Change By: Mark Waite
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages