System.NullReferenceException: Object reference not set to an instance of an object.
at MonoDevelop.Core.FilePath.IsChildPathOf(FilePath basePath)
at MonoDevelop.VersionControl.VersionInfoCache.<>c__DisplayClass6.b__2(KeyValuePair2 e) at System.Linq.Enumerable.WhereEnumerableIterator
1.MoveNext()
at MonoDevelop.VersionControl.VersionInfoCache.ClearCachedVersionInfo(FilePath rootPath)
at MonoDevelop.VersionControl.Repository.ClearCachedVersionInfo(FilePath[] paths)
at MonoDevelop.VersionControl.Repository.MoveDirectory(FilePath localSrcPath, FilePath localDestPath, Boolean force, IProgressMonitor monitor)
at MonoDevelop.VersionControl.VersionControlFileSystemExtension.MoveDirectory(FilePath sourcePath, FilePath destPath)
at MonoDevelop.Core.FileService.InternalMoveDirectory(String srcPath, String dstPath)
at MonoDevelop.Core.FileService.RenameDirectory(String oldName, String newName)
at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFolderCommandHandler.RenameItem(String newName)
at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.HandleOnEdit(Object o, EditedArgs e)
Help please!
**Context: **This instance of XS is connected to a SVN server on a separate repo box
Posts
Heya! Can you please tell me what version of XS you're using?
Also, is it Windows or Mac?
Edit: Nevermind, F2 is Windows-only.
Xamarin Studio
Version 5.5.2 (build 0)
Installation UUID: a3904cf5-6f5d-4c8e-adaf-cc608ffdbbc7
Runtime:
Microsoft .NET 4.0.30319.0
GTK+ 2.24.22 (MS-Windows theme)
GTK# 2.12.26
Xamarin.Android
Version: 4.18.0 (Business Edition)
Android SDK: C:\Users\XXXX\AppData\Local\Android\android-sdk
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0.3 (API level 15)
4.4 (API level 19)
4.4.87 (API level 20)
4.5 (API level 21)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_39
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)
Build Information
Release ID: 505020000
Git revision: a5887be38215a6cdd3f349e102ef82a1c4f950a4
Build date: 2014-10-14 12:21:34-04
Xamarin addins: 069ddd29bb70a42238142eee9bac21a5e4b2f9f9
Operating System
Windows 6.1.7601.65536 (64-bit)
Okay, we got this cleared. Is the checked out repository on a different machine or on the local file system? In short, is the absolute path ofthe repository a network path or a local path? I'm trying to nail down the reason why filesystem operations could not resolve the path itself, since I've been unable to reproduce this specific issue on my machine.
I've fixed the error you had on creating a directory though.
It is the absolute path of the repo on another machine on my local network.
Thanks for looking into this issue and fixing it quickly. I'm a business edition subscriber, how do I get this fix?
The first fix will land in a hotfix release.
The fix with repositories on another machine is something that requires me to setup a similar environment to be able to test locally. I'll track this on my radar here:
https://bugzilla.xamarin.com/show_bug.cgi?id=24107
Thanks Marius! Michael has reached out to me with helpful tips. You guys rock!