Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-641

NPE when workingDirectory is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.7
    • None
    • Ubuntu Natty, JAVA_HOME = /usr/lib/jvm/java-6-sun

    Description

      $ maven-scm-client checkout rx scm:svn:https://code.ros.org/svn/ros/stacks/rx/tags/rx-1.6.1
      [INFO] Executing: /bin/sh -c svn --non-interactive checkout https://code.ros.org/svn/ros/stacks/rx/tags/rx-1.6.1 /home/tk/work/rx
      Error while executing the SCM command.
      org.apache.maven.scm.ScmException: Exception while executing SCM command.
      at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
      at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:356)
      at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.checkout(AbstractSvnScmProvider.java:292)
      at org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:428)
      at org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:405)
      at org.apache.maven.scm.manager.AbstractScmManager.checkOut(AbstractScmManager.java:399)
      at org.apache.maven.scm.client.cli.MavenScmCli.checkOut(MavenScmCli.java:238)
      at org.apache.maven.scm.client.cli.MavenScmCli.execute(MavenScmCli.java:190)
      at org.apache.maven.scm.client.cli.MavenScmCli.main(MavenScmCli.java:154)
      Caused by: java.lang.NullPointerException
      at org.apache.maven.scm.provider.svn.svnexe.command.checkout.SvnCheckOutCommand.executeCheckOutCommand(SvnCheckOutCommand.java:86)
      at org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand(AbstractCheckOutCommand.java:82)
      at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
      ... 8 more

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            tibo1979 Thibault Kruse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: