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

NRE in EndpointExplorerViewModel.Handle #725

Closed
adamralph opened this issue May 11, 2017 · 2 comments
Closed

NRE in EndpointExplorerViewModel.Handle #725

adamralph opened this issue May 11, 2017 · 2 comments
Labels
Milestone

Comments

@adamralph
Copy link
Member

From Raygun:

  • Version: 1.7.0+14.Branch.master.Sha.3a8b8bdb65a6220e409691c88f82603bb9289351
  • Class name: System.NullReferenceException
  • Message: Object reference not set to an instance of an object.
  • Stacktrace:

ServiceInsight.Explorer.EndpointExplorer.EndpointExplorerViewModel.Handle(RequestSelectingEndpoint message) in
C:\BuildAgent\work\7540559e45164f93\src\ServiceInsight\Explorer\EndpointExplorer\EndpointExplorerViewModel.cs:201

@adamralph adamralph changed the title NRE EndpointExplorerViewModel.Handle NRE in EndpointExplorerViewModel.Handle May 11, 2017
@SimonCropp
Copy link
Contributor

@HEskandari
Copy link
Contributor

It could be SingleOrDefault as it stands today (you initially might be disconnected). However the stack trace doesn't tell me how we got there.

A quick 'fix' would be:

if (ServiceControlRoot?.EndpointExists(message.Endpoint) == true) in here.

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

No branches or pull requests

3 participants