thanks for the replay. 

All the plugin are up-to latest version.  

Git plugin version is 
1.1.26<http://localhost:9090/pluginManager/plugin/git/thirdPartyLicenses>
  

The git is 

$ git --version
git version 1.7.10.4

Chester








On Sunday, January 27, 2013 9:03:31 AM UTC-8, Eyal Edri wrote:
>
> afair, it was an old git version or a git version that didn't match the 
> gerrit trigger plugin. 
>
> did you try updating git? and the git plugin? 
>
> ----- Original Message ----- 
> > From: "Chester Chen" <che...@tingatech.com <javascript:>> 
> > To: jenkins...@googlegroups.com <javascript:> 
> > Cc: ee...@redhat.com <javascript:> 
> > Sent: Sunday, January 27, 2013 6:45:13 PM 
> > Subject: Re: git exception in jenkins.log 
> (java.lang.NoClassDefFoundError: org/spearce/jgit/lib/ObjectId) 
> > 
> > 
> > Hi, 
> > I got the same class not found exception with the latest Jenkins, 
> > gerrit-trigger (2.7.0) and all the update plugin. 
> > I googled around, notice that the there is an existing issue in 
> > Gerrit Trigger filed last year, but still unresolved. 
> > 
> > One solution suggested last year was to update the latest gerrit 
> > trigger and manual install the plugin in jenkins. 
> > 
> > 
> > 
> > But since I am already in the latest version, not sure how can I get 
> > around this issue. please HELP. 
> > 
> > 
> > Here is the stack trace, 
> > 
> > 
> > 
> > Using strategy: Gerrit-Plugin 
> > Fetching changes from 1 remote Git repository 
> > Fetching upstream changes from ssh://dummy@localhost:29418/test7.git 
> > FATAL: org/spearce/jgit/lib/ObjectId java.lang.NoClassDefFoundError : 
> > org/spearce/jgit/lib/ObjectId 
> >         at 
> > 
>         
> hudson.plugins.gerrit.buildchoosers.GerritBuildChooser.parseCommit(GerritBuildChooser.java:111)
>  
>
> >         at 
> > 
>         
> hudson.plugins.gerrit.buildchoosers.GerritBuildChooser.sortRevList(GerritBuildChooser.java:90)
>  
>
> >         at 
> > 
>         
> hudson.plugins.gerrit.buildchoosers.GerritBuildChooser.getCandidateRevisions(GerritBuildChooser.java:46)
>  
>
> >         at 
> > 
>         
> hudson.plugins.git.util.BuildChooser.getCandidateRevisions(BuildChooser.java:70)
>  
>
> >         at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1097) at 
> >         hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at 
> >         hudson.FilePath.act(FilePath.java:852) at 
> >         hudson.FilePath.act(FilePath.java:825) at 
> > 
>         hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:986) 
> >         at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1142) at 
> >         hudson.model.AbstractProject.checkout(AbstractProject.java:1325) 
> at 
> > 
>         
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682)
>  
>
> >         at 
> > 
>         jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 
>
> >         at 
> > 
>         
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) 
>
> >         at hudson.model.Run.execute(Run.java:1543) at 
> >         hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at 
> > 
>         hudson.model.ResourceController.execute(ResourceController.java:88) 
> >         at hudson.model.Executor.run(Executor.java:236) Caused by: 
> >         java.lang.ClassNotFoundException : org.spearce.jgit.lib.ObjectId 
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at 
> >         java.net.URLClassLoader$1.run(URLClassLoader.java:355) at 
> >         java.security.AccessController.doPrivileged(Native Method) 
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:354) 
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:423) 
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:356) 
> >         ... 18 more 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Thursday, July 21, 2011 6:23:58 AM UTC-7, Eyal Edri wrote: 
> > 
> > Anyone has this exception on jenkins.log file? 
> > 
> > I'm trying to find the source of the out of memory error, and I want 
> > to 
> > sort out all log errors. 
> > 
> > WARNING: Failed to resolve a type 
> > java.lang.NoClassDefFoundError: org/spearce/jgit/lib/ObjectId 
> > at java.lang.Class.getDeclaredMethods0(Native Method) 
> > at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) 
> > at java.lang.Class.getDeclaredMethod(Class.java:1935) 
> > at 
> > 
> com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker. 
> > getMethod(SerializationMethodInvoker.java:128) 
> > at 
> > 
> com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker. 
> > supportsReadObject(SerializationMethodInvoker.java:79) 
> > at 
> > 
> com.thoughtworks.xstream.converters.reflection.SerializableConverter.isSer 
> > ializable(SerializableConverter.java:81) 
> > at 
> > 
> com.thoughtworks.xstream.converters.reflection.SerializableConverter.canCo 
> > nvert(SerializableConverter.java:77) 
> > at 
> > 
> com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForTyp 
> > e(DefaultConverterLookup.java:63) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:66) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:60) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConve 
> > rter.java:290) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverte 
> > r.java:233) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter. 
> > java:180) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.ja 
> > va:82) 
> > at 
> > 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstra 
> > ctReferenceUnmarshaller.java:63) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:76) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:60) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConve 
> > rter.java:290) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverte 
> > r.java:233) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter. 
> > java:180) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.ja 
> > va:82) 
> > at 
> > 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstra 
> > ctReferenceUnmarshaller.java:63) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:76) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:60) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConve 
> > rter.java:290) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverte 
> > r.java:233) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter. 
> > java:180) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.ja 
> > va:82) 
> > at 
> > 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstra 
> > ctReferenceUnmarshaller.java:63) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:76) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:60) 
> > at 
> > 
> com.thoughtworks.xstream.converters.collections.AbstractCollectionConverte 
> > r.readItem(AbstractCollectionConverter.java:71) 
> > at 
> > 
> hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionC 
> > onverter.java:85) 
> > at 
> > 
> com.thoughtworks.xstream.converters.collections.CollectionConverter.unmars 
> > hal(CollectionConverter.java:61) 
> > at 
> > 
> hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter. 
> > java:76) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.ja 
> > va:82) 
> > at 
> > 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstra 
> > ctReferenceUnmarshaller.java:63) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:76) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:60) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConve 
> > rter.java:290) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverte 
> > r.java:233) 
> > at 
> > 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter. 
> > java:180) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.ja 
> > va:82) 
> > at 
> > 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstra 
> > ctReferenceUnmarshaller.java:63) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:76) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsha 
> > ller.java:60) 
> > at 
> > 
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java 
> > :137) 
> > at 
> > 
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(Ab 
> > stractTreeMarshallingStrategy.java:33) 
> > at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) 
> > at hudson.util.XStream2.unmarshal(XStream2.java:84) 
> > at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) 
> > at hudson.XmlFile.unmarshal(XmlFile.java:154) 
> > at hudson.model.Run.reload(Run.java:283) 
> > at hudson.model.Run.<init>(Run.java:272) 
> > at hudson.model.AbstractBuild.<init>(AbstractBuild.java:159) 
> > at 
> > hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:48) 
> > at 
> > hudson.maven.MavenModuleSetBuild.<init>(MavenModuleSetBuild.java:142) 
> > at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown 
> > Source) 
> > at 
> > 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstr 
> > uctorAccessorImpl.java:27) 
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 
> > at 
> > hudson.model.AbstractProject.loadBuild(AbstractProject.java:947) 
> > at hudson.model.AbstractProject$1.create(AbstractProject.java:256) 
> > at hudson.model.AbstractProject$1.create(AbstractProject.java:254) 
> > at hudson.model.RunMap.load(RunMap.java:221) 
> > at hudson.model.AbstractProject.onLoad(AbstractProject.java:254) 
> > at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:514) 
> > at hudson.model.Items.load(Items.java:115) 
> > at jenkins.model.Jenkins$14.run(Jenkins.java:2222) 
> > at 
> > 
> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.ja 
> > va:146) 
> > at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) 
> > at jenkins.model.Jenkins$5.runTask(Jenkins.java:746) 
> > at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) 
> > at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 
> > at 
> > 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor. 
> > java:886) 
> > at 
> > 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java 
> > :908) 
> > at java.lang.Thread.run(Thread.java:662) 
> > Caused by: java.lang.ClassNotFoundException: 
> > org.spearce.jgit.lib.ObjectId 
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 
> > at java.security.AccessController.doPrivileged(Native Method) 
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) 
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) 
> > ... 76 more 
> > 
> > 
> > 
>

Reply via email to