SharpDevelop Community

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

unhandled exception when create or open edmx

Last post 03-15-2011 9:15 PM by kirillkost. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-15-2011 9:15 PM

    unhandled exception when create or open edmx

    I want try test sharpdevelop with entity framework, but when i try create edmx or open it, created in VS2008, i have exception

    Do i must install any add-in to work with edm 

     SharpDevelop Version : 4.0.0.7070-dce2df4c
    .NET Version         : 4.0.30319.1
    OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 3
    Current culture      : Russian (Russia) (ru-RU)
    Current UI language  : en
    Working Set Memory   : 67056kb
    GC Heap Memory       : 15568kb

    Exception thrown:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Load(OpenedFile file, Stream stream)
       at ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)
       at ICSharpCode.SharpDevelop.OpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.SharpDevelop.FileServiceOpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent..ctor(OpenedFile primaryFile)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerDisplayBinding.CreateContentForFile(OpenedFile file)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, Byte[ content)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String content)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, String binaryFileName)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.<>c__DisplayClass8.<OpenEvent>b__1()
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, String message, FileErrorPolicy policy)
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, FileErrorPolicy policy)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ---- Recent log messages:
    22:30:27.407 [1] INFO - Loading addin Microsoft Help System v1.0
    22:30:27.501 [1] INFO - Loading addin XML Editor
    22:30:27.735 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.BrowserDisplayBinding.BrowserPane
    22:30:27.735 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Browser]
    22:30:27.735 [1] DEBUG - NavigationService
     ActiveViewContent: Browser
               Subview: TabPageText
    22:30:27.735 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.SharpDevelop.BrowserDisplayBinding.BrowserPane
    22:30:27.735 [1] DEBUG - OpenedFileClosed: http://www.sharpdevelop.net/OpenSource/SD/Download/
    22:31:12.437 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.BrowserDisplayBinding.GoBack', activation=Toolbar
    22:32:08.046 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.BrowserDisplayBinding.GoBack', activation=Toolbar
    22:35:15.136 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.CreateNewFile', activation=MainMenu
    22:35:19.589 [1] INFO - Loading addin Data Addin
    22:35:20.354 [1] ERROR - ThreadException caught
    --> Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Load(OpenedFile file, Stream stream)
       at ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)
       at ICSharpCode.SharpDevelop.OpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.SharpDevelop.FileServiceOpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent..ctor(OpenedFile primaryFile)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerDisplayBinding.CreateContentForFile(OpenedFile file)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, Byte[ content)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String content)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, String binaryFileName)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.<>c__DisplayClass8.<OpenEvent>b__1()
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, String message, FileErrorPolicy policy)
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, FileErrorPolicy policy)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    22:36:23.119 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.BrowserDisplayBinding.GoBack', activation=Toolbar
    22:57:30.079 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.BrowserDisplayBinding.GoBack', activation=Toolbar
    22:57:31.782 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.BrowserDisplayBinding.GoBack', activation=Toolbar
    22:57:38.766 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.CreateNewFile', activation=MainMenu
    22:57:40.782 [1] ERROR - ThreadException caught
    --> Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Load(OpenedFile file, Stream stream)
       at ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)
       at ICSharpCode.SharpDevelop.OpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.SharpDevelop.FileServiceOpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent..ctor(OpenedFile primaryFile)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerDisplayBinding.CreateContentForFile(OpenedFile file)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, Byte[ content)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String content)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, String binaryFileName)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.<>c__DisplayClass8.<OpenEvent>b__1()
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, String message, FileErrorPolicy policy)
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, FileErrorPolicy policy)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    23:00:32.404 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.AboutSharpDevelop', activation=MainMenu
    23:07:37.817 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.ClassBrowser.ClassBrowserPad...
    23:07:43.098 [1] DEBUG - ActiveContentChanged to
    23:07:43.098 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.BrowserDisplayBinding.BrowserPane
    23:07:43.098 [1] DEBUG - ActiveViewContentChanged to
    23:07:43.098 [1] DEBUG - ActiveContentChanged to
    23:07:49.192 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.CreateNewFile', activation=MainMenu
    23:07:51.239 [1] ERROR - ThreadException caught
    --> Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Load(OpenedFile file, Stream stream)
       at ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)
       at ICSharpCode.SharpDevelop.OpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.SharpDevelop.FileServiceOpenedFile.ForceInitializeView(IViewContent view)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent..ctor(OpenedFile primaryFile)
       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerDisplayBinding.CreateContentForFile(OpenedFile file)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, Byte[ content)
       at ICSharpCode.SharpDevelop.FileService.NewFile(String defaultName, String content)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.SaveFile(FileDescriptionTemplate newfile, String content, String binaryFileName)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.<>c__DisplayClass8.<OpenEvent>b__1()
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, String message, FileErrorPolicy policy)
       at ICSharpCode.Core.FileUtility.ObservedSave(FileOperationDelegate saveFile, String fileName, FileErrorPolicy policy)
       at ICSharpCode.SharpDevelop.Gui.NewFileDialog.OpenEvent(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ---- Post-error application state information:
    Installed 3rd party AddIns:
    Workbench.ActiveContent: <null>
    ProjectService.OpenSolution: <null>
    ProjectService.CurrentProject: <null>

    Filed under:
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.