You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
I dont know if this is a bug or just something that I am missing to configure.
When I run my MVC 4 application on IISExpress it works like a charm and clones my git repository. As soon as I switch to use regular IIS I get a "Object reference not set to an instance of an object."
Here is the stacktrace:
at Sharpen.FilePath..ctor(FilePath other, String child) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\Sharpen\Sharpen\FilePath.cs:line 25
at NGit.Util.SystemReader._SystemReader_65.OpenUserConfig(Config parent, FS fs) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Util\SystemReader.cs:line 116
at NGit.Storage.File.FileRepository..ctor(BaseRepositoryBuilder options) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Storage.File\FileRepository.cs:line 141
at NGit.BaseRepositoryBuilder2.Build() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit\BaseRepositoryBuilder.cs:line 700 at NGit.Api.InitCommand.Call() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\InitCommand.cs:line 108 at NGit.Api.CloneCommand.Init(URIish u) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\CloneCommand.cs:line 131 at NGit.Api.CloneCommand.Call() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\CloneCommand.cs:line 100 at SourceDeploy.Services.GitSourceControlManagement.Clone(String path) in d:\Projects\ToolWise\Research\SourceDeploy\SourceDeploy.Services\GitSourceControlManagement.cs:line 17 at SourceDeploy.Controllers.HomeController.Index() in d:\Projects\ToolWise\Research\SourceDeploy\SourceDeploy\Controllers\HomeController.cs:line 19 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.b__49()
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I dont know if this is a bug or just something that I am missing to configure.
When I run my MVC 4 application on IISExpress it works like a charm and clones my git repository. As soon as I switch to use regular IIS I get a "Object reference not set to an instance of an object."
Here is the stacktrace:
at Sharpen.FilePath..ctor(FilePath other, String child) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\Sharpen\Sharpen\FilePath.cs:line 25
at NGit.Util.SystemReader._SystemReader_65.OpenUserConfig(Config parent, FS fs) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Util\SystemReader.cs:line 116
at NGit.Storage.File.FileRepository..ctor(BaseRepositoryBuilder options) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Storage.File\FileRepository.cs:line 141
at NGit.BaseRepositoryBuilder
2.Build() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit\BaseRepositoryBuilder.cs:line 700 at NGit.Api.InitCommand.Call() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\InitCommand.cs:line 108 at NGit.Api.CloneCommand.Init(URIish u) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\CloneCommand.cs:line 131 at NGit.Api.CloneCommand.Call() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\CloneCommand.cs:line 100 at SourceDeploy.Services.GitSourceControlManagement.Clone(String path) in d:\Projects\ToolWise\Research\SourceDeploy\SourceDeploy.Services\GitSourceControlManagement.cs:line 17 at SourceDeploy.Controllers.HomeController.Index() in d:\Projects\ToolWise\Research\SourceDeploy\SourceDeploy\Controllers\HomeController.cs:line 19 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary
2 parameters)at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.b__49()
The text was updated successfully, but these errors were encountered: