MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
scpbird
Post subject: [Closed] E/R Diagrams do not display after eclipse restart  PostPosted: Sep 20, 2006 - 03:16 PM
Registered Member
Registered Member


Joined: May 01, 2006
Posts: 15

I have created E/R diagrams using the DB explorer. I save the diagrams to a *.mer file. When I exit Eclipse and re-start, when I click on the *.mer file in the package explorer, I get a blank panel. If I right click choose to open the file with the text editor, I can see the XML file that names the tables that I had included in the the E/R diagram, but there is no diagram any more.

I've tried re-attaching to the DB in the DB explorer before opening the file, and this has no effect.

I created the ER diagrams using the "new ER Diagram" option from the DB Explorer perspective.
I've experience the same problem with ER diagrams created while attahed to Oracle XE and Postgresql.

My Information:
Code:

*** Date: Wed Sep 20 10:08:54 EDT 2006

*** System properties:
OS=Linux
OS version=2.6.15-26-386
Java version=1.5.0_05

*** MyEclipse details:
MyEclipse Enterprise Workbench

Version: 5.0 GA
Build id: 20060805-5.0-GA

*** Eclipse details:
Eclipse SDK

Version: 3.2.0
Build id: M20060629-1905

Eclipse Platform

Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905

Eclipse RCP

Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905

Eclipse Java Development Tools

Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905

Eclipse Plug-in Development Environment

Version: 3.2.0.v20060609m------6zXJJzJzJq
Build id: M20060629-1905

Eclipse Project SDK

Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905

Eclipse Graphical Editing Framework

Version: 3.2.0.v20060626
Build id: 20060627-0816

Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-launcher
/sharetwo/java_apps/eclipse32/eclipse/./eclipse
-name
Eclipse
-showsplash
600
-exitdata
d98016
-vm
/usr/bin/java



Thanks,

Steve
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Sep 20, 2006 - 08:13 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2513

Steve,

This this is an odd issue - I'm going to ask you to help track this down.

1) Create a sample ERD. Close it. Open it without restarting eclipse - does it show up?

2) Make some changes in a brand new ERD, save it - are there any errors logged?

If both the above work as expected, then
3) Make a copy of the file before shutting down eclipse, when you start it up again - compare this with the orignal mer file - are they the same? (I'm quite sure they will be, but just checking).

4) Do you have any special characters in table or column names?

When you atttempt to reopen the ER diagram, please have a look at your error log and paste the contents here. Instructions on getting a good log are available here: Posting Guidelines

Best,
Brian.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
scpbird
Post subject:   PostPosted: Sep 22, 2006 - 07:05 PM
Registered Member
Registered Member


Joined: May 01, 2006
Posts: 15

Brian,
When I restarted Eclipse after having left the ER diagram open, I noticed this error in my terminal window that I used to start Eclipse:
Code:

org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: /capitalVision/problem_test_01.mer.


So I just hit f5 (refresh) on the project and now all the *.mer files open with no problem.


Thanks ,

Steve
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits