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

Unhandled Exception: NoSuchMethodError: The method '>' was called on null. #11

Closed
andzejsw opened this issue Jul 6, 2020 · 1 comment

Comments

@andzejsw
Copy link

andzejsw commented Jul 6, 2020

I got this error:

E/flutter ( 3068): #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
E/flutter ( 3068): #1      WebSocketTransport.receive.<anonymous closure> (package:connectanum/src/transport/websocket/websocket_transport_io.dart:91:29)

Looks like this happens in this package line:
if (_socket.closeCode > 1000 && !_goodbyeSent && !_goodbyeReceived) {

@andzejsw
Copy link
Author

andzejsw commented Jul 6, 2020

As i understand, by some reason closeCode is being null. And that leads to exception.

KSDaemon pushed a commit that referenced this issue Sep 7, 2023
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