Book a Demo

Author Topic: EA crash when calling Update()  (Read 2856 times)

Thomas_Arnbjerg

  • EA User
  • **
  • Posts: 80
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
EA crash when calling Update()
« on: September 23, 2008, 06:16:42 pm »
Hi all.

I'm experiencing crashes when calling Update() on a newly added element to a collection. Has anyone experience the same problem and is there a work around? I'm using build 832. Two samples below:

1) EA.Diagram newDiagram = (EA.Diagram) projectPackage.Diagrams.AddNew("foobar","Requirement diagram");
newDiagram.Notes="foobarfoobar";
newDiagram.Update(); // CRASH
projectPackage.Diagrams.Refresh();
2) EA.Connector newRealization = (EA.Connector)eae.Connectors.AddNew("","Realisation");
newRealization.Notes = "Child";
newRealization.Update(); //CRASH

Thank's

Thomas :o
« Last Edit: September 23, 2008, 06:26:17 pm by Thomas_Arnbjerg »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA crash when calling Update()
« Reply #1 on: September 23, 2008, 09:24:14 pm »
Hi Thomas,

[edit]I should have remembered this post. The problem has been seen before. Downgrade to build 831 until it is resolved. Remember to check the release notes for build 833 (and subsequent as appropriate) to see if the problem has gone away.[/edit]

This is serious. No, I have not seen it, but I have not done any significant automation while 832 has been out.

Please send a bug report to Sparx ASAP - use the Registered Users page to find the correct form - with a sample project attached, as well as your code.

Stuff like this needs to be addressed fast. With a bit of luck Sparx can rectify the problem (or confirm that they have already done so) before releasing the next build. Given that new builds tend to be more than a month apart, time is of the essence if we don't want to wait for 834 (or later).

David
« Last Edit: September 23, 2008, 11:41:46 pm by Midnight »
No, you can't have it!