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

NullPointerException building maven project from command line

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • cli
    • None

      I am getting the following NullPointerException on building a maven project from the command line.

      java.lang.NullPointerException
      at hudson.cli.BuildCommand.run(BuildCommand.java:137)
      at hudson.cli.CLICommand.main(CLICommand.java:229)
      at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:275)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:256)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63)
      at hudson.remoting.InterceptingExecutorService$2.call(InterceptingExecutorService.java:95)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      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)

          [JENKINS-16692] NullPointerException building maven project from command line

          Travis Romney added a comment -

          This issue appears to be similar to JENKINS-11347, but the NPE is happening on a different line.

          Travis Romney added a comment - This issue appears to be similar to JENKINS-11347 , but the NPE is happening on a different line.

          Marco Miller added a comment -

          Cannot reproduce (anymore?) when using jenkins master commit b8ace77.

          Marco Miller added a comment - Cannot reproduce (anymore?) when using jenkins master commit b8ace77.

          Jesse Glick added a comment -

          By the way a stack trace, especially of a NullPointerException, is useless without knowing what version of Jenkins you were running at the time, so we can correlate line numbers with sources.

          Jesse Glick added a comment - By the way a stack trace, especially of a NullPointerException , is useless without knowing what version of Jenkins you were running at the time, so we can correlate line numbers with sources.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/53a8ab20287eb35ea7fdc3fc51e1b9c79aea455c
          Log:
          Pull #979: noting.
          JENKINS-11347 JENKINS-16692 might have been fixed by this, but unclear.

          Compare: https://github.com/jenkinsci/jenkins/compare/2771d233075e...53a8ab20287e

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/53a8ab20287eb35ea7fdc3fc51e1b9c79aea455c Log: Pull #979: noting. JENKINS-11347 JENKINS-16692 might have been fixed by this, but unclear. Compare: https://github.com/jenkinsci/jenkins/compare/2771d233075e...53a8ab20287e

            marcomiller Marco Miller
            tromney Travis Romney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: