You are not logged in.

#1 2011-12-30 05:07:25

LizardGamer
Member
Registered: 2011-12-30
Posts: 3

Can't start a new solutin in MonoDevelop

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

#2 2011-12-30 10:13:26

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Can't start a new solutin in MonoDevelop

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

#3 2011-12-30 10:55:53

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: Can't start a new solutin in MonoDevelop

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

#4 2011-12-31 00:40:51

LizardGamer
Member
Registered: 2011-12-30
Posts: 3

Re: Can't start a new solutin in MonoDevelop

bernarcher wrote:

Not sure what you are after.

I want to be able to create projects in MonoDevelop without this error occuring

Offline

#5 2011-12-31 00:49:58

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: Can't start a new solutin in MonoDevelop

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

#6 2011-12-31 01:05:32

LizardGamer
Member
Registered: 2011-12-30
Posts: 3

Re: Can't start a new solutin in MonoDevelop

jaco wrote:

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

#7 2011-12-31 01:13:18

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: Can't start a new solutin in MonoDevelop

LizardGamer wrote:

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 smile

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

#8 2012-01-01 15:00:16

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Can't start a new solutin in MonoDevelop

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

#9 2012-01-01 15:05:54

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: Can't start a new solutin in MonoDevelop

Just tried... Same error...

Offline

#10 2012-01-01 15:11:16

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Can't start a new solutin in MonoDevelop

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

#11 2012-01-01 15:14:11

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: Can't start a new solutin in MonoDevelop

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...

Last edited by jaco (2012-01-01 15:14:34)

Offline

#12 2012-01-01 15:17:34

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Can't start a new solutin in MonoDevelop

jaco wrote:
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

#13 2012-01-05 12:51:00

erk
Member
Registered: 2012-01-05
Posts: 1

Re: Can't start a new solutin in MonoDevelop

ise wrote:

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

#14 2012-01-08 18:21:51

computerquip
Member
Registered: 2009-08-11
Posts: 19

Re: Can't start a new solutin in MonoDevelop

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

Board footer

Powered by FluxBB