You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrei Terentiev (JIRA)" <ji...@apache.org> on 2018/03/02 12:57:00 UTC

[jira] [Commented] (MCHECKSTYLE-288) NullPointerException during building a multi-module project

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

Andrei Terentiev commented on MCHECKSTYLE-288:
----------------------------------------------

Recently I encountered the same problem as Rob (NPE).

The problem arose because one of the newly created modules did not contain the source code yet.

Adding source code or <packaging>pom</packaging> solves the problem.

 

> NullPointerException during building a multi-module project
> -----------------------------------------------------------
>
>                 Key: MCHECKSTYLE-288
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-288
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.13, 2.14
>         Environment: Apache Maven 3.2.5
>            Reporter: Peter Jeszenszky
>            Assignee: Dennis Lundberg
>            Priority: Major
>             Fix For: 2.15
>
>         Attachments: geocoder-parent.zip
>
>
> A NullPointerException is thrown during the execution of "mvn site" in a multi-module project, that is clearly caused by the Maven Checkstyle Plugin. The problem occurs when version 2.13 or 2.14 of the plugin is used, everything works fine when the plugin version is downgraded to version 2.12. I have attached a project in which the problem occurs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)