Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Error during save
Error during save [message #674564] Fri, 27 May 2011 11:25 Go to next message
Valerian Merkling is currently offline Valerian MerklingFriend
Messages: 71
Registered: May 2011
Member
Hi !

I'm working with Papryrus 0.7.3,
on a class diagram, with a self made profile, and all my stereotype apply on Class or Dependencies.

And once again, i got this annoying problem, which prevent me to save my work.

Here are the details of the error :
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: The object 'org.eclipse.uml2.uml.internal.impl.DependencyImpl@1827c16 (name: <unset>, visibility: <unset>)' is not contained in a resource.

I don't know what to do with this. Is it a bug ? Or did I made a big mistake ?

Any help or advice is welcome !

Thanks
Re: Error during save [message #674581 is a reply to message #674564] Fri, 27 May 2011 12:25 Go to previous messageGo to next message
Valerian Merkling is currently offline Valerian MerklingFriend
Messages: 71
Registered: May 2011
Member
More Precision : You can get this message while creating a new Dependency, and hit CTRL Z to undo it, then try to save.

There is no problem if you delete it by right clic
Re: Error during save [message #675062 is a reply to message #674581] Mon, 30 May 2011 08:28 Go to previous messageGo to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
A dependency did not have a uml Parent.

I seems that the bug can be done because of an undo of the creation of a dependency.
It is quite strange because this case is tested by a JUNIT test for the undo of the creation.

I will test on a version 7.3
Re: Error during save [message #675331 is a reply to message #675062] Tue, 31 May 2011 07:54 Go to previous message
Valerian Merkling is currently offline Valerian MerklingFriend
Messages: 71
Registered: May 2011
Member
It's not for any dependency, only for stereotyped dependency, and when you create it with a custom palette (if you create the dependency then add the stereotype it doesn't work)

I made a bug report about it, and now i know how to reproduce it, i know how to avoid it, so it's not a problem anymore for me.
Previous Topic:Class diagram observations
Next Topic:Diagram Question
Goto Forum:
  


Current Time: Fri Apr 19 00:05:26 GMT 2024

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

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

Back to the top