Closed a-konyaev closed 5 years ago
Yeah, it looks like when there is a failure to fully connect the connectionState variable doesn't get set and so when we try to clean up the outstanding invocations in the stopConnection
logic we don't check if connectionState was initialized.
Thanks for filing the issue!
Done: ff385f71c592ff218956cfa3b1b0a184604b8409
I have been trying to connect to server through proxy and have gotten connection timeout. But during handle that error java-client library failed with NPE:
There is error in method com.microsoft.signalr.HubConnection#stopConnection at line: https://github.com/aspnet/SignalR/blob/release/2.2/clients/java/signalr/src/main/java/com/microsoft/signalr/HubConnection.java#L431 connectionState is null when this line is executing.
My client code: