maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrius Baltrunas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCOMPILER-359) plexus-java 0.9.10 causes a NullPointer in compiler-plugin 3.8.0
Date Tue, 26 Mar 2019 05:51:00 GMT

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

Andrius Baltrunas commented on MCOMPILER-359:
---------------------------------------------

Hi [~rfscholte], i recognize that was fixed in 3.8.1 version. Maybe you know when will be
release new compiler version?

> plexus-java 0.9.10 causes a NullPointer in compiler-plugin 3.8.0
> ----------------------------------------------------------------
>
>                 Key: MCOMPILER-359
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-359
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.0
>         Environment: Windows 7
> JDK 10.0.2
> Maven 3.5.4
>            Reporter: Marvin
>            Priority: Major
>         Attachments: plugintest.zip
>
>
> If {{<dependencies>}} contains a {{<type>pom</type>}} or {{<type>war</type>}}
this call:
>      {{moduleDescriptor = binaryParser.getModuleDescriptor( path );}}
>  throws an {{IOException}}:
>      {{zip END header not found}}
>  because the file is being treated as a jar file.
>  When the call returns to {{CompilerMojo.preparePaths()}} this call returns {{null}}:
>      {{Throwable cause = pathException.getValue().getCause();}}
>  and the next line throws a {{NullPointerException}}:
>      {{while ( cause.getCause() != null )}}



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

Mime
View raw message