Entity Builder SQL Generation fails

From: Ralf Schuchardt (ral..xberlin.de)
Date: Thu Aug 24 2006 - 15:47:52 EDT

  • Next message: Guilherme melo: "classpath problems"

    Hi,

    I have a problem generating sql code in entity builder. When I click
    on "View SQL" in the "SQL Generation" window I get the error message:

            java.lang.NoClassDefFoundError: com/webobjects/foundation/NSDictionary

    and this stack trace in a terminal window:

    java.lang.NoClassDefFoundError: com/webobjects/foundation/NSDictionary
             at java.lang.Class.getDeclaredConstructors0(Native Method)
             at java.lang.Class.privateGetDeclaredConstructors(Class.java:
    2328)
             at java.lang.Class.getConstructor0(Class.java:2640)
             at java.lang.Class.getConstructor(Class.java:1629)
             at
    org.objectstyle.wolips.eomodeler.sql.SQLUtils.createEOFSQLGenerator
    (SQLUtils.java:29)
             at
    org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql
    (GenerateSQLDialog.java:169)
             at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog
    $GenerateSqlHandler.widgetSelected(GenerateSQLDialog.java:243)
             at org.eclipse.swt.widgets.TypedListener.handleEvent
    (TypedListener.java:90)
             at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java:66)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
             at org.eclipse.swt.widgets.Widget.notifyListeners
    (Widget.java:1279)
             at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java:3312)
             at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java:2941)
             at org.eclipse.jface.window.Window.runEventLoop(Window.java:
    820)
             at org.eclipse.jface.window.Window.open(Window.java:796)
             at
    org.objectstyle.wolips.eomodeler.actions.GenerateSQLAction.run
    (GenerateSQLAction.java:110)
             at org.eclipse.ui.internal.PluginAction.runWithEvent
    (PluginAction.java:254)
             at org.eclipse.ui.internal.WWinPluginAction.runWithEvent
    (WWinPluginAction.java:229)
             at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
    (ActionContributionItem.java:539)
             at org.eclipse.jface.action.ActionContributionItem.access$2
    (ActionContributionItem.java:488)
             at org.eclipse.jface.action.ActionContributionItem
    $6.handleEvent(ActionContributionItem.java:441)
             at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java:66)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
             at org.eclipse.swt.widgets.Widget.notifyListeners
    (Widget.java:1279)
             at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java:3312)
             at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java:2941)
             at org.eclipse.ui.internal.Workbench.runEventLoop
    (Workbench.java:1914)
             at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
             at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
    (Workbench.java:419)
             at org.eclipse.ui.PlatformUI.createAndRunWorkbench
    (PlatformUI.java:149)
             at org.eclipse.ui.internal.ide.IDEApplication.run
    (IDEApplication.java:95)
             at org.eclipse.core.internal.runtime.PlatformActivator$1.run
    (PlatformActivator.java:78)
             at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
    ion(EclipseAppLauncher.java:92)
             at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
    (EclipseAppLauncher.java:68)
             at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    (EclipseStarter.java:400)
             at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    (EclipseStarter.java:177)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.eclipse.core.launcher.Main.invokeFramework(Main.java:
    336)
             at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
             at org.eclipse.core.launcher.Main.run(Main.java:977)
             at org.eclipse.core.launcher.Main.main(Main.java:952)
    java.lang.NoClassDefFoundError: com/webobjects/foundation/NSDictionary
             at java.lang.Class.getDeclaredConstructors0(Native Method)
             at java.lang.Class.privateGetDeclaredConstructors(Class.java:
    2328)
             at java.lang.Class.getConstructor0(Class.java:2640)
             at java.lang.Class.getConstructor(Class.java:1629)
             at
    org.objectstyle.wolips.eomodeler.sql.SQLUtils.createEOFSQLGenerator
    (SQLUtils.java:29)
             at
    org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql
    (GenerateSQLDialog.java:169)
             at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog
    $GenerateSqlHandler.widgetSelected(GenerateSQLDialog.java:243)
             at org.eclipse.swt.widgets.TypedListener.handleEvent
    (TypedListener.java:90)
             at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java:66)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
             at org.eclipse.swt.widgets.Widget.notifyListeners
    (Widget.java:1279)
             at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java:3312)
             at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java:2941)
             at org.eclipse.jface.window.Window.runEventLoop(Window.java:
    820)
             at org.eclipse.jface.window.Window.open(Window.java:796)
             at
    org.objectstyle.wolips.eomodeler.actions.GenerateSQLAction.run
    (GenerateSQLAction.java:110)
             at org.eclipse.ui.internal.PluginAction.runWithEvent
    (PluginAction.java:254)
             at org.eclipse.ui.internal.WWinPluginAction.runWithEvent
    (WWinPluginAction.java:229)
             at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
    (ActionContributionItem.java:539)
             at org.eclipse.jface.action.ActionContributionItem.access$2
    (ActionContributionItem.java:488)
             at org.eclipse.jface.action.ActionContributionItem
    $6.handleEvent(ActionContributionItem.java:441)
             at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java:66)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
             at org.eclipse.swt.widgets.Widget.notifyListeners
    (Widget.java:1279)
             at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java:3312)
             at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java:2941)
             at org.eclipse.ui.internal.Workbench.runEventLoop
    (Workbench.java:1914)
             at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
             at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
    (Workbench.java:419)
             at org.eclipse.ui.PlatformUI.createAndRunWorkbench
    (PlatformUI.java:149)
             at org.eclipse.ui.internal.ide.IDEApplication.run
    (IDEApplication.java:95)
             at org.eclipse.core.internal.runtime.PlatformActivator$1.run
    (PlatformActivator.java:78)
             at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
    ion(EclipseAppLauncher.java:92)
             at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
    (EclipseAppLauncher.java:68)
             at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    (EclipseStarter.java:400)
             at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    (EclipseStarter.java:177)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.eclipse.core.launcher.Main.invokeFramework(Main.java:
    336)
             at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
             at org.eclipse.core.launcher.Main.run(Main.java:977)
             at org.eclipse.core.launcher.Main.main(Main.java:952)

    The project with this model inside builds and runs fine otherwise. I
    believe I have seen Entity Modeler generating SQL code once a few
    days before, but I don't know what has changed in my configuration
    that it is not possible anymore.

    The plugin version is 2.0.0.3055.

    Best regards
    Raff Schuchardt



    This archive was generated by hypermail 2.0.0 : Thu Aug 24 2006 - 15:47:01 EDT