[ 
https://issues.apache.org/jira/browse/SCM-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964365#comment-17964365
 ] 

Olivier Lamy commented on SCM-144:
----------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#419|https://github.com/apache/maven-scm/issues/419]. 

> ClearCase update fails with NullPointerException
> ------------------------------------------------
>
>                 Key: SCM-144
>                 URL: https://issues.apache.org/jira/browse/SCM-144
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-clearcase
>    Affects Versions: 1.0-beta-2, 1.0-beta-3
>         Environment: Linux (run from Continuum)
>            Reporter: Piotr Kosiorowski
>            Assignee: Emmanuel Venisse
>            Priority: Major
>             Fix For: 1.0-beta-3
>
>
> Update fails because update command uses changelog command without setting 
> logger on it - so
> changelog command fails with NullPointerException  at the beggining of 
> execution in:
>  getLogger().debug( "executing changelog command..." );
> The required change is in
> ClearCaseUpdateCommand.java:
>  protected ChangeLogCommand getChangeLogCommand()
>  {
>      return new ClearCaseChangeLogCommand();
>  }
> should be:
>  protected ChangeLogCommand getChangeLogCommand()
>  {
>     ClearCaseChangeLogCommand c=  new ClearCaseChangeLogCommand();
>     c.setLogger(getLogger());
>     return c;
>  } 
> This change is done according to convention used in cvs,perforce,starteam 
> providers when invoking one command from another.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to