Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-filtering-1.1
-
None
-
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200)
Maven home: D:\apache-maven-3.1.1\bin\..
Java version: 1.8.0, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.8.0\jre
Default locale: nl_NL, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200) Maven home: D:\apache-maven-3.1.1\bin\.. Java version: 1.8.0, vendor: Oracle Corporation Java home: c:\Program Files\Java\jdk1.8.0\jre Default locale: nl_NL, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
Description
java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.util.ArrayList.removeAll(ArrayList.java:674) at org.apache.maven.shared.filtering.DefaultMavenFileFilter.getDefaultFi lterWrappers(DefaultMavenFileFilter.java:217) at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile(Def aultMavenFileFilter.java:76)
This happens when the following situation occurs:
// request.getFileFilters() is null
buildFilters.removeAll( request.getFileFilters() );
Root cause: https://bugs.openjdk.java.net/browse/JDK-8015656
So let's do the null check in the maven-filtering codebase.
Attachments
Issue Links
- is related to
-
MNG-5551 check that everything compile and run fine with Java 8
- Closed