Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » DDL Generation working on M3 (NPE)?
DDL Generation working on M3 (NPE)? [message #433961] Thu, 18 May 2006 12:58 Go to next message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Hi,
Maybe it's just me, but I sure seem to have problems with DDL generation...

On the M3 driver, when I select to Generate DDL, I no longer get the
wizard. I just get the following two errors logged:

Unhandled event loop exception (with no additional data)

java.lang.NullPointerException
at
org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.Chara cterStringDataTypeImpl.eSet(CharacterStringDataTypeImpl.java :364)
at
org.eclipse.dali.db.ddl.OrmDdlGenerator.copyDataType(OrmDdlG enerator.java:373)
at
org.eclipse.dali.db.ddl.OrmDdlGenerator.addJoinColumn(OrmDdl Generator.java:334)
at
org.eclipse.dali.db.ddl.OrmDdlGenerator.addRefColumns(OrmDdl Generator.java:309)
at
org.eclipse.dali.db.ddl.OrmDdlGenerator.createDdl(OrmDdlGene rator.java:214)
at
org.eclipse.dali.ui.actions.GenerateDdlAction.execute(Genera teDdlAction.java:28)
at
org.eclipse.dali.ui.actions.ProjectAction.execute(ProjectAct ion.java:90)
at
org.eclipse.dali.ui.actions.ProjectAction.execute(ProjectAct ion.java:71)
at org.eclipse.dali.ui.actions.ProjectAction.run(ProjectAction. java:63)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
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)

Known problem?

Thanks,
Kevin
Re: DDL Generation working on M3 (NPE)? [message #433962 is a reply to message #433961] Thu, 18 May 2006 13:25 Go to previous messageGo to next message
Karen Butzke is currently offline Karen Butzke
Messages: 220
Registered: July 2009
Senior Member
Most likely the same issue as bug #136658.

Karen
Re: DDL Generation working on M3 (NPE)? [message #433963 is a reply to message #433962] Thu, 18 May 2006 14:16 Go to previous message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
You are good! I removed my ManyToMany relationship and the ddl wizard now
appears and I can generate the ddl. And, as a matter of fact, I think I
hit this problem once before and didn't keep my code updates (when I moved
to the new Eclipse for M3). Sorry to bother you, but thank you for the
quick and accurate response!

Kevin
Re: DDL Generation working on M3 (NPE)? [message #585480 is a reply to message #433961] Thu, 18 May 2006 13:25 Go to previous message
Karen Butzke is currently offline Karen Butzke
Messages: 220
Registered: July 2009
Senior Member
Most likely the same issue as bug #136658.

Karen
Re: DDL Generation working on M3 (NPE)? [message #585497 is a reply to message #433962] Thu, 18 May 2006 14:16 Go to previous message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
You are good! I removed my ManyToMany relationship and the ddl wizard now
appears and I can generate the ddl. And, as a matter of fact, I think I
hit this problem once before and didn't keep my code updates (when I moved
to the new Eclipse for M3). Sorry to bother you, but thank you for the
quick and accurate response!

Kevin
Previous Topic:DDL Generation working on M3 (NPE)?
Next Topic:0.5M3a: Default FetchType for *ToMany
Goto Forum:
  


Current Time: Sun Aug 31 06:39:21 EDT 2014

Powered by FUDForum. Page generated in 0.01689 seconds