I am creating a new installation of Jenkins (1.537) on Ubuntu using the git plugin (2.0) and on a maven 2/3 project cloning from a remote git repo as the first thing the job does I get the following ominous error:
Building in workspace /var/lib/jenkins/workspace/project
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://g...@git.com:2222/project.git
using GIT_SSH to set credentials Git access
Checking out Revision f03c2a56f862b3b10013c1e9b0265cb917046a7d (origin/master)
ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com
java.lang.NullPointerException
       at java.io.File.<init>(File.java:251)
       at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:58)
       at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)
       at hudson.FilePath.act(FilePath.java:1004)
       at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:607)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
       at hudson.model.Run.execute(Run.java:1665)
       at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
       at hudson.model.ResourceController.execute(ResourceController.java:88)
       at hudson.model.Executor.run(Executor.java:230)
project=hudson.maven.MavenModuleSet@6d133151[project]
project.getModules()=[]
project.getRootModule()=null
FATAL: null
java.lang.NullPointerException
       at java.io.File.<init>(File.java:251)
       at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:58)
       at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)
       at hudson.FilePath.act(FilePath.java:1004)
       at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:607)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
       at hudson.model.Run.execute(Run.java:1665)
       at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
       at hudson.model.ResourceController.execute(ResourceController.java:88)
       at hudson.model.Executor.run(Executor.java:230)
Â
Â
Â
I am creating a new installation of Jenkins (1.537) on Ubuntu using the git plugin (2.0) and on a maven 2/3 project cloning from a remote git repo as the first thing the job does I get the following ominous error:
Building in workspace /var/lib/jenkins/workspace/projectFetching changes from the remote Git repositoryFetching upstream changes from ssh://g...@git.com:2222/project.gitusing GIT_SSH to set credentials Git accessChecking out Revision f03c2a56f862b3b10013c1e9b0265cb917046a7d (origin/master)
ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No, this was the first job on a new install that was only clone-ing the git repository and then calling the maven pom.
Â
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of Jeff
Sent: Thursday, October 31, 2013 9:12 PM
To: jenkins...@googlegroups.com
Subject: Re: Jenkins 1.537 and git 2.0 code error reported when cloning git repo
Â
By chance, are you trying to use a custom Groovy (or similar) script to read the maven version and store it in a variable?Â
On Thu, Oct 31, 2013 at 8:52 PM, Mark Waite <mark.ea...@gmail.com> wrote:
That stack trace seems unrelated to the git plugin and seems to happen after the clone has completed. Â It appears the Jenkins maven module is trying to execute, and is failing. Â I suspect that happens after the clone is complete.
Â
I created a maven project and had it clone the git-client-plugin from https://github.com/jenkinsci/git-client-plugin.git .  That worked on both Debian Wheezy and Debian Jessie using Maven 3 as delivered with those operating systems.
On Thu, Oct 31, 2013 at 3:40 PM, John Kerr <john...@thinktank.net> wrote:
Verified that a freestyle project performs a clone without issue. Seems to be related to the Maven project.
On Thursday, October 31, 2013 3:06:11 PM UTC-6, John Kerr wrote:
I am creating a new installation of Jenkins (1.537) on Ubuntu using the git plugin (2.0) and on a maven 2/3 project cloning from a remote git repo as the first thing the job does I get the following ominous error:
Â
Building in workspace /var/lib/jenkins/workspace/project
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://g...@git.com:2222/project.git
using GIT_SSH to set credentials Git access
Checking out Revision f03c2a56f862b3b10013c1e9b0265cb917046a7d (origin/master)
ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/QDkVHmHnI-U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
Thank you, I will look deeper into what is happening within the Maven project.
Â
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of Mark Waite
Sent: Thursday, October 31, 2013 8:53 PM
To: jenkins...@googlegroups.com
Subject: Re: Jenkins 1.537 and git 2.0 code error reported when cloning git repo
Â
That stack trace seems unrelated to the git plugin and seems to happen after the clone has completed. Â It appears the Jenkins maven module is trying to execute, and is failing. Â I suspect that happens after the clone is complete.
Â
I created a maven project and had it clone the git-client-plugin from https://github.com/jenkinsci/git-client-plugin.git .  That worked on both Debian Wheezy and Debian Jessie using Maven 3 as delivered with those operating systems.
On Thu, Oct 31, 2013 at 3:40 PM, John Kerr <john...@thinktank.net> wrote:
Verified that a freestyle project performs a clone without issue. Seems to be related to the Maven project.
On Thursday, October 31, 2013 3:06:11 PM UTC-6, John Kerr wrote:
I am creating a new installation of Jenkins (1.537) on Ubuntu using the git plugin (2.0) and on a maven 2/3 project cloning from a remote git repo as the first thing the job does I get the following ominous error:
Â
Building in workspace /var/lib/jenkins/workspace/project
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://g...@git.com:2222/project.git
using GIT_SSH to set credentials Git access
Checking out Revision f03c2a56f862b3b10013c1e9b0265cb917046a7d (origin/master)
ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com
Â
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/QDkVHmHnI-U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.