Book a Demo

Author Topic: EA 12 keep crashing  (Read 15699 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA 12 keep crashing
« Reply #15 on: February 20, 2015, 10:54:26 pm »
You better turn off the element tracking in EA Navigator for now.
Go to the EA Navigator settings and deselect "Track Selected Element".

Now the selected element will only be shown in the EA Navigator window when you right click on it and select Extensions|Navigate|Open in Navigator.

This error is due to the change in behavior of the EA API that Simon mentioned. In stead of throwing an error we now sometimes get null back -> hence the NullReferenceException.

I've already fixed the error you are getting now, I just need to test and release it.
I'll probably have a new version ready after the weekend.

Geert

Wojtas

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: EA 12 keep crashing
« Reply #16 on: February 21, 2015, 02:04:49 am »
Hi,

disabling "Track Selected Element" helps. Uffff.

Thanks :D

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA 12 keep crashing
« Reply #17 on: February 22, 2015, 05:39:27 pm »
Hi,

I fixed the specific issue you were having, and I added some generic Exception handling in the EA Navigator.
Quite possibly this will not only catch the EA Navigator exceptions, but also those coming from Enterprise Architect.

The new version is 2.4.9.0


As a reference for Simon and his developers. I found this page very helpful: https://msdn.microsoft.com/en-us/library/system.windows.forms.application.threadexception.aspx

Regards

Geert
« Last Edit: February 23, 2015, 07:37:34 pm by Geert.Bellekens »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA 12 keep crashing
« Reply #18 on: February 23, 2015, 07:39:36 pm »
I just noticed that I left one of the debugging exceptions in the code. I'll remove them and upload a new version tomorrow.

On the bright side, I have the idea EA 12.0.1208 catches some more exceptions.

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA 12 keep crashing
« Reply #19 on: February 24, 2015, 04:19:49 pm »
All fixed now. Version 2.4.9.1 should no longer provoke errors and/or crashes.

Geert