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:44:00 UTC

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

     [ https://issues.apache.org/jira/browse/MCOMPILER-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stanislav Spiridonov updated MCOMPILER-418:
-------------------------------------------
    Description: 
When "--patch-module" argument with reference to jar 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}
 

 

 

  was:
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}
 

 

 


> 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
>            Priority: Major
>
> When "--patch-module" argument with reference to jar 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)