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.k...@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 >> <http://g...@git.com:2222/project.git> >> >> using GIT_SSH to set credentials Git access >> >> Checking out Revision f03c2a56f862b3b10013c1e9b0265c**b917046a7d >> (origin/master) >> >> ERROR: Processing failed due to a bug in the code. Please report this to >> jenkinsci-users@googlegroups.**com <jenkinsci-users@googlegroups.com> >> >> java.lang.NullPointerException >> <http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException> >> >> at java.io.File.<init>(File.java:**251) >> <http://stacktrace.jenkins-ci.org/search/?query=java.io.File.%3Cinit%3E&entity=method> >> >> at >> hudson.maven.**MavenVersionCallable.call(**MavenVersionCallable.java:58) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method> >> >> at >> hudson.maven.**MavenVersionCallable.call(**MavenVersionCallable.java:41) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method> >> >> at hudson.FilePath.act(FilePath.**java:1004) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> >> >> at >> hudson.maven.**MavenModuleSetBuild$**MavenModuleSetBuildExecution.**doRun(MavenModuleSetBuild.**java:607) >> >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method> >> >> at >> hudson.model.AbstractBuild$**AbstractBuildExecution.run(**AbstractBuild.java:562) >> >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> >> >> at hudson.model.Run.execute(Run.**java:1665) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> >> >> at >> hudson.maven.**MavenModuleSetBuild.run(**MavenModuleSetBuild.java:509) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> >> >> at >> hudson.model.**ResourceController.execute(**ResourceController.java:88) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> >> >> at hudson.model.Executor.run(**Executor.java:230) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> >> >> project=hudson.maven.**MavenModuleSet@6d133151[**project >> <project=hudson.maven.MavenModuleSet@6d133151[project>] >> >> project.getModules()=[] >> >> project.getRootModule()=null >> >> FATAL: null >> >> java.lang.NullPointerException >> <http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException> >> >> at java.io.File.<init>(File.java:**251) >> <http://stacktrace.jenkins-ci.org/search/?query=java.io.File.%3Cinit%3E&entity=method> >> >> at >> hudson.maven.**MavenVersionCallable.call(**MavenVersionCallable.java:58) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method> >> >> at >> hudson.maven.**MavenVersionCallable.call(**MavenVersionCallable.java:41) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method> >> >> at hudson.FilePath.act(FilePath.**java:1004) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> >> >> at >> hudson.maven.**MavenModuleSetBuild$**MavenModuleSetBuildExecution.**doRun(MavenModuleSetBuild.**java:607) >> >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method> >> >> at >> hudson.model.AbstractBuild$**AbstractBuildExecution.run(**AbstractBuild.java:562) >> >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> >> >> at hudson.model.Run.execute(Run.**java:1665) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> >> >> at >> hudson.maven.**MavenModuleSetBuild.run(**MavenModuleSetBuild.java:509) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> >> >> at >> hudson.model.**ResourceController.execute(**ResourceController.java:88) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> >> >> at hudson.model.Executor.run(**Executor.java:230) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> >> >> >> >> >> >> >> >> -- > 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-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.