Skip to content

Crash on Android due to missing method setEndpointIdentificationAlgorithm on 1.5.0. #1011

@or-else

Description

@or-else

Websocket library 1.5.0
The same code was not crashing on 1.4.1

This is the entire stack trace. I got it through Crashlytics so I cannot describe steps that led to it.

Fatal Exception: java.lang.NoSuchMethodError: No virtual method setEndpointIdentificationAlgorithm(Ljava/lang/String;)V in class Ljavax/net/ssl/SSLParameters; or its super classes (declaration of 'javax.net.ssl.SSLParameters' appears in /system/framework/core-libart.jar)
       at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:476)
       at java.lang.Thread.run(Thread.java:831)

Android 5.0.1 (API 21).
Brand: HUAWEI
Model: P8 Lite

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions