Author Topic: hard crash on editing new association in v13.5  (Read 4047 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13288
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
hard crash on editing new association in v13.5
« on: May 25, 2017, 12:31:14 am »
When I do the following
- Create a new class
- create a new association from the quicklinked
- doubleclick on the association to open its properties
- fill in the name of the association
- fill in the source name, target name, source multiplicity, target multiplicity
- press OK

EA crashes hard (as in completely gone with useless windows windows box asking me if I want to debug or close it)

After disabling all add-ins the problems seems to be solved.
I'll be activating each add-in one by one to try and figure out what is causing this issue.
Anyway, with the same set of add-ins this didn't used to happen in any previous version.

To be continued...

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13288
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: hard crash on editing new association in v13.5
« Reply #1 on: May 25, 2017, 01:00:01 am »
The problem seems to be related to EA Navigator when selecting a connector.
For some reason it gets into a stackoverflow situation when used in v13.5, which doesn't happen on 13.0. Still investigating....

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13288
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: hard crash on editing new association in v13.5
« Reply #2 on: May 25, 2017, 01:06:27 am »
Solved the issue by caching the owner of the association, and filling it directly in the constructor of my ConnectorWrapper.
This seems to avoid the endless loop getting the owner of the association.
Still not clear to me what has changed between 13.0 and 13.5 to cause this weir behavior.

Anyway, will release a new version soon that doesn't have this problem in v13.5.

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13288
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: hard crash on editing new association in v13.5
« Reply #3 on: June 01, 2017, 04:30:06 pm »
Version 1.4.10 of the EA Toolpack is adapted to handle the change in the API and doesn't crash EA anymore when used on EA v13.5

Download from here: https://bellekens.com/bellekens-enterprise-architect-toolpack/

Still not sure what exactly changed to make my add-in crash, I just solved the problem.

Geert