You are not logged in.
I'm new and I'm using the 64-bit version of Arch, OK so when I go to create/start a new solution and select whatever type of project I want (e.g empty C project, empty C# project etc.) I get this error:
-----------------------------------------------------
Argument cannot be null.
Parameter name: path1.
Details:
System.ArgumentNullException: Argument cannot be null.
Parameter name: path1
at System.IO.Path.Combine (System.String path1, System.String path2) [0x000c6] in /build/src/mono-2.10.8/mcs/class/corlib/System.IO/Path.cs:126
at MonoDevelop.Core.FilePath.Combine (System.String[] paths) [0x00014] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Core/MonoDevelop.Core/FilePath.cs:152
at MonoDevelop.Projects.ProjectCreateInformation.get_BinPath () [0x00000] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectCreateInformation.cs:50
at MonoDevelop.Projects.DotNetProject..ctor (System.String languageName, MonoDevelop.Projects.ProjectCreateInformation projectCreateInfo, System.Xml.XmlElement projectOptions) [0x00217] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:143
at MonoDevelop.Projects.DotNetAssemblyProject..ctor (System.String languageName, MonoDevelop.Projects.ProjectCreateInformation projectCreateInfo, System.Xml.XmlElement projectOptions) [0x00000] in <filename unknown>:0
at MonoDevelop.Projects.DotNetProjectBinding.CreateProject (System.String languageName, MonoDevelop.Projects.ProjectCreateInformation info, System.Xml.XmlElement projectOptions) [0x00000] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProjectBinding.cs:51
at MonoDevelop.Projects.DotNetProjectBinding.CreateProject (MonoDevelop.Projects.ProjectCreateInformation info, System.Xml.XmlElement projectOptions) [0x0000c] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProjectBinding.cs:46
at MonoDevelop.Projects.ProjectService.CreateProject (System.String type, MonoDevelop.Projects.ProjectCreateInformation info, System.Xml.XmlElement projectOptions) [0x00033] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:498
at MonoDevelop.Ide.Templates.ProjectDescriptor.CreateItem (MonoDevelop.Projects.ProjectCreateInformation projectCreateInformation, System.String defaultLanguage) [0x00036] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/ProjectDescriptor.cs:111
at MonoDevelop.Ide.Templates.ProjectTemplate.HasItemFeatures (MonoDevelop.Projects.SolutionFolder parentFolder, MonoDevelop.Projects.ProjectCreateInformation cinfo) [0x0000e] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/ProjectTemplate.cs:302
at MonoDevelop.Ide.Projects.NewProjectDialog.SelectedIndexChange (System.Object sender, System.EventArgs e) [0x00107] in /build/src/monodevelop-2.8.5/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/NewProjectDialog.cs:480
-----------------------------------------------------
When I reinstall the package I get the same error, and I'm not to sure what the problem is.
Moderator edit: I put [ code ] tags around your listing for you to get this mess readable.
Last edited by bernarcher (2011-12-30 10:11:43)
Offline
Not sure what you are after. Moving this from "Applications & Desktop Environments" to "Programming & Scripting" for now.
To know or not to know ...
... the questions remain forever.
Offline
I just tried MonoDevelop on my Arch 64 and hit the same problem. I can't see any solution for it at all at the moment, except I found that if you select "Other" and then any of the options such as "Blank Solution" you can at least create a project which you could then add to.
Offline
Not sure what you are after.
I want to be able to create projects in MonoDevelop without this error occuring
Offline
Seems that the new update of monodevelop (2.8.5-1) is the culprit... Downgrade to the previous one (2.8.4.2-1) and report the problem to the package maintainer.
Offline
Seems that the new update of monodevelop (2.8.5-1) is the culprit... Downgrade to the previous one (2.8.4.2-1) and report the problem to the package maintainer.
Problem is that I can't downgrade the package because I usually clear the pacman cache and so it isn't there anymore
Offline
Problem is that I can't downgrade the package because I usually clear the pacman cache and so it isn't there anymore
Not a good idea unless you have tested that all updates are ok
Anyway, try this URL : http://delta.archlinux.fr/pool-backup/
PS: i've reported this problem
Last edited by jaco (2011-12-31 01:36:09)
Offline
Can't reproduce this problem. Have you selected a path for the project and a title? What I can see from this line:
at System.IO.Path.Combine (System.String path1, System.String path2) [0x000c6] in /build/src/mono-2.10.8/mcs/class/corlib/System.IO/Path.cs:126
Try the following:
- Click on "Start new solution"
- Don't type a name in the field, just click on C# and then GTK# 2.0 Project
- now type a project name and click "Forward"
Does it work now?
EDIT:
I can reproduce yout problem if I enter a project name before I select a project type. But the steps described above are working for me.
Last edited by ise (2012-01-01 15:01:08)
Offline
Just tried... Same error...
Offline
Okay, the bug is reported upstream already: http://bugzilla.xamarin.com/show_bug.cgi?id=2515
Strange that it doesn't happen if I create a solution.
Offline
Strange that it doesn't happen if I create a solution.
As mentionned in the Stackoverflow link i sent you, this bug seems appear randomly on some environments but always on others...
Last edited by jaco (2012-01-01 15:14:34)
Offline
ise wrote:Strange that it doesn't happen if I create a solution.
As mentionned in the Stackoverflow link i sent you, this bug seems appear randomly on some environments but always on others...
Yeah, I have read it. I have add a comment to their bugtracker. Hope there will be an answer soon. As long as this happen, try to downgrade to previous monodevelop version.
Offline
Try the following:
- Click on "Start new solution"
- Don't type a name in the field, just click on C# and then GTK# 2.0 Project
- now type a project name and click "Forward"
With a small difference this method works for me.
At step 2, before select the solution type, i don't type a name but i select a location. Without a location the same exception is raised.
Offline
Create a blank work space and then create the solution inside of that workspace. It apparently can't figure out where the default location is and needs to check if path1 is valid or not. When you create a workspace, you provide it a default location to start a solution inside of which is why this works.
Last edited by computerquip (2012-01-08 18:22:23)
Offline