Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-314

DependencyConvergence fails sporadically with a null message

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 3.0.0-M1
    • Fix Version/s: 3.0.0-M3
    • Component/s: Standard Rules
    • Labels:
      None
    • Environment:
      Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
      Java version: 1.8.0_162, vendor: Oracle Corporation

      Description

      Our Jenkins builds fail sporadically without providing a message:

      17:08:28 [WARNING] Rule 4: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
      17:08:28 null
      

      Looking at the code, I suspect that this can happen on line 132 of the rule when some underlying exception is caught which itself does not provide a (localized) message.
      As the plugin does not include the cause (unless failFast is set), you will just see a null message.

        Attachments

          Activity

            People

            • Assignee:
              eolivelli Enrico Olivelli
              Reporter:
              famod Falko Modler

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment