Skip to main content



      Home
Home » Eclipse Projects » Sirius » Export representation as image problem
Export representation as image problem [message #1728879] Fri, 08 April 2016 04:35 Go to next message
Eclipse UserFriend
Hi,

whenever I add a container to a container in a Diagram Description the resulting representation gives me an error when I try to export it as an image.

The error message is: "Cannot modify resource set without a write transaction".

If I delete the inner container, the representation and create a new representation the error message is gone.

Does anyone have a solution?

Best regards

Christian
Re: Export representation as image problem [message #1728922 is a reply to message #1728879] Fri, 08 April 2016 09:09 Go to previous messageGo to next message
Eclipse UserFriend
On 04/08/2016 02:42 PM, Christian Heuer wrote:
> Hi,

Hi Christian,

>
> whenever I add a container to a container in a Diagram Description the
> resulting representation gives me an error when I try to export it as an
> image.
>
> The error message is: "Cannot modify resource set without a write
> transaction".
>
> If I delete the inner container, the representation and create a new
> representation the error message is gone.
>
> Does anyone have a solution?

That sounds like a bug to me. Can you raise a bugzilla
(https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius) with,
ideally, a use case to reproduce this issue ?

>
> Best regards
>
> Christian

Regards,

--
Florian - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Export representation as image problem [message #1728969 is a reply to message #1728879] Fri, 08 April 2016 13:30 Go to previous messageGo to next message
Eclipse UserFriend
Florian,

This seems to be the same bug as 485324.

Thanks For your support

Christian
Re: Export representation as image problem [message #1730046 is a reply to message #1728969] Thu, 21 April 2016 03:28 Go to previous messageGo to next message
Eclipse UserFriend
Hello Christian,
I am suffering from same problem. If you get your answer, add reply here.
Re: Export representation as image problem [message #1730633 is a reply to message #1730046] Wed, 27 April 2016 04:52 Go to previous message
Eclipse UserFriend
Hi Christian and Dhananjay,

The only scenario we currently have to reproduce your issue is the one
attached to Bug 485324: the bug is caused by compartiments. Even if the
model is up to date there is some refresh step which causes 'touch'
notification: a setter is called with the current value (loc.setX(x)
with x equals to loc.getX(), this leads to false positive
IllegalStateException "Cannot modifiy resource without write transaction").
Bug 485324 will only deal with this touch notifications.

I have open Bug 492516 to deal with the deeper issue.
Could you describe on which kind of diagram you get the error ? Or
provide screenshots to show the structure ?
Are you diagrams up to date ? Do you use the tabbar action or the menu
on the aird file ?

Le 21/04/2016 09:28, Dhananjay Deshmukh a écrit :
> Hello Christian,
> I am suffering from same problem. If you get your answer, add reply here.

Regards,

--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
--

Bug 492516: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492516
Bug 485324: https://bugs.eclipse.org/bugs/show_bug.cgi?id=485324
Previous Topic:Sequence Diagram
Next Topic:Don't understand how drag'n drop tool works
Goto Forum:
  


Current Time: Mon Apr 14 18:37:21 EDT 2025

Powered by FUDForum. Page generated in 0.24119 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top