Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-7113

NPE when adding a changest to a review with no commit message from a SVN Repo

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • 3.9.0
    • 3.6.2
    • None

      When adding a changeset to a review, if the changeset has no commit message then a NullPointerException is received;

      Steps to reproduce;

      1. Perform a commit without a message
      2. Create a Review
      3. Try to add the changeset that contains no commit message
      4. NullPointerException error retrieved.

      Tested and confirmed with subversion.

      The workaround is simply to add a message when performing the commit.

            [CRUC-7113] NPE when adding a changest to a review with no commit message from a SVN Repo

            Owen made changes -
            Workflow Original: FE-CRUC Bug Workflow [ 2940094 ] New: JAC Bug Workflow v3 [ 2955482 ]
            Owen made changes -
            Workflow Original: FECRU Development Workflow - Triage - Restricted [ 1513115 ] New: FE-CRUC Bug Workflow [ 2940094 ]
            Owen made changes -
            Workflow Original: FECRU Development Workflow - Triage [ 940601 ] New: FECRU Development Workflow - Triage - Restricted [ 1513115 ]
            Piotr Swiecicki made changes -
            Workflow Original: FECRU Development Workflow (Triage) [ 796894 ] New: FECRU Development Workflow - Triage [ 940601 ]
            David Lahn (Inactive) made changes -
            Fix Version/s New: 3.9.0 [ 53798 ]
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

            This is fixed in CRUC-7259.

            Another workaround is to set a review title before adding the changeset to the review. As discussed in CRUC-7259, this happens due to an NPE while trying to extract a review title from the commit message.

            David Lahn (Inactive) added a comment - This is fixed in CRUC-7259 . Another workaround is to set a review title before adding the changeset to the review. As discussed in CRUC-7259 , this happens due to an NPE while trying to extract a review title from the commit message.
            David Lahn (Inactive) made changes -
            Link New: This issue duplicates CRUC-7259 [ CRUC-7259 ]

            "The workaround is simply to add a message when performing the commit." That's not exactly a useful workaround for all the cases where the commit has already happened.

            Jay Armstrong added a comment - "The workaround is simply to add a message when performing the commit." That's not exactly a useful workaround for all the cases where the commit has already happened.
            ♚♛♜♝♞♟♔♕♖♗♘♙ (Inactive) made changes -
            Summary Original: NPE when adding a changest to a review with no commit message from a SVN Repe New: NPE when adding a changest to a review with no commit message from a SVN Repo
            Lukasz Pater made changes -
            Epic Link New: FECRU-3483 [ 280433 ]

              Unassigned Unassigned
              chparker ♚♛♜♝♞♟♔♕♖♗♘♙ (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: