[
https://issues.apache.org/jira/browse/SCM-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960496#comment-17960496
]
ASF GitHub Bot commented on SCM-144:
------------------------------------
jira-importer opened a new issue, #419:
URL: https://github.com/apache/maven-scm/issues/419
**[Piotr
Kosiorowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pkosiorowski)**
opened
**[SCM-144](https://issues.apache.org/jira/browse/SCM-144?redirect=false)** and
commented
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.
---
**Affects:** 1.0-beta-2, 1.0-beta-3
> 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)