[
https://issues.apache.org/jira/browse/SCM-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960497#comment-17960497
]
ASF GitHub Bot commented on SCM-144:
------------------------------------
jira-importer commented on issue #419:
URL: https://github.com/apache/maven-scm/issues/419#issuecomment-2964593264
**[Emmanuel
Venisse](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=evenisse)**
commented
Fixed.
> 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)