Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1516) MySQL Add Layer wizard fails

MySQL Add Layer wizard fails
----------------------------

                 Key: UDIG-1516
                 URL: http://jira.codehaus.org/browse/UDIG-1516
             Project: uDIG
          Issue Type: Bug
          Components: application
    Affects Versions: UDIG 1.2.M3
         Environment: Windows XP, MySQL 5.0, UDIG 1.2.M3
            Reporter: Dave Sunerton-Burl


Open a map, select "Layer" > "Add..." and choose the MySQL host, click Next. An error is reported. Here's the log...

!ENTRY net.refractions.udig.catalog.ui 4 0 2009-05-18 16:57:53.859
!MESSAGE Plug-in "net.refractions.udig.catalog.mysql" was unable to instantiate class "net.refractions.udig.catalog.internal.mysql.ui.MySQLUserHostPage".
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "net.refractions.udig.catalog.mysql" was unable to instantiate class "net.refractions.udig.catalog.internal.mysql.ui.MySQLUserHostPage".
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:172)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
	at net.refractions.udig.catalog.ui.ConnectionFactoryManager$Descriptor.getConcreteInstance(ConnectionFactoryManager.java:146)
	at net.refractions.udig.catalog.ui.UDIGConnectionFactoryDescriptor.createConnectionPage(UDIGConnectionFactoryDescriptor.java:41)
	at net.refractions.udig.catalog.ui.UDIGConnectionFactory.createConnectionPage(UDIGConnectionFactory.java:90)
	at net.refractions.udig.catalog.internal.ui.ConnectionPageDecorator.setState(ConnectionPageDecorator.java:60)
	at net.refractions.udig.catalog.ui.workflow.WorkflowWizard.getNextPage(WorkflowWizard.java:96)
	at org.eclipse.jface.wizard.WizardPage.getNextPage(WizardPage.java:172)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
	at net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog.nextPressedSuper(WorkflowWizardDialog.java:131)
	at net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog$8.run(WorkflowWizardDialog.java:334)
	at net.refractions.udig.ui.PlatformGIS$2.run(PlatformGIS.java:270)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
	at net.refractions.udig.ui.PlatformGIS.runBlockingOperation(PlatformGIS.java:128)
	at net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog.run(WorkflowWizardDialog.java:97)
	at net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog.nextPressed(WorkflowWizardDialog.java:65)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog.open(WorkflowWizardDialog.java:209)
	at net.refractions.udig.project.ui.internal.actions.AddLayersAction.runWithEvent(AddLayersAction.java:51)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:124)
	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:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.NullPointerException
	at net.refractions.udig.catalog.service.database.UserHostPage.<init>(UserHostPage.java:91)
	at net.refractions.udig.catalog.internal.mysql.ui.MySQLUserHostPage.<init>(MySQLUserHostPage.java:8)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
	... 59 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Back to the top