Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Uffe on October 30, 2014, 01:54:52 am

Title: EA 11 RTF bork bork bork
Post by: Uffe on October 30, 2014, 01:54:52 am
Hi all,


Having very serious issues with EA 11 and RTF document generation. There is an earlier thread on this, but there's no resolution.
My templates were originally written in EA 10 (some in EA 9). Does anyone have any magic recipe for fixing these and making sure they don't break again?

Cheers,


/Uffe
Title: Re: EA 11 RTF bork bork bork
Post by: qwerty on October 30, 2014, 02:46:11 am
Is it that Mickeysoft security update (BSOD threads here)?

q.
Title: Re: EA 11 RTF bork bork bork
Post by: Uffe on October 30, 2014, 03:05:54 am
No, the existing thread is http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1398768589.
It's EA that crashes, not Windows.

I'm on 1007, btw.

/Uffe
Title: Re: EA 11 RTF bork bork bork
Post by: qwerty on October 30, 2014, 05:21:59 am
I mean this one: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1408392260/26#26

q.
Title: Re: EA 11 RTF bork bork bork
Post by: Eve on October 30, 2014, 08:49:26 am
I haven't seen anything like that.

Have you sent in a bug report with a sample template/model?
Title: Re: EA 11 RTF bork bork bork
Post by: Stefan Bolleininger on October 30, 2014, 07:00:57 pm
Dear Simon, Uffe,

the following problem appears within the RTF generation:
"It just terminates".
The failure is mostly the wrong file location, unaccessible file priviledges or a reference problem towards the template.

It is not impacted by the used template (own template or sparx template) not the file location or the repository.

It is allways conducted by a windows update or a new installation and is appearing since EA11. The direct circumstance is NOT completly clear.
You may look into bug report number: 14058329

My experience with these failures:


11.06 crashes -> 11.07 working
...
windows update
11.07 crashes ->11.12 is working
...
Currently it is still working

The oddness: On the same PC with another windows user it is working correctly while others fail.



Best regards

Stefan
Title: Re: EA 11 RTF bork bork bork
Post by: Uffe on October 30, 2014, 07:46:39 pm
Hello,

No, I haven't sent a bug report yet.
We've just upgraded here and in my pre-upgrade tests, everything worked fine. But after the upgrade rolled out, crashes have been reported by several users and I've noticed the other weird behavior when making changes to the templates.

But just to clarify: there are no known compatibility issues with RTF templates from EA 10 to EA 11, is that correct?

/Uffe
Title: Re: EA 11 RTF bork bork bork
Post by: Stefan Bolleininger on October 30, 2014, 11:11:51 pm
Dear Uffe,

I haven't experienced any template compatibility issues. Maybe you want to try EA 11.12 on one of the failing users.

BR

Stefan
Title: Re: EA 11 RTF bork bork bork
Post by: Sunshine on October 31, 2014, 01:26:34 pm
Have you tried doing an integrity check? Just a thought.
Title: Re: EA 11 RTF bork bork bork
Post by: Max Widen on November 20, 2014, 04:46:39 am
We've noticed similar behavior (EA crashes upon RTF generation or resulting document is incomplete).
The one is reproducible on large packages (hundreds of elements, about 2k pages in document)

The problem was in leaking GDI objects in EA.exe process: it reached the limit of 10.000 (Windows-defined per-process limit) and generation stopped. We solved the problem by increasing MaxGDIObjects limit in Windows registry.
Title: Re: EA 11 RTF bork bork bork
Post by: Geert Bellekens on November 20, 2014, 06:20:17 pm
Quote
We've noticed similar behavior (EA crashes upon RTF generation or resulting document is incomplete).
The one is reproducible on large packages (hundreds of elements, about 2k pages in document)

The problem was in leaking GDI objects in EA.exe process: it reached the limit of 10.000 (Windows-defined per-process limit) and generation stopped. We solved the problem by increasing MaxGDIObjects limit in Windows registry.
Ah, the GDI issue all over again. That was solved for me once I upgraded my windows to 64bit.
As for RTF, I abandoned that a long time ago. I point everyone towards eaDocX (http://www.eadocx.com/)

Geert
Title: Re: EA 11 RTF bork bork bork
Post by: Max Widen on December 07, 2014, 10:52:44 pm
Geert, sorry, but the case is reproducible both on 32 and 64 bit systems. And the only way to fix it was changing that max GDI object limit.

eaDocx is a nice tool, but at a time there is no opportunity to migrate to it.
Title: Re: EA 11 RTF bork bork bork
Post by: Eve on December 08, 2014, 08:57:13 am
Max, what build of EA are you using? If it's current are you able to share a model that allows us to reproduce the issue?
Title: Re: EA 11 RTF bork bork bork
Post by: Max Widen on December 08, 2014, 08:45:38 pm
Simon,
First we reproduced it under 8.0.858, but it is still reproducible under 11.1.1111 and 11.1.1112

I'll try to share the repository later over priority support page, but I have to obfuscate the data. The obfuscating tool from Sparx, I've seen lately in some topic, works fine but does nothing with linked documents.
Title: Re: EA 11 RTF bork bork bork
Post by: marcel_str on December 09, 2014, 02:54:47 am
The RTF generator is not perfect, but certainly way better then a couple of years ago. Since the addition of the cover page and the template fragments, I'm able to generate usable documents for commercial purposes. Worth trying!