-
Notifications
You must be signed in to change notification settings - Fork 10.4k
ConnectionState.getNextInvocationId() Null pointer exception #11995
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
Comments
cc @mikaelm12 Smells like a race... @mashahbazi can you post the specific version of |
Yeah, please post the version of the Java client that you are using, If you're not on preview 6, then I'd first recommend updating to use that. Preview 7 is coming out next week and it also has some updates to the Java client but they shouldn't directly effect the scenario you mention. Preview 6 version |
And if you could also include the full stack trace that would be helpful as well! |
yeap, I'm update and my version is |
After a quick investigation, it looks like we need some more locking. Moving this into preview 8 |
Done here: #12078 |
Also related though - #12138 |
error occurred in preview 8 again |
After I figured the error #6898 and as said it's error fixed in 3.0.0-preview3. but now is start to send NullPointerException on invoke
Attempt to invoke virtual method 'java.lang.String com.microsoft.signalr.HubConnection$ConnectionState.getNextInvocationId()' on a null object reference
I check hubConnectionState to be HubConnectionState.CONNECTED before calling method invoke.
The text was updated successfully, but these errors were encountered: