You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stanislav Spiridonov (Jira)" <ji...@apache.org> on 2020/05/30 17:38:00 UTC

[jira] [Created] (MCOMPILER-418) NPE when --patch-module is used in non-modular Project

Stanislav Spiridonov created MCOMPILER-418:
----------------------------------------------

             Summary: NPE when --patch-module is used in non-modular Project
                 Key: MCOMPILER-418
                 URL: https://issues.apache.org/jira/browse/MCOMPILER-418
             Project: Maven Compiler Plugin
          Issue Type: Bug
    Affects Versions: 3.8.1
            Reporter: Stanislav Spiridonov


When "--patch-module" argument is added to the compiler, the plugin always throws NullPointerException. 
{noformat}
Caused by: java.lang.NullPointerException
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1051)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:187)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) {noformat}
 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)