-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b26
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8347389 | 21.0.7-oracle | Vanitha B P | P4 | Resolved | Fixed | b02 |
JDK-8347583 | 21.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | master |
When running the test with the installation of .deb and .rpm packages produced by jpackage the test throws an exception:
---
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.equals(Object)" because the return value of "java.nio.file.Path.getFileName()" is null
at jdk.jpackage.test.JPackageCommand.lambda$assertFileInAppImage$37(JPackageCommand.java:900)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1709)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:517)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:507)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:583)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:252)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
at jdk.jpackage.test.JPackageCommand.assertFileInAppImage(JPackageCommand.java:901)
at jdk.jpackage.test.JPackageCommand.assertFileInAppImage(JPackageCommand.java:884)
at jdk.jpackage.test.JPackageCommand.assertAppImageFile(JPackageCommand.java:834)
at jdk.jpackage.test.JPackageCommand.assertAppLayout(JPackageCommand.java:808)
at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:656)
at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:592)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:504)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:411)
at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at jdk.jpackage.test.PackageTest.lambda$runActions$24(PackageTest.java:381)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at jdk.jpackage.test.PackageTest.lambda$runActions$25(PackageTest.java:380)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:379)
at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58)
at RuntimePackageTest.testUsrInstallDir(RuntimePackageTest.java:91)
---
---
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.equals(Object)" because the return value of "java.nio.file.Path.getFileName()" is null
at jdk.jpackage.test.JPackageCommand.lambda$assertFileInAppImage$37(JPackageCommand.java:900)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1709)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:517)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:507)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:583)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:252)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
at jdk.jpackage.test.JPackageCommand.assertFileInAppImage(JPackageCommand.java:901)
at jdk.jpackage.test.JPackageCommand.assertFileInAppImage(JPackageCommand.java:884)
at jdk.jpackage.test.JPackageCommand.assertAppImageFile(JPackageCommand.java:834)
at jdk.jpackage.test.JPackageCommand.assertAppLayout(JPackageCommand.java:808)
at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:656)
at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:592)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:504)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:411)
at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at jdk.jpackage.test.PackageTest.lambda$runActions$24(PackageTest.java:381)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at jdk.jpackage.test.PackageTest.lambda$runActions$25(PackageTest.java:380)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:379)
at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58)
at RuntimePackageTest.testUsrInstallDir(RuntimePackageTest.java:91)
---
- backported by
-
JDK-8347389 RuntimePackageTest.testUsrInstallDir test fails on Linux
- Resolved
-
JDK-8347583 RuntimePackageTest.testUsrInstallDir test fails on Linux
- Resolved
- links to
-
Commit openjdk/jdk/726f854b
-
Commit(master) openjdk/jdk21u-dev/6e6d7b2f
-
Review(master) openjdk/jdk21u-dev/1312
-
Review(master) openjdk/jdk/16810
(1 links to)