archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
944 stars 269 forks source link

Archi 4.9.0 EA4 terminates while exporting model to HTML #760

Closed startsevsa closed 3 years ago

startsevsa commented 3 years ago

Version of Archi

4.9.0 EA 4

Archi Plug-ins

coArchi jArchi

Operating System

Windows 10

Expected Behaviour

Successful export finishing, closing modal progress window and returning to the main Archi window.

Actual Behaviour

When exporting model to HTML (showing a modal window with a progress bar for some seconds) Archi quits without any message. hs_err_pid14304.log hs_err_pid11876.log

Steps to Reproduce the Behaviour

  1. Export model to HTML
Phillipus commented 3 years ago

Thanks for reporting this.

Yep. A mixture of gradient and fill opacity less than 255 does it, even without exporting to HTML report.

I guess this must be (another) Eclipse bug that I'll have to report...

Phillipus commented 3 years ago

Please vote for this Eclipse bug!

https://bugs.eclipse.org/bugs/show_bug.cgi?id=575778

Phillipus commented 3 years ago

@startsevsa Once again thanks for reporting this bug. Despite extensive testing I missed this one, and it only occurs on Windows.

This is a bug caused by this change - https://bugs.eclipse.org/bugs/show_bug.cgi?id=121220

I've reported the issue here - https://bugs.eclipse.org/bugs/show_bug.cgi?id=575778

I've also managed to apply a workaround - https://github.com/archimatetool/archi/commit/efdd12cd8b96a7f44cb0bc9a0d7bffa9ca7db461 - this will be in in Archi 4.9 EA 5. In the meantime, don't use a gradient with fill opacity less than 255.

Phillipus commented 3 years ago

I've released a new version, EA5, that works around this bug:

https://www.archimatetool.com/beta/

I'll close this one. Thanks for reporting it!