SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

System.NotSupportedException: The given path's format is not supported.

Last post 11-17-2005 7:59 PM by brunft. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-17-2005 7:59 PM

    • brunft
    • Not Ranked
    • Joined on 11-17-2005
    • Posts 1

    System.NotSupportedException: The given path's format is not supported.

    When i clicked on a warning in the Task List, i got the exception below.
    The warning was Field '***.OLReturnValue.returnValue' is never assigned to, and will always have its default value null (CS0649).
    The combine as well as the class, where it happened, is very simple, since i just started the project and somewhat played around so don't wonder if the source code doesn't make sense or is incorrect.

    I created the class in this session but not the combine.
    After i restarted SharpDevelop, no exception was thrown when clicking on the warning. Tried to reproduce the bug - deleted the class and created it again but no exception. Also made tries with renaming the class but could not reproduce it. After restarting i realised the path column in the task list, but do not remember was it contained before restarting *grmpf* (i know i should have made a screenshot ...).
    Please tell me, if u need further information.

    Class looked like this: (i replaced namespace with ***)

    using System;

    namespace ***
        /// <summary>
        /// Description of Class1.
        /// </summary>
        public class OLReturnValue
            private String returnValue;
            public OLReturnValue()
            public String getReturnValue() {
                return returnValue;

    Exception text and stack trace:

    .NET Version         : 1.1.4322.573
    OS Version           : Microsoft Windows NT 5.1.2600.0
    Boot Mode            : Normal
    Working Set Memory   : 54632kb

    SharpDevelop Version : 1.1.2081.0
    Exception thrown:
    System.NotSupportedException: The given path's format is not supported.
       at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
       at System.Security.Util.StringExpressionSet.AddExpressions(String[] str, Boolean checkForDuplicates, Boolean needFullPath)
       at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
       at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
       at System.IO.Path.GetFullPath(String path)
       at ICSharpCode.SharpDevelop.Services.DefaultFileService.GetOpenFile(String fileName)
       at ICSharpCode.SharpDevelop.Services.DefaultFileService.JumpToFilePosition(String fileName, Int32 line, Int32 column)
       at ICSharpCode.SharpDevelop.Services.Task.JumpToPosition()
       at ICSharpCode.SharpDevelop.Gui.Pads.OpenTaskView.ListViewItemActivate(Object sender, EventArgs e)
       at System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
       at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
       at System.Windows.Forms.ListView.WndProc(Message& m)
       at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this ( email address.