Project File Corrupting (#473)

Dusan,

I am finding in Version 10 when opening a project it is sometime corrupted, and Elements are not displayed on diagrams and appear as blue circles in the project browser. Attempting to look at the properties causes an error (details Below). This situation is non-recoverable and I have to delete the Objects from the project or restart with a new project file (the problem is also in the backup file). I will e-mail you a screen shot plus the *.simp file.

System.NullReferenceException: Object reference not set to an instance of an object.

at SoftwareIdeasModeler.Dialogs.Properties.ItemPropertiesForm.BindData()

at SoftwareIdeasModeler.Sidebars.ProjectTree.ProjectTreeSidebar.propertiesToolStripMenuItem_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ToolStrip.WndProc(Message& m)

at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

OF=SoftwareIdeasModeler.MainForm

NoCmds

OF=DockablePanel.Controls.DockablePanel.FloatingForm

OF=SoftwareIdeasModeler.Forms.FolderOverviewForm

OF=SoftwareIdeasModeler.Forms.EditorForm

Created
28 May 2016 13:46:33
Closed
6 March 2017 23:28:14
Requested by
Richard Brown
State
Solved
Version
10 Ultimate
OperatingSystem
Windows 10
Solved in
Unsolved

Dusan Rodina - softwareideas.net 31 May 2016 13:19:16

Hello Richard,

It seems that the problem can cause the version 9. There was a bug when combination of editing actions could lead to this project inconsistency. The issue was fixed in version 10 - (from release notes: "Fixed deleting elements when deleting repository and elements are used on other diagrams - now the used elements are moved from the deleted repository to the project repository" )

However, I will continue with investigation to be sure there is not another reason for this problem.

Nico Verduin 13 May 2017 15:37:47

I am having a similar problem. Built a project in 10.42. I tried to load it in version 10.68. Gives errors. If I try to export in version 10.42 I get

System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.

bij System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)

bij System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)

bij SoftwareIdeasModeler.Core.CommandProcessing.ApplicationAction.Perform()

bij SoftwareIdeasModeler.Core.CommandProcessing.ApplicationCommandProcessor.Execute(UnitOfWork unitOfWork, CommandDefinition commandDefinition, ActionCallback actionCallback, Object callbackTag, Boolean calledFromAnotherAction, CommandArgument[] arguments)

bij SoftwareIdeasModeler.MainForm.ribbonBar_RibbonMenuItemClick(Object sender, RibbonMenuItemEventArgs e)

bij Ribbon.RibbonControl.RibbonBar.OnRibbonMenuItemClick(RibbonMenuItemEventArgs e)

bij Ribbon.RibbonControl.RibbonPage.OnRibbonMenuItemClick(RibbonMenuItemEventArgs e)

bij Ribbon.RibbonControl.RibbonPageMenu.OnRibbonMenuItemClick(RibbonMenuItemEventArgs e)

bij Ribbon.RibbonControl.RibbonPageMenu.OnMouseDown(MouseEventArgs e)

bij System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)

bij System.Windows.Forms.Control.WndProc(Message& m)

bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

OF=SoftwareIdeasModeler.MainForm

NoCmds

OF=SoftwareIdeasModeler.Forms.FolderOverviewForm

OF=SoftwareIdeasModeler.Forms.EditorForm

Dusan Rodina - softwareideas.net 13 May 2017 16:46:29

Hello,

Firstly, I apologize for this problem.

If it is possible, could you send me your project to softwareideas@softwareideas.net to analyze the exact cause? If it is not possible, could you please let me know which diagram types was used in this project?

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]