Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » no JPA implentation information in "modify JPA facet" dialog
no JPA implentation information in "modify JPA facet" dialog [message #435268] Thu, 05 February 2009 07:27 Go to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
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.EclipseLinkDD LGeneratorUi$GenerateDDLRunnable.run(EclipseLinkDDLGenerator Ui.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.EclipseLinkDD LGeneratorUi.generate(EclipseLinkDDLGeneratorUi.java:84)
at
org.eclipse.jpt.eclipselink.ui.internal.ddlgen.EclipseLinkDD LGeneratorUi.generate(EclipseLinkDDLGeneratorUi.java:49)
at
org.eclipse.jpt.eclipselink.ui.internal.platform.EclipseLink JpaPlatformUi.generateDDL(EclipseLinkJpaPlatformUi.java:91)
at
org.eclipse.jpt.ui.internal.actions.GenerateDDLAction.execut e(GenerateDDLAction.java:25)
at
org.eclipse.jpt.ui.internal.actions.ProjectAction.execute(Pr ojectAction.java:87)
at
org.eclipse.jpt.ui.internal.actions.ProjectAction.execute(Pr ojectAction.java:63)
at
org.eclipse.jpt.ui.internal.actions.ProjectAction.run(Projec tAction.java:55)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:251)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(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.ja va:3448)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3069)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)
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(Work bench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:366)
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:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.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.EclipseLink DDLGenerator.buildBootstrapJarPath(EclipseLinkDDLGenerator.j ava:215)
at
org.eclipse.jpt.eclipselink.core.internal.ddlgen.EclipseLink DDLGenerator.initializeLaunchConfiguration(EclipseLinkDDLGen erator.java:159)
at
org.eclipse.jpt.eclipselink.core.internal.ddlgen.EclipseLink DDLGenerator.generate(EclipseLinkDDLGenerator.java:137)
at
org.eclipse.jpt.eclipselink.core.internal.ddlgen.EclipseLink DDLGenerator.generate(EclipseLinkDDLGenerator.java:87)
at
org.eclipse.jpt.eclipselink.ui.internal.ddlgen.EclipseLinkDD LGeneratorUi$GenerateDDLRunnable.run(EclipseLinkDDLGenerator Ui.java:137)
... 38 more
Re: no JPA implentation information in "modify JPA facet" dialog [message #435270 is a reply to message #435268] Thu, 05 February 2009 12:52 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Tom, In the full stack trace can you find the wrapped
IndexOutofBoundsException. I can't tell what's going on with just the
RuntimeException that we are throwing.

Thanks,
Karen
Re: no JPA implentation information in "modify JPA facet" dialog [message #613798 is a reply to message #435268] Thu, 05 February 2009 12:52 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Tom, In the full stack trace can you find the wrapped
IndexOutofBoundsException. I can't tell what's going on with just the
RuntimeException that we are throwing.

Thanks,
Karen
Previous Topic:Help setting up Dali in eclipse 3.5 on fedora 10, for use with RAP OSGI platform
Next Topic:Generate Entities not adding @Table or @Column annotations
Goto Forum:
  


Current Time: Wed Apr 24 19:41:40 GMT 2024

Powered by FUDForum. Page generated in 0.03472 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top