[
https://issues.jboss.org/browse/ELY-1660?page=com.atlassian.jira.plugin.s...
]
Justin Cook commented on ELY-1660:
----------------------------------
This was caused by an OpenJDK 9 issue
(
http://www.oracle.com/technetwork/java/javase/9-0-1-relnotes-3883752.html...)
where cacerts is empty, causing a failure when an ArrayList is initialized using the null
list obtained from cacerts. Fixed by adding a check to make sure the list is not null
before initializing the ArrayList.
EntityTest failure on OpenJDK 9
-------------------------------
Key: ELY-1660
URL:
https://issues.jboss.org/browse/ELY-1660
Project: WildFly Elytron
Issue Type: Bug
Components: Testsuite
Reporter: Justin Cook
Assignee: Justin Cook
The testClientNotTrustedByServer test in org.wildfly.security.sasl.entity.EntityTest
currently fails on OpenJDK 9 with the failure:
{code}
javax.security.sasl.SaslException: ELY05053: Callback handler failed for unknown reason
[Caused by java.lang.NullPointerException]
at
org.wildfly.security.sasl.util.AbstractSaslParticipant.tryHandleCallbacks(AbstractSaslParticipant.java:124)
at
org.wildfly.security.sasl.entity.EntitySaslClient.evaluateMessage(EntitySaslClient.java:168)
at
org.wildfly.security.sasl.util.AbstractSaslParticipant.evaluateMessage(AbstractSaslParticipant.java:199)
at
org.wildfly.security.sasl.util.AbstractSaslClient.evaluateChallenge(AbstractSaslClient.java:79)
at
org.wildfly.security.sasl.entity.EntityTest.testClientNotTrustedByServer(EntityTest.java:504)
Caused by: java.lang.NullPointerException
at java.base/java.util.ArrayList.<init>(ArrayList.java:178)
at
org.wildfly.security.auth.client.AuthenticationConfiguration$ClientCallbackHandler.handle(AuthenticationConfiguration.java:1744)
at
org.wildfly.security.sasl.util.AbstractSaslParticipant.tryHandleCallbacks(AbstractSaslParticipant.java:120)
... 4 more
{code}
Output of java -version:
{code}
openjdk version "9"
OpenJDK Runtime Environment (build 9+181)
OpenJDK 64-Bit Server VM (build 9+181, mixed mode)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)