I'm having some trouble creating a connection. I have tried with an existing hibernate project, and a brand new clean (empty - with src and classes folders) project.
Each time the same result:
!ENTRY org.eclipse.ui 4 4 Feb 09, 2004 00:07:57.490
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Feb 09, 2004 00:07:57.491
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:389)
at java.util.Properties.setProperty(Properties.java:102)
at net.sf.hibernator.views.ConnectionSet.save(ConnectionSet.java:71)
at net.sf.hibernator.views.ConnectionSet.add(ConnectionSet.java:32)
at net.sf.hibernator.views.ConnectionView.add(ConnectionView.java:237)
at net.sf.hibernator.views.ConnectionView.access(ConnectionView.java:228)
at net.sf.hibernator.views.ConnectionView.run(ConnectionView.java:136)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:509)
at org.eclipse.jface.action.ActionContributionItem.access(ActionContributionItem.java:461)
at org.eclipse.jface.action.ActionContributionItem.handleEvent(ActionContributionItem.java:408)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:967)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1845)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1625)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
at org.eclipse.core.internal.runtime.PlatformActivator.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
The hibernator log gives nothing other than the ignored output warning.
Hi.
I'm having some trouble creating a connection. I have tried with an existing hibernate project, and a brand new clean (empty - with src and classes folders) project.
Each time the same result:
!ENTRY org.eclipse.ui 4 4 Feb 09, 2004 00:07:57.490
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Feb 09, 2004 00:07:57.491
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:389)
at java.util.Properties.setProperty(Properties.java:102)
at net.sf.hibernator.views.ConnectionSet.save(ConnectionSet.java:71)
at net.sf.hibernator.views.ConnectionSet.add(ConnectionSet.java:32)
at net.sf.hibernator.views.ConnectionView.add(ConnectionView.java:237)
at net.sf.hibernator.views.ConnectionView.access(ConnectionView.java:228)
at net.sf.hibernator.views.ConnectionView.run(ConnectionView.java:136)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:509)
at org.eclipse.jface.action.ActionContributionItem.access(ActionContributionItem.java:461)
at org.eclipse.jface.action.ActionContributionItem.handleEvent(ActionContributionItem.java:408)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:967)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1845)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1625)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
at org.eclipse.core.internal.runtime.PlatformActivator.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
The hibernator log gives nothing other than the ignored output warning.
I am using Firebird with the Interbase dialect.
Here's the connection details I've been using:
URL :jdbc:firebirdsql:localhost/3050:/home/mark/data/researcher/database/researcher.fdb
Driver Class: org.firebirdsql.jdbc.FBDriver
Dialect: net.sf.hibernate.dialect.InterbaseDialect
Driver Filename: /some-path/firebirdsql-full.jar
Any ideas?
TIA
Mark
Forgot to say that I am using Eclipse 3M6 with hibernator 0.96 and Blackdown Java 1.4.1