Abhishek Kumar created RANGER-4756: -------------------------------------- Summary: [JDK 11]: NullPointerException in KnoxRangerTest Key: RANGER-4756 URL: https://issues.apache.org/jira/browse/RANGER-4756 Project: Ranger Issue Type: Bug Components: Ranger Reporter: Abhishek Kumar
Build URL: [https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304] Error logs: Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.43 s <<< FAILURE! - in org.apache.ranger.services.knox.KnoxRangerTest [4264|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4265]Error: org.apache.ranger.services.knox.KnoxRangerTest Time elapsed: 4.43 s <<< ERROR! [4265|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4266]java.lang.NullPointerException [4266|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4267] at java.base/sun.security.provider.JavaKeyStore.engineStore(JavaKeyStore.java:588) [4267|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4268] at java.base/sun.security.util.KeyStoreDelegator.engineStore(KeyStoreDelegator.java:189) [4268|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4269] at java.base/java.security.KeyStore.store(KeyStore.java:1411) [4269|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4270] at org.apache.knox.gateway.services.security.impl.DefaultKeystoreService.writeKeyStoreToFile(DefaultKeystoreService.java:503) [4270|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4271] at org.apache.knox.gateway.services.security.impl.DefaultKeystoreService.addCertForGateway(DefaultKeystoreService.java:194) [4271|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4272] at org.apache.knox.gateway.services.security.impl.DefaultKeystoreService.addSelfSignedCertForGateway(DefaultKeystoreService.java:166) [4272|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4273] at org.apache.knox.gateway.services.security.impl.DefaultKeystoreService.addSelfSignedCertForGateway(DefaultKeystoreService.java:160) [4273|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4274] at org.apache.knox.gateway.services.security.impl.JettySSLService.init(JettySSLService.java:88) [4274|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4275] at org.apache.knox.gateway.services.DefaultGatewayServices.init(DefaultGatewayServices.java:104) [4275|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4276] at org.apache.knox.gateway.GatewayTestDriver.setupGateway(GatewayTestDriver.java:162) [4276|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4277] at org.apache.ranger.services.knox.KnoxRangerTest.setupSuite(KnoxRangerTest.java:60) [4277|https://github.com/apache/ranger/actions/runs/8352270188/job/22898147241?pr=304#step:4:4278] at java.base/java.lang.reflect.Method.invoke(Method.java:566) -- This message was sent by Atlassian Jira (v8.20.10#820010)