Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-294

NPE on missing license artifact, not fixed previously

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.15, 2.16
    • Fix Version/s: None
    • Component/s: checkstyle:checkstyle
    • Labels:
    • Environment:
      Windows7 x64 JDK8 Checkstyle 6.2 maven-checkstyle-plugin 2.15 and 2.16-SNAPSHOT as of 5/20/2015.

      Description

      MCHECKSTYLE-250 fix does not check for null values, only for invalid URL. This patch checks for null values and fixes the original problem, and emits a warning if the license file is missing (but does not kill the checkstyle process or site build). Interestingly - this error only occurs on 'mvn site', not on 'mvn checkstyle:checkstyle'.

        Attachments

        1. MCHECKSTYLE-294.java.patch
          1 kB
          Bob Fields

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bobfields Bob Fields
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: