[Issue 6394] New - InvalidObjectException with Save Project

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6394
                 Issue #|6394
                 Summary|InvalidObjectException with Save Project 
               Component|argouml
                 Version|0.34.beta1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|GUI
             Assigned to|bobtarling
             Reported by|baonn






------- Additional comments from [email protected] Sat Dec 10 04:19:51 -0800 2011 -------
The flowing steps produce an InvalidObjectException when saving Project 

1. Follow the menu File->Open Project...
2. Enter a non existing file name 
3. Click Open - This triggers  an error message
4. Leave the message open. Back to the main window, create something to enable 
"Save Project" menu
5. Enter some (valid) name and Save project 

I think no other activity should be allowed when the Error window pops up (made 
modal it modal?)

The exception trace:

org.argouml.persistence.SaveException: javax.jmi.reflect.InvalidObjectException: 
Object with MOFID 127-0-1-1-5558fab3:13427e45dec:-8000:0000000000000866 no 
longer exists.
at 
org.argouml.persistence.OldZargoFilePersister.doSave(OldZargoFilePersister.java:
240)
at 
org.argouml.persistence.AbstractFilePersister.save(AbstractFilePersister.java:25
2)
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:679)
Caused by: javax.jmi.reflect.InvalidObjectException: Object with MOFID 127-0-1-
1-5558fab3:13427e45dec:-8000:0000000000000866 no longer exists.
at 
org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:
353)
at 
org.netbeans.mdr.handlers.BaseObjectHandler.refOutermostPackage(BaseObjectHandle
r.java:314)
at org.argouml.model.mdr.XmiWriterMDRImpl.write(XmiWriterMDRImpl.java:146)
at 
org.argouml.persistence.ModelMemberFilePersister.save(ModelMemberFilePersister.j
ava:178)
at 
org.argouml.persistence.OldZargoFilePersister.doSave(OldZargoFilePersister.java:
204)
... 6 more

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

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.