Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49910

NullPointer in Maven33Main

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • Jenkins: 2.89.4
      Maven: 3.5.2

      Established TCP socket on 54965
      <===[JENKINS REMOTING CAPACITY]===>channel started
      Executing Maven:  -N -B -s /var/lib/jenkins/workspace/settings.xml -f /var/lib/jenkins/workspace/ats/ats_model/pom.xml clean install -U -Dmaven.test.skip=true -P release
      java.lang.NullPointerException
      	at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
      	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:207)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:53)
      	at hudson.remoting.Request$2.run(Request.java:358)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Started by upstream project "ATS Model Trunk" build number 19
      originally caused by:
       Started by user Admin
      Finished: ABORTED
      FATAL: java.lang.reflect.InvocationTargetException
      java.lang.NullPointerException
      	at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      Caused: java.lang.Exception
      	at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:179)
      Caused: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to Channel to Maven [/apps/sw/jdk1.8.0_60/bin/java, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12-alpha-1.jar:/apps/sw/apache-maven-3.5.2/boot/plexus-classworlds-2.5.2.jar:/apps/sw/apache-maven-3.5.2/conf/logging, jenkins.maven3.agent.Maven35Main, /apps/sw/apache-maven-3.5.2, /var/cache/jenkins/war/WEB-INF/lib/remoting-3.14.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12-alpha-1.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar, 54965]
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
      		at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
      		at hudson.remoting.Channel.call(Channel.java:908)
      		at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:161)
      		at hudson.maven.MavenBuild$MavenBuildExecution.doRun(MavenBuild.java:912)
      		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      		at hudson.model.Run.execute(Run.java:1724)
      		at hudson.maven.MavenBuild.run(MavenBuild.java:275)
      		at hudson.model.ResourceController.execute(ResourceController.java:97)
      		at hudson.model.Executor.run(Executor.java:429)
      Caused: java.io.IOException
      	at hudson.maven.Maven3Builder.call(Maven3Builder.java:179)
      	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:207)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:53)
      	at hudson.remoting.Request$2.run(Request.java:358)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Finished: FAILURE

      Similiar to: JENKINS-45060

            Unassigned Unassigned
            grim42 Ishaan Gupta
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: