maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thibault Kruse (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (SCM-641) NullPointer in logging block
Date Wed, 02 Nov 2011 16:44:51 GMT

    [ https://jira.codehaus.org/browse/SCM-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282618#comment-282618
] 

Thibault Kruse commented on SCM-641:
------------------------------------

Same for git and hg:
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.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:290)
        at org.apache.maven.scm.provider.git.AbstractGitScmProvider.checkout(AbstractGitScmProvider.java:226)
        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.git.gitexe.command.GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java:89)
        at org.apache.maven.scm.provider.git.gitexe.command.checkout.GitCheckOutCommand.createCloneCommand(GitCheckOutCommand.java:152)
        at org.apache.maven.scm.provider.git.gitexe.command.checkout.GitCheckOutCommand.executeCheckOutCommand(GitCheckOutCommand.java:83)
        at org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand(AbstractCheckOutCommand.java:82)
        at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)


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.hg.HgScmProvider.checkout(HgScmProvider.java:235)
        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.hg.HgUtils.buildCmd(HgUtils.java:149)
        at org.apache.maven.scm.provider.hg.HgUtils.execute(HgUtils.java:89)
        at org.apache.maven.scm.provider.hg.command.checkout.HgCheckOutCommand.executeCheckOutCommand(HgCheckOutCommand.java:79)
        at org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand(AbstractCheckOutCommand.java:82)
        at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)


So I'll guess the bug is in an abstract class

> NullPointer in logging block
> ----------------------------
>
>                 Key: SCM-641
>                 URL: https://jira.codehaus.org/browse/SCM-641
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 1.5
>         Environment: Ubuntu Natty, JAVA_HOME = /usr/lib/jvm/java-6-sun
>            Reporter: Thibault Kruse
>
> $ 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message