Unhandled exception at opening an edmx-file. #761

Open
shadow1305 opened this Issue May 20, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@shadow1305

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version : 4.6.01055
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Russian (Russia) (ru-RU)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 259320kb
GC Heap Memory : 68381kb

Exception thrown:
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в ICSharpCode.Data.EDMDesigner.Core.IO.SSDLIO.ReadXElement(XElement ssdlXElement)
в ICSharpCode.Data.EDMDesigner.Core.IO.EDMXIO.Read(XElement edmx, Action1 readMoreAction) в ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Load(OpenedFile file, Stream stream) в ICSharpCode.SharpDevelop.Workbench.OpenedFile.SwitchedToView(IViewContent newView) в ICSharpCode.SharpDevelop.Workbench.OpenedFile.ForceInitializeView(IViewContent view) в ICSharpCode.SharpDevelop.Workbench.FileServiceOpenedFile.ForceInitializeView(IViewContent view) в ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent..ctor(OpenedFile primaryFile) в ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerDisplayBinding.CreateContentForFile(OpenedFile file) в ICSharpCode.SharpDevelop.Workbench.FileService.LoadFileWrapper.Invoke(FileName fileName) в ICSharpCode.Core.FileUtility.<>c__DisplayClass63_0.<ObservedLoad>b__0() в ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, FileName fileName, String message, FileErrorPolicy policy) в ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, FileName fileName, String message, FileErrorPolicy policy) в ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, FileName fileName, FileErrorPolicy policy) в ICSharpCode.SharpDevelop.Workbench.FileService.OpenFileWith(FileName fileName, IDisplayBinding displayBinding, Boolean switchToOpenedView) в ICSharpCode.SharpDevelop.Workbench.FileService.ShowOpenWithDialog(IEnumerable1 fileNames, Boolean switchToOpenedView)
в ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowserWith.OpenWith(String fileName)
в ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowserWith.Run()
в ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
в ICSharpCode.SharpDevelop.Workbench.WpfWorkbench.ExecuteCommand(ICommand command, Object caller)
в ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

---- Recent log messages:
12:29:24.678 [1] DEBUG - NavigationService
ActiveViewContent: Database.tt
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
12:29:24.678 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Users\user\StudioProjects\TrackerSystem\TrackerServer\Models\Database.tt]
12:29:27.790 [1] DEBUG - Saving memento of '[AvalonEditViewContent C:\Users\user\StudioProjects\TrackerSystem\TrackerServer\Models\Database.tt]' to key '1e13ec5:C:\USERS\USER\STUDIOPROJECTS\TRACKERSYSTEM\TRACKERSERVER\MODELS\DATABASE.TT'
12:29:27.807 [1] DEBUG - ActiveViewContentChanged to
12:29:27.807 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Users\user\StudioProjects\TrackerSystem\TrackerServer\Controllers\UsersController.cs]
12:29:27.807 [1] DEBUG - OpenedFileClosed: C:\Users\user\StudioProjects\TrackerSystem\TrackerServer\Models\Database.tt
12:29:27.807 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: UsersController.cs]
12:29:27.807 [1] DEBUG - NavigationService
ActiveViewContent: UsersController.cs
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
12:29:27.807 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Users\user\StudioProjects\TrackerSystem\TrackerServer\Controllers\UsersController.cs]
12:29:29.438 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
12:29:44.029 [1] DEBUG - Resolved (Line 59, Col 18) to
12:29:44.145 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Users\user\StudioProjects\TrackerSystem\TrackerServer\Controllers\UsersController.cs]
12:29:44.307 [1] DEBUG - Resolved (Line 59, Col 18) to
12:29:44.655 [25] DEBUG - Resolved (Line 59, Col 18) to
12:29:45.275 [1] DEBUG - Resolved (Line 60, Col 21) to
12:29:45.748 [1] DEBUG - Resolved (Line 54, Col 46) to
12:29:47.214 [1] DEBUG - Resolved (Line 49, Col 14) to
12:29:47.475 [1] DEBUG - Resolved (Line 43, Col 14) to
12:29:47.695 [1] DEBUG - Resolved (Line 42, Col 36) to [ResolveResult null]
12:29:48.598 [1] DEBUG - Resolved (Line 35, Col 36) to [ConstantResolveResult System.String = Имя пользователя уже используется]
12:29:49.222 [1] DEBUG - Resolved (Line 38, Col 14) to
12:29:49.302 [1] DEBUG - Resolved (Line 38, Col 14) to
12:29:49.441 [1] DEBUG - Resolved (Line 38, Col 14) to
12:29:50.630 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
12:29:59.830 [1] ERROR - ThreadException caught
--> Exception:
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в ICSharpCode.Data.EDMDesigner.Core.IO.SSDLIO.ReadXElement(XElement ssdlXElement)
в ICSharpCode.Data.EDMDesigner.Core.IO.EDMXIO.Read(XElement edmx, Action1 readMoreAction) в ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Load(OpenedFile file, Stream stream) в ICSharpCode.SharpDevelop.Workbench.OpenedFile.SwitchedToView(IViewContent newView) в ICSharpCode.SharpDevelop.Workbench.OpenedFile.ForceInitializeView(IViewContent view) в ICSharpCode.SharpDevelop.Workbench.FileServiceOpenedFile.ForceInitializeView(IViewContent view) в ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent..ctor(OpenedFile primaryFile) в ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerDisplayBinding.CreateContentForFile(OpenedFile file) в ICSharpCode.SharpDevelop.Workbench.FileService.LoadFileWrapper.Invoke(FileName fileName) в ICSharpCode.Core.FileUtility.<>c__DisplayClass63_0.<ObservedLoad>b__0() в ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, FileName fileName, String message, FileErrorPolicy policy) в ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, FileName fileName, String message, FileErrorPolicy policy) в ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, FileName fileName, FileErrorPolicy policy) в ICSharpCode.SharpDevelop.Workbench.FileService.OpenFileWith(FileName fileName, IDisplayBinding displayBinding, Boolean switchToOpenedView) в ICSharpCode.SharpDevelop.Workbench.FileService.ShowOpenWithDialog(IEnumerable1 fileNames, Boolean switchToOpenedView)
в ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowserWith.OpenWith(String fileName)
в ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowserWith.Run()
в ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
в ICSharpCode.SharpDevelop.Workbench.WpfWorkbench.ExecuteCommand(ICommand command, Object caller)
в ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

---- Post-error application state information:
Installed 3rd party AddIns: [ComponentAddin 1.0.0, Enabled=False, Action=DependencyError], [PInvoke Add-in 0.0.0.0], [Mono 0.0.0.0], [SharpDevTFS 0.0.0.0], [WSPBuilderAddinV5 0.0.0.0]
ProjectService.CurrentSolution: [Solution C:\Users\user\Documents\SharpDevelop Projects\TrackerSystem\TrackerSystem.sln with 2 projects]
ProjectService.CurrentProject: [CSharpProject: TrackerServer]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment