Book a Demo

Author Topic: (1230) Silent Failure to load MDG  (Read 7712 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
(1230) Silent Failure to load MDG
« on: May 19, 2016, 05:13:46 pm »
When I installed build 1230, my MDG failed to load.  There was NO error message , just no ticked MDG - although it was on the list.

It turned out that the reason was that although we are developing a new MDG, we haven't yet been able to remove the ArchiMate2:: definitions.  We get around this by renaming/removing  the ArchiMate MDG in the MDGTechnologies sub-folder so that they don't interfere with ours.  We normally do that after our smoke tests for the new version.

My bug is not that the MDG didn't load but that there wasn't an error message as to why.
In previous versions, there were some anomalous behaviour if both MDGs were loaded, but at least they loaded.

Now there's some extra checks and as a consequence the second MDG (with the same internal ID) is NOT loaded.  There should be a message to that effect - not just a silent fail.

Over time, we will be replacing the ArchiMate2 content with our own.

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: (1230) Silent Failure to load MDG
« Reply #1 on: May 19, 2016, 05:20:00 pm »
I think there actually is a record in the System Output saying something like "duplicate MDG ID", but if you don't have that pane visible you'll miss it of course.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: (1230) Silent Failure to load MDG
« Reply #2 on: May 19, 2016, 05:39:44 pm »
I think there actually is a record in the System Output saying something like "duplicate MDG ID", but if you don't have that pane visible you'll miss it of course.

Geert
Just checked... Nothing in the System Output.

In any event, if the error is reported there, there IS an API call to make the window visible!  As a matter of course, any such initialisation errors should be made visible!

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: (1230) Silent Failure to load MDG
« Reply #3 on: May 19, 2016, 07:49:44 pm »
I moaned about EA's silence when it comes to any kind (!) of add-in failures since a long time. No expectations...

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: (1230) Silent Failure to load MDG
« Reply #4 on: May 20, 2016, 09:28:50 am »
I moaned about EA's silence when it comes to any kind (!) of add-in failures since a long time. No expectations...

q.
I know you did, but the dripping tap eventually makes a hole in the granite...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: (1230) Silent Failure to load MDG
« Reply #5 on: May 20, 2016, 11:57:58 am »
I know you did, but the dripping tap eventually makes a hole in the granite...

I'm going for Sir Les Patterson for that one (although I feel the axiom is probably more true for sedimentary rocks than igneous rock, unless there is also ice involved).

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: (1230) Silent Failure to load MDG
« Reply #6 on: May 20, 2016, 06:06:00 pm »
I think there actually is a record in the System Output saying something like "duplicate MDG ID", but if you don't have that pane visible you'll miss it of course.

Geert
Not sure about a duplicate MDG Technology warning. On 11.1 at least, what happens if you add the paths to your development and deployment areas at the same time, both versions of the MDG Technology will show up but you will only be able to select one at a time.

There is an error message "WARNING: Duplicate profile name: <profile>, detected in technology ID: <technology>", which you get if you include the same profile in two different MDG Technologies, and EA does open System Output to show you that message.

/Uffe
My theories are always correct, just apply them to the right reality.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: (1230) Silent Failure to load MDG
« Reply #7 on: May 20, 2016, 07:30:06 pm »
I know you did, but the dripping tap eventually makes a hole in the granite...

I'm going for Sir Les Patterson for that one (although I feel the axiom is probably more true for sedimentary rocks than igneous rock, unless there is also ice involved).
Well!

Thank you for the compliment, but it's actually a Paolo original.  ;D

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: (1230) Silent Failure to load MDG
« Reply #8 on: May 20, 2016, 07:31:32 pm »
[SNIP]
Not sure about a duplicate MDG Technology warning. On 11.1 at least, what happens if you add the paths to your development and deployment areas at the same time, both versions of the MDG Technology will show up but you will only be able to select one at a time.

There is an error message "WARNING: Duplicate profile name: <profile>, detected in technology ID: <technology>", which you get if you include the same profile in two different MDG Technologies, and EA does open System Output to show you that message.

/Uffe
Not in build 1230.  It's been accepted as a bug (and reported by another user) so maybe it's a regression failure.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!