uDIG
  1. uDIG
  2. UDIG-1516

MySQL Add Layer wizard fails

    Details

    • Type: Bug Bug
    • Status: Analysis Analysis
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: UDIG 1.2.M3
    • Fix Version/s: UDIG 1.4.1
    • Component/s: application
    • Labels:
      None
    • Environment:
      Windows XP, MySQL 5.0, UDIG 1.2.M3

      Description

      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

      1. M4.log
        8 kB
        Dave Sunerton-Burl

        Activity

        Dave Sunerton-Burl made changes -
        Field Original Value New Value
        Attachment M4.log [ 42074 ]
        made changes -
        Status Open [ 1 ] Analysis [ 10002 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.2.0 [ 16264 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.2.1 [ 16440 ]
        Fix Version/s UDIG 1.2.0 [ 16264 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.2.x [ 15072 ]
        Fix Version/s UDIG 1.2.1 [ 16440 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.2.3 [ 17485 ]
        Fix Version/s UDIG 1.2.2 [ 15072 ]
        Jody Garnett made changes -
        Fix Version/s uDig 1.3.0 [ 17860 ]
        Fix Version/s UDIG 1.2.3 [ 17485 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.2.3 [ 17485 ]
        Fix Version/s uDig 1.3.0 [ 17860 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.3.1 [ 18149 ]
        Fix Version/s UDIG 1.3.0 [ 17485 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.3.2 [ 18235 ]
        Fix Version/s UDIG 1.3.1 [ 18149 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.3.3 [ 18773 ]
        Fix Version/s UDIG 1.3.2 [ 18235 ]
        Jody Garnett made changes -
        Fix Version/s UDIG 1.4.1 [ 19165 ]
        Fix Version/s UDIG 1.4.0 [ 18773 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Dave Sunerton-Burl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: