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

NullReferenceException on TryPingAsync #1831

Closed
codeMark1 opened this issue Sep 6, 2023 · 2 comments · Fixed by #1834
Closed

NullReferenceException on TryPingAsync #1831

codeMark1 opened this issue Sep 6, 2023 · 2 comments · Fixed by #1834
Labels
question It is a question regarding the project

Comments

@codeMark1
Copy link

i try call the Samles Reconnect_Using_Timer, when run TryPingAsync, “System.NullReferenceException” Appear;i don't know what's wrong;
image
image

@codeMark1 codeMark1 added the question It is a question regarding the project label Sep 6, 2023
@Jeanot-Zubler
Copy link

The stack trace in english would probably be helpful

@chkr1011
Copy link
Collaborator

chkr1011 commented Sep 6, 2023

The code is not checking for the connection state (I will fix this) and the sample lacks a blocking statement so that the client will not be disposed.

@chkr1011 chkr1011 linked a pull request Sep 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question It is a question regarding the project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants