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

Crash when trying to create a new project via new project dialog #3

Closed
alexrp opened this issue Dec 31, 2011 · 3 comments
Closed

Crash when trying to create a new project via new project dialog #3

alexrp opened this issue Dec 31, 2011 · 3 comments

Comments

@alexrp
Copy link

alexrp commented Dec 31, 2011

Stack trace:

System.ArgumentNullException: Argument cannot be null.
Parameter name: path1
at System.IO.Path.Combine (System.String path1, System.String path2) [0x00000] in :0
at MonoDevelop.Core.FilePath.Combine (System.String[] paths) [0x00000] in :0
at MonoDevelop.Projects.ProjectCreateInformation.get_BinPath () [0x00000] in :0
at MonoDevelop.D.DProject..ctor (MonoDevelop.Projects.ProjectCreateInformation info, System.Xml.XmlElement projectOptions) [0x00000] in :0
at MonoDevelop.D.DProjectBinding.CreateProject (MonoDevelop.Projects.ProjectCreateInformation info, System.Xml.XmlElement projectOptions) [0x00000] in :0
at MonoDevelop.Projects.ProjectService.CreateProject (System.String type, MonoDevelop.Projects.ProjectCreateInformation info, System.Xml.XmlElement projectOptions) [0x00000] in :0
at MonoDevelop.Ide.Templates.ProjectDescriptor.CreateItem (MonoDevelop.Projects.ProjectCreateInformation projectCreateInformation, System.String defaultLanguage) [0x00000] in :0
at MonoDevelop.Ide.Templates.ProjectTemplate.HasItemFeatures (MonoDevelop.Projects.SolutionFolder parentFolder, MonoDevelop.Projects.ProjectCreateInformation cinfo) [0x00000] in :0
at MonoDevelop.Ide.Projects.NewProjectDialog.SelectedIndexChange (System.Object sender, System.EventArgs e) [0x00000] in :0

@alexrp
Copy link
Author

alexrp commented Jan 3, 2012

Turns out this was caused by me having set the default project path to a nonexistent path. This should be fixed in upstream MonoDevelop probably?

@aBothe
Copy link
Owner

aBothe commented Jan 4, 2012

Sure. Probably. Do you want to try to fix it and send them a pull request? Or shall I try to do it?

@alexrp
Copy link
Author

alexrp commented Jan 4, 2012

I'll investigate one of the next couple of days and see what I can do. I have push rights for MonoDevelop, so the fix will probably go in faster if I do it.

@alexrp alexrp closed this as completed Jan 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants