Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-144

ClearCase update fails with NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-2, 1.0-beta-3
    • 1.0-beta-3
    • None
    • Linux (run from Continuum)

    Description

      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.

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            pkosiorowski Piotr Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: