This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 89636 - UML Diagram -Re-opening error
Summary: UML Diagram -Re-opening error
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker with 2 votes (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-20 05:52 UTC by lordhiru
Modified: 2007-08-27 20:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lordhiru 2006-11-20 05:52:19 UTC
1. Create a new UML platform Independent modal.
2. Draw a new class diagram. 
3.Save restart the computer and open the diagram created earlier.
4. Only a blank document appears. no diagram elements are loaded.
(The diagram appears for less than a second and disappears immediately.)
5. If you copy the files to another computer and try to open the diagram still
it doesn't work.
Comment 1 Peter Lam 2006-11-22 22:14:27 UTC
Yes, this is a known issue. See issue 78587 and issue 86633.

Workaround: When user exits IDE, there's a save project dialog prompting user to
save or discard changes to the project. Be sure to select save from the save
project dialog when exiting ide.
Comment 2 _ theanuradha 2006-11-23 06:26:23 UTC
"Yes, this is a known issue. See issue 78587 and issue 86633.

Workaround: When user exits IDE, there's a save project dialog prompting user to
save or discard changes to the project. Be sure to select save from the save
project dialog when exiting ide." I don't think you get it right read the issues 
again coz dialog prompting and save is working but when user save it before close
it wont work and also copy project to  another computer and try to open the
diagram still it doesn't work.
Comment 3 _ theanuradha 2006-11-23 06:29:13 UTC
I don't think you get it right read the issues 
again coz dialog prompting and save is working but when user save it before close
it wont work and also copy project to  another computer and try to open the
diagram still it doesn't work.
Comment 4 Peter Lam 2006-11-29 20:52:58 UTC
Well, I do understand the problem. Manually selecting Save or save All does not
really save the project to the disk. That's why this is a bug and is tracked by
issue 86633.

I retried it several times by manually saving the project using Save All button
or File->Save All or save the diagram by using Ctrl-S on the modified diagram.
Then, select File->Exit and the Save dialog for saving project still comes up.
Selecting Save from this dialog will definitely save the project to disk.
However, the Save dialog probably won't come up if the computer is shutdown
during the restarting process. This way, the model data will be lost because it
has not been saved to disk.
Comment 5 Yang Su 2007-01-24 20:09:54 UTC
I need more information to understand the issue.

What locale was it? Did you have any special characters in the diagram name
(e.g. colon, see issue 84376. Any exceptions in messages.log? 
Comment 6 Yang Su 2007-04-10 23:48:10 UTC
I feel the issue was related to not saving the model element properly in
previous release. The diagram file was saved with presentation information, but
the elements were not saved in model file. 

It should be fixed by now.
Comment 7 Peter Lam 2007-08-27 20:26:01 UTC
verified in build 070827.
lordhiru, Please re-open if you still see the issue in the latest NetBeans 6.0 daily builds.