[ https://issues.apache.org/jira/browse/MCOMPILER-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MCOMPILER-359. ------------------------------------ Fix Version/s: 3.9.0 Assignee: Robert Scholte Resolution: Fixed Fixed in [116b98153ef5ce7b13c0275324baa28bca8bc887|https://gitbox.apache.org/repos/asf?p=maven-compiler-plugin.git;a=commit;h=116b98153ef5ce7b13c0275324baa28bca8bc887] Thanks for the patch! > 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 > Assignee: Robert Scholte > Priority: Major > Fix For: 3.9.0 > > Attachments: plugintest.zip > > Time Spent: 10m > Remaining Estimate: 0h > > 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 (v8.3.4#803005)