Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » problem saving a diagram after assigning a stereotype (very often after assignment of a stereotype to a component I am not able to save the component diagram)
problem saving a diagram after assigning a stereotype [message #1783280] Sat, 10 March 2018 16:45 Go to next message
Rolf Schumacher is currently offline Rolf SchumacherFriend
Messages: 46
Registered: January 2014
Member
Very often after assignment of a stereotype to a component I am not able to save the component diagram.

It happens in a first example project that I am preparing.
I can repeat the problem with any new Papyrus project:

I created a very simple profile.
Restart Eclipse - just to be sure the profile is known.
I create a new Papyrus project, add a component diagram put a component on there. Still able to save the diagram.
Now when I try to assign a stereotype to that component, but miss it, because I click only one time instead of double-click, and try to save, I get the message: "Save Failed
Path must include project and resource name: /<the projects name>/"

I googled, saw that this happened before, but did not find any numbered issue, solution, or workaround.

My workaround was, to save the diagram as a picture, restart Eclipse and repeat the changes. Attached you may find the profile and a simple application together with a screenshot of the failure message.

I am using Oxygen 2, updated today, on Debian Jessie (LMDE 2) and Java-9.

Any other idea to cope with this problem?

[Updated on: Sun, 11 March 2018 21:08]

Report message to a moderator

Re: problem saving a diagram after assigning a stereotype [message #1783747 is a reply to message #1783280] Fri, 16 March 2018 14:50 Go to previous messageGo to next message
Yupanqui Munoz is currently offline Yupanqui MunozFriend
Messages: 4
Registered: December 2014
Location: Paris Saclay, France
Junior Member
Hi,

Your project and profile works with me.
I am using Oxygen 2, on Windows 10 and java 8.

Yupanqui

Yupanqui
Re: problem saving a diagram after assigning a stereotype [message #1790232 is a reply to message #1783747] Thu, 07 June 2018 10:08 Go to previous message
Ansgar Radermacher is currently offline Ansgar RadermacherFriend
Messages: 159
Registered: March 2011
Location: Paris Saclay, France
Senior Member
Did the error happen again? If yes, did you see an exception in the error log? (if yes, could you please post the exception here?)
Might be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=535644Bug535644. Another possible cause are static profiles whose derived attributes are not implemented and cause exceptions (haven't checked this for your profile)
Previous Topic:SysML general view (packages?)
Next Topic:Need Help: what is the best approach to remove some UML elements from palette/menus?
Goto Forum:
  


Current Time: Sat Sep 22 16:34:49 GMT 2018

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

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

Back to the top