You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lennart Jörelid (JIRA)" <ji...@apache.org> on 2016/07/05 19:26:11 UTC

[jira] [Commented] (MCHECKSTYLE-294) NPE on missing license artifact, not fixed previously

    [ https://issues.apache.org/jira/browse/MCHECKSTYLE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15363074#comment-15363074 ] 

Lennart Jörelid commented on MCHECKSTYLE-294:
---------------------------------------------

Fixed by PR #88. Question/initial analysis found in the comments for #MCHECKSTYLE-287.

> NPE on missing license artifact, not fixed previously
> -----------------------------------------------------
>
>                 Key: MCHECKSTYLE-294
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-294
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>          Components: checkstyle:checkstyle
>    Affects Versions: 2.15, 2.16
>         Environment: Windows7 x64 JDK8 Checkstyle 6.2 maven-checkstyle-plugin 2.15 and 2.16-SNAPSHOT as of 5/20/2015.
>            Reporter: Bob Fields
>              Labels: easyfix, patch
>         Attachments: MCHECKSTYLE-294.java.patch
>
>
> 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'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)