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

PerforceUpdateCommand fails with NPE

    XMLWordPrintableJSON

Details

    Description

      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():

      PerforceChangeLogCommand command = new PerforceChangeLogCommand();
      command.setLogger(getLogger());
      return command;
      

      Attachments

        Activity

          People

            mperham Mike Perham
            jdidion John Didion
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: