Hi, 

I had pretty much the same issue and the problem resolved after changing 
the Job's JDK setting (in the Job configuration page) from default (which 
on that machine points to a Java 6 JDK) to a Java 7 JDK. After that the 
build started to work again without any issues.
Hope this helps.

Best,
Stephan

Am Mittwoch, 13. Mai 2015 17:28:15 UTC+2 schrieb Rafael Ruiz Palacios:
>
> Hi group,
>
> I’m running Jenkins 1.613 and created a slave node pointing to a Unix 
> system properly launched (log attached). The problem is when I try to 
> execute a build, a very simple job just checking out from SVN and compiling 
> using Maven (clean install), I get a very unspecific error that’s driving 
> me crazy. I’ve tried innumerable options and checked a lot of forums with 
> no success but as the error (log attached) is actually telling me to report 
> it here I’m hoping someone can help me at all… THANKS!!!
>
> ———————————————————— BUILD ERROR LOG 
> -------------------------------------------------------------
> Started by user rafaelruiz
> Building remotely on TestNode in workspace 
> /home/rafaelruiz/jenkins/workspace/Jenkins Plugin TEST
> Updating 
> http://www.scm.midvision.com/svn/rapiddeploy/rapiddeploy-jenkins/trunk/rapiddeploy-jenkins
>  at 
> revision '2015-05-13T15:47:29.160 +0100'
> At revision 14683
> no change for 
> http://www.scm.midvision.com/svn/rapiddeploy/rapiddeploy-jenkins/trunk/rapiddeploy-jenkins
>  since 
> the previous build
> Parsing POMs
> maven3-agent.jar already up to date
> maven3-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [Jenkins Plugin TEST] $ java -Xms64m -Xmx512m -cp 
> /home/rafaelruiz/jenkins/maven3-agent.jar:/var/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar
>  
> org.jvnet.hudson.maven3.agent.Maven3Main /var/apache-maven-3.0.5/ 
> /home/rafaelruiz/jenkins/slave.jar 
> /home/rafaelruiz/jenkins/maven3-interceptor.jar 
> /home/rafaelruiz/jenkins/maven3-interceptor-commons.jar 49719
> <===[JENKINS REMOTING CAPACITY]===>channel started
> ERROR: Processing failed due to a bug in the code. Please report this to 
> [email protected] <javascript:>
> java.lang.NullPointerException
> at 
> hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:289)
> at hudson.maven.ProcessCache.get(ProcessCache.java:236)
> at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:755)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
> at hudson.model.Run.execute(Run.java:1744)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
> at hudson.model.ResourceController.execute(ResourceController.java:98)
> at hudson.model.Executor.run(Executor.java:374)
> project=hudson.maven.MavenModuleSet@2b87fc72[Jenkins Plugin TEST]
> project.getModules()=[hudson.maven.MavenModule@3eca286c[Jenkins Plugin 
> TEST/org.jenkins-ci.plugins:rapiddeploy-jenkins][Jenkins Plugin 
> TEST/org.jenkins-ci.plugins:rapiddeploy-jenkins][relativePath:]]
> project.getRootModule()=hudson.maven.MavenModule@3eca286c[Jenkins Plugin 
> TEST/org.jenkins-ci.plugins:rapiddeploy-jenkins][Jenkins Plugin 
> TEST/org.jenkins-ci.plugins:rapiddeploy-jenkins][relativePath:]
> FATAL: null
> java.lang.NullPointerException
> at 
> hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:289)
> at hudson.maven.ProcessCache.get(ProcessCache.java:236)
> at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:755)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
> at hudson.model.Run.execute(Run.java:1744)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
> at hudson.model.ResourceController.execute(ResourceController.java:98)
> at hudson.model.Executor.run(Executor.java:374)
> Finished: FAILURE
>
> -------------------------------------------------------------------------------------------------------
>
> ———————————————————— SLAVE LAUNCH LOG 
> -------------------------------------------------------------
> [05/13/15 14:38:30] [SSH] Opening SSH connection to 82.165.195.36:22.
> [05/13/15 14:38:31] [SSH] Authentication successful.
> [05/13/15 14:38:31] [SSH] The remote users environment is:
> BASH=/bin/bash
> BASH_ARGC=()
> BASH_ARGV=()
> BASH_EXECUTION_STRING=set
> BASH_LINENO=()
> BASH_SOURCE=()
> BASH_VERSINFO=([0]="3" [1]="2" [2]="25" [3]="1" [4]="release" 
> [5]="x86_64-redhat-linux-gnu")
> BASH_VERSION='3.2.25(1)-release'
> COLORS=/etc/DIR_COLORS
> DIRSTACK=()
> EUID=0
> GROUPS=()
> G_BROKEN_FILENAMES=1
> HOME=/root
> HOSTNAME=s15383693
> HOSTTYPE=x86_64
> IFS=$' \t\n'
> LANG=en_US.UTF-8
> LESSOPEN='|/usr/bin/lesspipe.sh %s'
> LOGNAME=root
> LS_COLORS=
> MACHTYPE=x86_64-redhat-linux-gnu
> MAIL=/var/mail/root
> OPTERR=1
> OPTIND=1
> OSTYPE=linux-gnu
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> PIPESTATUS=([0]="0")
> PPID=10324
> PS4='+ '
> PWD=/root
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:hashall:interactive-comments
> SHLVL=1
> SSH_CLIENT='52.6.56.189 57937 22'
> SSH_CONNECTION='52.6.56.189 57937 82.165.195.36 22'
> TERM=dumb
> UID=0
> USER=root
> _=/etc/bashrc
> consoletype=serial
> [05/13/15 14:38:32] [SSH] Starting sftp client.
> [05/13/15 14:38:32] [SSH] Copying latest slave.jar...
> [05/13/15 14:38:36] [SSH] Copied 478,472 bytes.
> Expanded the channel window size to 4MB
> [05/13/15 14:38:36] [SSH] Starting slave process: cd 
> "/home/rafaelruiz/jenkins" && /home/rafaelruiz/java/bin/java  -jar slave.jar
> <===[JENKINS REMOTING CAPACITY]===>channel started
> Slave.jar version: 2.51
> This is a Unix slave
> Evacuated stdout
> Slave successfully connected and online
>
> -------------------------------------------------------------------------------------------------------
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6a1226b4-39a6-45bd-9825-8e567b14c09b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to