You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/09/10 17:35:00 UTC
[jira] [Closed] (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 ]
Robert Scholte closed MCOMPILER-418.
------------------------------------
Assignee: Robert Scholte
Resolution: Won't Fix
> 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
> Assignee: Robert Scholte
> 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)