Java-WebSocket: Crash on Android due to missing method `setEndpointIdentificationAlgorithm` on 1.5.0.

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

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15

Commits related to this issue

Most upvoted comments

@or-else and @PhilipRoman if you are both fine with the proposed changes, I would do a hotfix release for 1.5.1.

Best regards, Marcel