Skip to content

ArgumentNullException during OmniSharp startup inside Visual Studio Code #562

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

Closed
miguellira opened this issue May 5, 2015 · 1 comment
Closed

Comments

@miguellira
Copy link

First off, this may not be the proper repo to report this, please advise.

After installing Mono 4.1.0 from source in order to get around the EndOfStreamException (#498) I am now getting the following inside the Visual Studio Code OmniSharp output log.

Starting OmniSharp at '/Users/miguellira/GitHub/Home/samples/latest/HelloMvc'...
[INFORMATION:OmniSharp.Startup] Omnisharp server running on port '2000' at location '/Users/miguellira/GitHub/Home/samples/latest/HelloMvc' on host 4395.
[INFORMATION:OmniSharp.AspNet5.AspNet5Paths] Using runtime '/Users/miguellira/.dnx/runtimes/dnx-mono.1.0.0-beta5-11682'.
[INFORMATION:OmniSharp.AspNet5.AspNet5ProjectSystem] Scanning '/Users/miguellira/GitHub/Home/samples/latest/HelloMvc' for ASP.NET 5 projects
[INFORMATION:OmniSharp.AspNet5.AspNet5ProjectSystem] Found project '/Users/miguellira/GitHub/Home/samples/latest/HelloMvc/project.json'.
[INFORMATION:OmniSharp.AspNet5.DesignTimeHostManager] Running DesignTimeHost on port 57035, with PID 4410
[INFORMATION:OmniSharp.AspNet5.AspNet5ProjectSystem] Connected
[INFORMATION:OmniSharp.MSBuild.MSBuildProjectSystem] No solution files found in '/Users/miguellira/GitHub/Home/samples/latest/HelloMvc'
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /codecheck: 404 5ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Value cannot be null.
Parameter name: attributeType
System.ArgumentNullException: Value cannot be null.
Parameter name: attributeType
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10206ae00 + 0x00029> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x102068e20 + 0x000b3> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x102068d80 + 0x00093> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x102068d30 + 0x0003a> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () <0x102068d10 + 0x00012> in <filename unknown>:0 
  at Microsoft.AspNet.Builder.RouterMiddleware+<Invoke>d__5.MoveNext () <0x107801800 + 0x003fc> in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10206ae00 + 0x00029> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x102068e20 + 0x000b3> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x102068d80 + 0x00093> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x102068d30 + 0x0003a> in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () <0x102068d10 + 0x00012> in <filename unknown>:0 
  at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+<Invoke>d__4.MoveNext () <0x1078004c0 + 0x003d7> in <filename unknown>:0 

Statement completion and all of the other OmniSharp goodness fails. :(

@aspnet-hello
Copy link

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants