[Issue 6425] New - After changing Profiles in the project config, I can't save my model

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6425
                 Issue #|6425
                 Summary|After changing Profiles in the project config, I can't
                        | save my model
               Component|argouml
                 Version|0.34
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Profiles
             Assigned to|issues@argouml
             Reported by|jufoda






------- Additional comments from [email protected] Thu Apr 19 07:30:54 -0700 2012 -------
I tried to change the profile in my model by first unloading and then reloading
an xmi file for my profile.

I get the following Exception when I try to save my model after unloading the
profile.


org.argouml.persistence.SaveException: org.argouml.persistence.SaveException:
org.argouml.model.InvalidElementException:
javax.jmi.reflect.InvalidObjectException: Object with MOFID
127-0-1-1-238674c9:136caf7aada:-8000:0000000000000820 no longer exists.
at
org.argouml.persistence.OldZargoFilePersister.doSave(OldZargoFilePersister.java:240)
at
org.argouml.persistence.AbstractFilePersister.save(AbstractFilePersister.java:252)
at org.argouml.ui.ProjectBrowser.trySave(ProjectBrowser.java:1387)
at org.argouml.ui.SaveSwingWorker.construct(SaveSwingWorker.java:115)
at org.argouml.ui.SwingWorker.doConstruct(SwingWorker.java:153)
at org.argouml.ui.SwingWorker$2.run(SwingWorker.java:281)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.argouml.persistence.SaveException:
org.argouml.model.InvalidElementException:
javax.jmi.reflect.InvalidObjectException: Object with MOFID
127-0-1-1-238674c9:136caf7aada:-8000:0000000000000820 no longer exists.
at
org.argouml.persistence.ProfileConfigurationFilePersister.saveProjectMember(ProfileConfigurationFilePersister.java:253)
at
org.argouml.persistence.ProfileConfigurationFilePersister.save(ProfileConfigurationFilePersister.java:209)
at
org.argouml.persistence.OldZargoFilePersister.doSave(OldZargoFilePersister.java:187)
... 6 more
Caused by: org.argouml.model.InvalidElementException:
javax.jmi.reflect.InvalidObjectException: Object with MOFID
127-0-1-1-238674c9:136caf7aada:-8000:0000000000000820 no longer exists.
at org.argouml.model.mdr.FacadeMDRImpl.getStereotypes(FacadeMDRImpl.java:3383)
at org.argouml.model.mdr.FacadeMDRImpl.isAProfile(FacadeMDRImpl.java:662)
at org.argouml.profile.UserDefinedProfile.loadModel(UserDefinedProfile.java:343)
at
org.argouml.profile.UserDefinedProfile.getProfilePackages(UserDefinedProfile.java:745)
at
org.argouml.persistence.ProfileConfigurationFilePersister.saveProjectMember(ProfileConfigurationFilePersister.java:238)
... 8 more
Caused by: javax.jmi.reflect.InvalidObjectException: Object with MOFID
127-0-1-1-238674c9:136caf7aada:-8000:0000000000000820 no longer exists.
at
org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:353)
at
org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate(InstanceHandler.java:48)
at org.netbeans.mdr.handlers.InstanceHandler._handleGetR(InstanceHandler.java:103)
at org.omg.uml.modelmanagement.Model$Impl.getStereotype(Unknown Source)
at org.argouml.model.mdr.FacadeMDRImpl.getStereotypes(FacadeMDRImpl.java:3381)
... 12 more

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2949898

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.