[jboss-jira] [JBoss JIRA] (DROOLS-2169) IBM JDK: KeyStoreHelperTest.testLoadPassword fails on IBM JDK

Tibor Zimányi (JIRA) issues at jboss.org
Fri Dec 8 03:40:00 EST 2017


Tibor Zimányi created DROOLS-2169:
-------------------------------------

             Summary: IBM JDK: KeyStoreHelperTest.testLoadPassword fails on IBM JDK
                 Key: DROOLS-2169
                 URL: https://issues.jboss.org/browse/DROOLS-2169
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 7.5.0.Final
            Reporter: Tibor Zimányi
            Assignee: Tibor Zimányi


When running the test on IBM JDK, it fails with this stack [2]. A keystore that is not created by IBM JDK is used in the test, which can be a cause for this problem. See this example [1].

[1] http://www-01.ibm.com/support/docview.wss?uid=swg21692970
[1] java.lang.RuntimeException: Error initialising KeyStore: com.sun.crypto.provider.SealedObjectForKeyProtector
	at com.ibm.crypto.provider.JceKeyStore.engineLoad(Unknown Source)
	at java.security.KeyStore.load(KeyStore.java:1456)
	at org.drools.core.util.KeyStoreHelper.loadKeystore(KeyStoreHelper.java:144)
	at org.drools.core.util.KeyStoreHelper.initKeyStore(KeyStoreHelper.java:138)
	at org.drools.core.util.KeyStoreHelper.<init>(KeyStoreHelper.java:96)
	at org.drools.core.util.KeyStoreHelperTest.testLoadPassword(KeyStoreHelperTest.java:91)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list