[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dali] no JPA implentation information in "modify JPA facet" dialog

Hi,

If I go to project facet and remove Java persistence, and then re-add it, I can then access a "further configuration" dialog.

There are Platform options, "generic" and "eclipselink", and I can see my database connection

however if I select "Implementation provided by server runtime", I am warned that there is "no server runtime associated with this project to provide a JPA implementation" and for Implementation library there is nothing in the drop down. If I add a library and the jar from eclipselink jlib folder, I get that as an option.

However if I then go to try to generate tables from entities, I get the error below, and ideas?

Thanks,

Tom

---

"Unhandled event loop exception"

"eclipse.buildId=I20081211-1908
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments:  -os linux -ws gtk -arch x86_64
"

java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at org.eclipse.jpt.eclipselink.ui.internal.ddlgen.EclipseLinkDDLGeneratorUi$GenerateDDLRunnable.run(EclipseLinkDDLGeneratorUi.java:148)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at org.eclipse.jpt.eclipselink.ui.internal.ddlgen.EclipseLinkDDLGeneratorUi.generate(EclipseLinkDDLGeneratorUi.java:84)
at org.eclipse.jpt.eclipselink.ui.internal.ddlgen.EclipseLinkDDLGeneratorUi.generate(EclipseLinkDDLGeneratorUi.java:49)
at org.eclipse.jpt.eclipselink.ui.internal.platform.EclipseLinkJpaPlatformUi.generateDDL(EclipseLinkJpaPlatformUi.java:91)
at org.eclipse.jpt.ui.internal.actions.GenerateDDLAction.execute(GenerateDDLAction.java:25)
at org.eclipse.jpt.ui.internal.actions.ProjectAction.execute(ProjectAction.java:87)
at org.eclipse.jpt.ui.internal.actions.ProjectAction.execute(ProjectAction.java:63)
at org.eclipse.jpt.ui.internal.actions.ProjectAction.run(ProjectAction.java:55)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:412)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1156)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3448)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3069)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:333)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:366)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:550)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:505)
at org.eclipse.equinox.launcher.Main.run(Main.java:1237)
at org.eclipse.equinox.launcher.Main.main(Main.java:1213)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at org.eclipse.jpt.eclipselink.core.internal.ddlgen.EclipseLinkDDLGenerator.buildBootstrapJarPath(EclipseLinkDDLGenerator.java:215)
at org.eclipse.jpt.eclipselink.core.internal.ddlgen.EclipseLinkDDLGenerator.initializeLaunchConfiguration(EclipseLinkDDLGenerator.java:159)
at org.eclipse.jpt.eclipselink.core.internal.ddlgen.EclipseLinkDDLGenerator.generate(EclipseLinkDDLGenerator.java:137)
at org.eclipse.jpt.eclipselink.core.internal.ddlgen.EclipseLinkDDLGenerator.generate(EclipseLinkDDLGenerator.java:87)
at org.eclipse.jpt.eclipselink.ui.internal.ddlgen.EclipseLinkDDLGeneratorUi$GenerateDDLRunnable.run(EclipseLinkDDLGeneratorUi.java:137)
... 38 more