Unable to locate a dialect for Microsoft SQL server in the drop down box, so I use MySQlDialect. Could that be causing the NullPointerException?
How do I get a dialect for Micrsoft SQl server?
driver class : com.microsoft.jdbc.sqlserver.SQLServerDriver
dialect : net.sf.hibernate.dialect.MySQLDialect
Used browser to locate driver
driver filename : \lib\mssqlserver.jar
!ENTRY org.eclipse.ui 4 4 Sep 21, 2004 20:13:58.109
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Sep 21, 2004 20:13:58.109
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
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$1(ConnectionView.java:228)
at net.sf.hibernator.views.ConnectionView$3.run(ConnectionView.java:136)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:550)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:502)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:435)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2578)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2256)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
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:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Configuration listed below.
Unable to locate a dialect for Microsoft SQL server in the drop down box, so I use MySQlDialect. Could that be causing the NullPointerException?
How do I get a dialect for Micrsoft SQl server?
driver class : com.microsoft.jdbc.sqlserver.SQLServerDriver
dialect : net.sf.hibernate.dialect.MySQLDialect
Used browser to locate driver
driver filename : \lib\mssqlserver.jar
!ENTRY org.eclipse.ui 4 4 Sep 21, 2004 20:13:58.109
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Sep 21, 2004 20:13:58.109
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
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$1(ConnectionView.java:228)
at net.sf.hibernator.views.ConnectionView$3.run(ConnectionView.java:136)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:550)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:502)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:435)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2578)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2256)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
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:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
Found problem: Hibernator will not work an any of the sub versions below 3.0. It appears to work in 3.0 final and 3.1.
I had the very same problem w/ my eclipse 3 final.