Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.8.0
-
None
-
Windows 7
JDK 10.0.2
Maven 3.5.4
Description
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 )
Attachments
Attachments
Issue Links
- is duplicated by
-
MCOMPILER-432 Unclear error message (NPE) in case of corrupt dependency
- Closed
- is superceded by
-
MCOMPILER-360 NPE when calculating modulepath with invalid entries
- Closed
- links to