[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.jsr220-orm] Can't create connection
|
- From: sebi@xxxxxxxxx (Sebastian Beigel)
- Date: Sat, 17 Sep 2005 14:46:51 +0000 (UTC)
- Newsgroups: eclipse.technology.jsr220-orm
- Organization: not organized
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
I get a NPE using the JSR220-ORM M2 - even after a clean install of all
required packages from the download site:
I try to add persistence to a project: Select "Hibernate EJB3" and MySQL
4.0 (also tried it w/ MySQL 4.1 and Oracle 10) and click on "Connection",
enter all information ("Test Connection" is successful), click "next",
leave the filter disabled (also tried w/ filter: schemas are recognized
and shown, so the connection (still) works at this point!) and hit
"Finish" - nothing happens, the window doesn't close and in the log is the
following error:
!ENTRY org.eclipse.ui 4 4 2005-09-17 16:23:52.320
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2005-09-17 16:23:52.320
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.wst.rdb.server.internal.ui.explorer.content.ServerExplorerRefreshListener.notifyChanged(ServerExplorerRefreshListener.java:30)
at
org.eclipse.wst.rdb.internal.core.rte.RefreshManager.referesh(RefreshManager.java:73)
at
org.eclipse.wst.rdb.internal.core.rte.jdbc.JDBCDatabase.refresh(JDBCDatabase.java:49)
at
org.eclipse.wst.rdb.server.internal.ui.wizards.NewConnectionWizard.performFinish(NewConnectionWizard.java:258)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
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:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.wst.rdb.server.internal.ui.explorer.actions.popup.AddConnectionAction.run(AddConnectionAction.java:65)
at
org.eclipse.jsr220orm.ui.internal.properties.SelectProductComposite$3.mouseDown(SelectProductComposite.java:259)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.jsr220orm.ui.internal.popup.actions.AddPersistenceAction.run(AddPersistenceAction.java:37)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
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:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Any ideas on this one?
Regards,
Sebastian