Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException in HybiParser ( version 3.1.0 ) #720

Open
aantunovic opened this issue Apr 15, 2024 · 0 comments
Open

NullPointerException in HybiParser ( version 3.1.0 ) #720

aantunovic opened this issue Apr 15, 2024 · 0 comments

Comments

@aantunovic
Copy link

aantunovic commented Apr 15, 2024

Recently noticed this issue on android 12 and 13.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes(java.lang.String)' on a null object reference
       at com.koushikdutta.async.http.HybiParser.decode(HybiParser.java:482)
       at com.koushikdutta.async.http.HybiParser.frame(HybiParser.java:335)
       at com.koushikdutta.async.http.HybiParser.frame(HybiParser.java:295)
       at com.koushikdutta.async.http.WebSocketImpl.lambda$send$2(WebSocketImpl.java:249)
       at com.koushikdutta.async.AsyncServer$Scheduled.run(AsyncServer.java:232)
       at com.koushikdutta.async.AsyncServer.lockAndRunQueue(AsyncServer.java:797)
       at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:815)
       at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:726)
       at com.koushikdutta.async.AsyncServer.access$800(AsyncServer.java:46)
       at com.koushikdutta.async.AsyncServer$8.run(AsyncServer.java:680)
  [https://github.com/koush/AndroidAsync/blob/master/AndroidAsync/src/com/koushikdutta/async/http/HybiParser.java#L482]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant