Skip to content

kestrel Object reference not set to an instance of an object #221

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
punitganshani opened this issue Nov 28, 2014 · 2 comments
Closed

kestrel Object reference not set to an instance of an object #221

punitganshani opened this issue Nov 28, 2014 · 2 comments

Comments

@punitganshani
Copy link

I've KVM (Build 10017) and KRE (1.0.0-beta1-10662) installed on Ubuntu

project.json looks like

"dependencies": { "Kestrel": "1.0.0-beta1", }, "commands": { "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000", "kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5000" },

On running k kestrel command on Ubuntu, there is an error in Microsoft.AspNet.Server.Kestrel

System.NullReferenceException: Object reference not set to an instance of an object at Microsoft.AspNet.Server.Kestrel.Networking.Libuv.loop_size () [0x00000] in <filename unknown>:0 at Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle.Init (Microsoft.AspNet.Server.Kestrel.Networking.Libuv uv) [0x00000] in <filename unknown>:0 at Microsoft.AspNet.Server.Kestrel.KestrelThread.ThreadStart (System.Object parameter) [0x00000] in <filename unknown>:0

I have tried rebuilding libuv instead of using default one available on Linux, but still error occurs

@punitganshani punitganshani changed the title kvm does not recognize command: kestrel kestrel Object reference not set to an instance of an object Nov 28, 2014
@davidfowl
Copy link
Member

@punitganshani
Copy link
Author

Thanks @davidfowl

When I took the code from GitHub and built it on my VM, it continued giving me same error. But with this version (v1.0.0-rc1) seems it works splendid!

@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