facebook

Blank ER Diagrams

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #236241 Reply

    Tom Blough
    Participant

    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

    #236246 Reply

    Greg
    Member

    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.

    #236258 Reply

    Tom Blough
    Participant

    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

    #236451 Reply

    Brian Fernandes
    Moderator

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Blank ER Diagrams

You must be logged in to post in the forum log in