You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/08/21 13:19:26 UTC

[jira] Closed: (SCM-164) PerforceUpdateCommand fails with NPE

     [ http://jira.codehaus.org/browse/SCM-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed SCM-164.
-------------------------------


fixed in [r380145|http://svn.apache.org/viewcvs?rev=380145&view=rev ]

> PerforceUpdateCommand fails with NPE
> ------------------------------------
>
>                 Key: SCM-164
>                 URL: http://jira.codehaus.org/browse/SCM-164
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-perforce
>    Affects Versions: 1.0-beta-3
>            Reporter: John Didion
>            Assignee: Mike Perham
>            Priority: Critical
>             Fix For: 1.0-beta-3
>
>
> This has been hidden by the but I reported in SCM-163. Once that bug is fixed, the perforce update command fails with an NPE if there are updated files. This is because the logger is not set on the ChangeLogCommand. Apply the following change to PerforceUpdateCommand.getChangeLogCommand():
> {noformat}
> PerforceChangeLogCommand command = new PerforceChangeLogCommand();
> command.setLogger(getLogger());
> return command;
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira