Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
tblough
Post subject: Blank ER Diagrams  PostPosted: Aug 31, 2005 - 03:30 PM
Registered Member
Registered Member


Joined: Aug 01, 2005
Posts: 2

Win XP SP2
Eclipse Version: 3.1.0 Build id: I20050401-1645 Fresh Install
additional plugins:
info.vancauwenberge.tostring_1.1.0
8 <eclipse>/plugins/org.eclipse.pde.* files
MyEclipse 4.0.0
run JRE Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
launcher JDK Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

When I select "Create ER Diagram" after right clicking on a database in a DB Browser, It asks for a .mer file, and acts like it executes normally, but the .mer editor that comes up is empty (filled with the window background color), and the following errors appear in the .log file:

!ENTRY org.eclipse.ui 4 4 2005-08-31 10:20:47.624
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2005-08-31 10:20:47.624
!MESSAGE Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.swt.graphics.GC.getAdvanced()Z)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.swt.graphics.GC.getAdvanced()Z)
at org.eclipse.swt.SWT.error(SWT.java:2860)
at org.eclipse.swt.SWT.error(SWT.java:2783)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2871)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2530)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
.
.
.
!ENTRY org.eclipse.ui 4 4 2005-08-31 10:20:47.640
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2005-08-31 10:20:47.640
!MESSAGE org.eclipse.swt.graphics.GC.getAdvanced()Z
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.swt.graphics.GC.getAdvanced()Z
at org.eclipse.draw2d.SWTGraphics.init(SWTGraphics.java:707)
.
.
.


This is followed by more messages much the same (27K file length on a cleared log). Any ideas?

Thanks,

Tom Blough
 
 View user's profile Send private message  
Reply with quote Back to top
support-greg
Post subject:   PostPosted: Aug 31, 2005 - 03:46 PM
Moderator
Moderator


Joined: Mar 31, 2004
Posts: 1615

MyEclipse 4.0 requires the final release of Eclipse SDK 3.1. It looks like you are using an earlier integration build and it is causing a SWT problem. Download the Eclipse SDK 3.1 from here
http://eclipse.org/downloads/index.php and then install MyEclipse 4.0 onto that and you should be good to go.

_________________
Greg
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
tblough
Post subject:   PostPosted: Aug 31, 2005 - 05:12 PM
Registered Member
Registered Member


Joined: Aug 01, 2005
Posts: 2

Greg,

Re-installed Eclipse with a fresh download (Version: 3.1.0 Build id: I20050627-1435). Now I get an ER diagram with just the table boxes, but no relationship info. The primary and foreign key fileds are marked as such in each table, but no connector lines between tables and no errors in the .log file.

Are the relationship lines something that has to be turned on in 4.0GA?

Thanks,

Tom
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Sep 02, 2005 - 08:57 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2281

Tom,

No, nothing has changed in the ERD in 4.0GA, was it working for you in 4.0M3 or any previous version?

It is really surprising that you see the table nodes *with* PK and FK information and yet no relationship lines, the common reason for this is the lack of FK information.

1) Check your ERD color preferencces.
2) Are you recreating your mer file from scratch or using an existing one? I assume you are doing the former, but just checking.
3) Are you sure you see FKs marked in the ERD? PKs and FKs are both marked with key icons, the PK icons aren blue while FK icons are yellow.
4) Are all relationships within the same schema? Or do you have cross schema relationships, in which case the relationships might not show up in the diagram.
5) What database and database driver are you using?

Let us know and we'll get this issue sorted out.

Best,
Brian.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
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