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

Jezza edited comment on MCOMPILER-359 at 10/16/18 2:22 PM:
-----------------------------------------------------------

I have the same issue.
I'm trying to migrate to Java 11, and I've squashed out all of the other issues 
only to run head first into this one.

I have a dependency on:
{noformat}
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.3.1</version>
<type>pom</type>
{noformat}

MCOMPILER-355 has a lot of information, including a quickstart file that 
apparently reproduces the issue.
I'm just about to download it, and see if it's relevant.

Version:

{noformat}
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T20:33:14+02:00)
Maven home: /opt/maven
Java version: 11, vendor: Oracle Corporation, runtime: /opt/packages/java/jdk-11
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
{noformat}


was (Author: jezza):
I have the same issue.
I'm trying to migrate to Java 11, and I've squashed out all of the other issues 
only to run head first into this one.

I have a dependency on:
{noformat}
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.3.1</version>
<type>pom</type>
{noformat}

MCOMPILER-355 has a lot of information, including a quickstart file that 
apparently reproduces the issue.
I'm just about to download it, and see if it's relevant.

> 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)

Reply via email to