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

Null ref with OOP client: #17768

Closed
CyrusNajmabadi opened this issue Mar 12, 2017 · 1 comment
Closed

Null ref with OOP client: #17768

CyrusNajmabadi opened this issue Mar 12, 2017 · 1 comment
Assignees
Milestone

Comments

@CyrusNajmabadi
Copy link
Member

Stack is:

>	Microsoft.CodeAnalysis.SymbolSearch.SymbolSearchUpdateEngineFactory.RemoteUpdateEngine.OnConnectionChanged(sender, connected) Line 79	C#
 	Microsoft.CodeAnalysis.Remote.RemoteHostClient.OnConnectionChanged(connected) Line 139	C#
 	Microsoft.CodeAnalysis.Remote.RemoteHostClient.Disconnected() Line 134	C#
 	Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.OnRpcDisconnected(sender, e) Line 123	C#
 	StreamJsonRpc.JsonRpc.OnJsonRpcDisconnected(eventArgs)	Unknown
 	StreamJsonRpc.JsonRpc.Dispose(disposing)	Unknown
 	StreamJsonRpc.JsonRpc.Dispose()	Unknown
 	Microsoft.VisualStudio.LanguageServices.Remote.ServiceHubRemoteHostClient.OnDisconnected() Line 118	C#
 	Microsoft.CodeAnalysis.Remote.RemoteHostClient.Disconnected() Line 132	C#
 	Microsoft.CodeAnalysis.Remote.RemoteHostClient.Shutdown() Line 120	C#
 	Microsoft.VisualStudio.LanguageServices.Remote.RemoteHostClientServiceFactory.RemoteHostClientService.Disable() Line 123	C#
 	Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage<Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage, Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpLanguageService>.DisableRemoteHostClientService() Line 180	C#
 	Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService.AbstractPackage<Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage, Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpLanguageService>.Dispose(disposing) Line 140	C#
 	Microsoft.VisualStudio.LanguageServices.CSharp.LanguageService.CSharpPackage.Dispose(disposing) Line 96	C#
 	Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.Close()	Unknown

Crashing line:

_client.ConnectionChanged += OnConnectionChanged;

_client appears to be null here.

@CyrusNajmabadi
Copy link
Member Author

Tagging @heejaechang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants