sshnet / sshnet/SSH.NET

Renci.SshNet makes application to crash after unhandled NullReferenceException exception

Open
#134 7 comments 0 reactions 1 assignee View on GitHub

@olegkap is already working on this.

Since Dec 20, 2016.

Dominant language
C#
Stars
4.4k
Forks
993
Avg merge
9d 21h
Merged PRs (30d)
1

Description

Application is crashing during uploading a file (1.5GB), leaving following call stack in Event Viewer. Retrying upload after few minutes corrects the problem. Any help will be greatly appreciated.

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at Renci.SshNet.KeyboardInteractiveAuthenticationMethod+<>c__DisplayClass3.<Session_MessageReceived>b__0()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.