mono / ngit

Automated jgit port to c#
261 stars 151 forks source link

NullReferenceException in DiffieHellmanManaged.Dispose brings down process #6

Closed pvginkel closed 13 years ago

pvginkel commented 13 years ago

Sometimes, communication with the server fails. When this happens, a NullReferenceException in DiffieHellmanManaged.Dispose on the finalizer thread brings down the process.

The NullReferenceException in itself is not a problem. However, that it happens on the finalizer thread is. It looks like adding a using in Sharpen.DHKeyPairGenerator should solve this issue.

pvginkel commented 13 years ago

This problem is caused due to a reported bug in Mono.

mcintyre321 commented 11 years ago

Do you have any more information on this? I'm getting the issue.