Skip to content

jdk_security3_0 sun/security/pkcs12/KeytoolOpensslInteropTest.java#GenerateOpensslPKCS12 NullPointerException: Cannot invoke "java.nio.file.Path.getParent()" because the return value of "java.nio.file.Path.getParent()" is null #21964

@JasonFengJ9

Description

@JasonFengJ9

Failure link

From internal Test_openjdk21_j9_extended.openjdk_x86-64_windows_testList_1 (win11x86-rtp-rt1-1)

java version "21.0.8-beta" 2025-07-15
IBM Semeru Runtime Certified Edition 21.0.8+4-202505250143 (build 21.0.8-beta+4-202505250143)
Eclipse OpenJ9 VM 21.0.8+4-202505250143 (build master-7bed029788, JRE 21 Windows 11 amd64-64-Bit Compressed References 20250525_454 (JIT enabled, AOT enabled)
OpenJ9   - 7bed029788
OMR      - 988ae21a0
JCL      - c7fc9b6a9 based on jdk-21.0.8+4)

Rerun in Grinder - Change TARGET to run only the failed test targets

Optional info

Failure output (captured from console output)

[2025-05-25T11:13:33.352Z] variation: Mode150
[2025-05-25T11:13:33.784Z] JVM_OPTIONS:  -XX:+UseCompressedOops -Xverbosegclog 

[2025-05-25T12:56:49.140Z] TEST: sun/security/pkcs12/KeytoolOpensslInteropTest.java#GenerateOpensslPKCS12

[2025-05-25T12:56:49.143Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getParent()" because the return value of "java.nio.file.Path.getParent()" is null
[2025-05-25T12:56:49.143Z] --------------------------------------------------
[2025-05-25T15:11:44.070Z] Test results: passed: 952; failed: 1

[2025-05-25T15:12:18.987Z] jdk_security3_0_FAILED
19:22:48  java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getParent()" because the return value of "java.nio.file.Path.getParent()" is null
19:22:48  	at jdk.test.lib.security.OpensslArtifactFetcher.getProviderPath(OpensslArtifactFetcher.java:136)
19:22:48  	at KeytoolOpensslInteropTest.generateInitialKeystores(KeytoolOpensslInteropTest.java:121)
19:22:48  	at KeytoolOpensslInteropTest.main(KeytoolOpensslInteropTest.java:88)

50x internal Grinder - failed every run on win11x86-rtp-rt8-1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions