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

DependencyConvergence fails sporadically with a null message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.1, 3.0.0-M1
    • 3.0.0-M3
    • Standard Rules
    • None
    • 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

            eolivelli Enrico Olivelli
            famod Falko Modler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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