On 01/01/2019 14:22, Emmanuel Lécharny wrote:
On 01/01/2019 14:08, Stefan Seelmann wrote:
Thanks Emmanuel!
in the Studio JNDI removal branch I had one compile error, because there
is still code that converts response controls to JNDI, I also have to
remove that :)
Otherwise in SSL/StartTLS tests I see two kind of exceptions:
1. PROTOCOL_ERROR: The server will disconnect
2. java.lang.ClassCastException:
org.apache.directory.api.ldap.model.message.extended.NoticeOfDisconnect
cannot be cast to
org.apache.directory.api.ldap.model.message.OpaqueExtendedResponse
Is this when testing studio ?
More specifically, the second error is due to the fact that the startTLS
operation failed, thus the NoD is sent back, and it isn't properly
matched with the proper ExtendedOperation when decoded, thus the client
creates an OpaqueExtendedOperation. That means the responseName is not
present, or that we can't find the associated factory, or some nastier bug.
Just let me know what exact sequence you use to get those bugs, I can
debug and fix it.