Project saved cannot be reloaded: NullPointerException (#113)
I worked on a project saving periodically my data.
At the end I saved and close the project from the File menu.
apparently everything worked fine but when I tried to load my project back I got the following exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at SoftwareIdeasModeler.Core.DiagramItems.UmlObjects.UmlActivationBar.BindToEntities(Project project)
at SoftwareIdeasModeler.Core.Projecting.Project.BindAbstractItem(AbstractDiagramItem item)
at SoftwareIdeasModeler.Core.Projecting.Project.BindAbstractItemsInRepositories(Model model)
at SoftwareIdeasModeler.ProjectHelper.OpenProject(MainForm mainForm, String filename)
Now I'm not able to open my project anymore!
I kindly ask your help since as you can understand it's really frustrating to loose hours of work, for me and for all the people that could get this issue.
I'm available to send you the project simp file,
thanks in advance for your support.
Mauri 11 October 2012 12:56:32
The patch fixed the problem, the project is now correctly loaded and I didn't loose any diagram element.
Thank you very much indeed.
Dusan Rodina - softwareideas.net 11 October 2012 12:33:31
Please, accept my sincere apology for this unpleasant bug. Of course my goal is to do maximum to prevent similar situation, but is not always possible to completely eliminate it. However, when it happens, I try to provide the best support as possible.
Here, is the hot fix for you, which should solve your problem:
Please, let me know, whether it works for your specific case.