Community
Participate
Working Groups
Build Identifier: 20110916-0149 Papyrus 0.8.2.v201111291845 EMF Common 2.7.0.v20111003-1135 On opening the diagram where a custom stereotype has been applied, the attached exception is thrown and the diagram can no longer be used - i.e. causes data loss. (Data recovery is possible by editing the text by hand to clean it up.) Reproducible: Always Steps to Reproduce: Create a Papyrus project. Create a Papyrus Profile diagram, "Component.profile". Create a new Stereotype "core", import "Class" from the metamodel, extend Class with core. Save and publish. Start a new Papyrus project. Create a Papyrus UML diagram. Add a Class model. Add the standard UML profile. Add the new Component profile. Add a new class. Apply the "core" stereotype. Save and close the diagram.
Created attachment 207881 [details] Stack trace
Just to add that applying stereotypes from registered profiles does not trigger this error (probably obvious).
This appears to be triggered only where there is a space in the profile pathname (not just the filename element but any path component).
Fixed in r10311