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

System.ArgumentException: 'The tasks argument included a null value. (Parameter 'tasks')' #128

Open
abstract195 opened this issue Jan 25, 2022 · 1 comment

Comments

@abstract195
Copy link

await Task.WhenAll(subscriptionTasks);

above code might throw System.ArgumentException: 'The tasks argument included a null value. (Parameter 'tasks')' because 'ArrayPool.Shared.Rent(connections.Count);' might return a bigger array filled with nulls

Optano-Dev pushed a commit to Optano-Dev/SignalR.Orleans that referenced this issue Apr 29, 2022
@michaelmcneilnet
Copy link
Contributor

michaelmcneilnet commented May 18, 2022

It would be great if the PR for this could be reviewed, we have just started using this library and this exception appears a lot throughout our logging. We've had to ignore all the errors generated when sending out signalr messages too, with an empty try/catch.

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

2 participants