Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2464

NPE trying to connect to Teiid server for importing

XMLWordPrintable

    • Hide

      Ditch the in-built driver, add a new driver definition and choose the REAL Teiid driver from the Teiid distribution.

      Show
      Ditch the in-built driver, add a new driver definition and choose the REAL Teiid driver from the Teiid distribution.

      I tried this using latest JBoss Developer Studio 8.0.0.GA, I suspect Teiid Designer version is 9.0. I updated it through JBoss Central. There is an issue with about dialog (may be another issue)

      I have DV 6.1.0 running locally, trying to import metadata using JDBC importer from DV 6.1.0. After plugging in the VDB name, user/password I see this below exception. Can't get any further.

      BTW, what AD-HOC driver when Teiid is selected, it does not let you define any properties either. Looks like this needs to be removed.

      java.lang.NumberFormatException: For input string: "x"
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	at java.lang.Integer.parseInt(Integer.java:492)
      	at java.lang.Integer.parseInt(Integer.java:527)
      	at org.teiid.jdbc.TeiidDriver.getMajorVersion(TeiidDriver.java:153)
      	at org.teiid.jdbc.DatabaseMetaDataImpl.getDatabaseProductVersion(DatabaseMetaDataImpl.java:705)
      	at org.teiid.designer.jdbc.metadata.impl.JdbcDatabaseImpl.loadDatabaseInfo(JdbcDatabaseImpl.java:422)
      	at org.teiid.designer.jdbc.metadata.impl.JdbcDatabaseImpl.getDatabaseInfo(JdbcDatabaseImpl.java:240)
      	at org.teiid.designer.jdbc.metadata.impl.JdbcDatabaseImpl.selectDefaultNodes(JdbcDatabaseImpl.java:565)
      	at org.teiid.designer.jdbc.JdbcPlugin.getJdbcDatabase(JdbcPlugin.java:189)
      	at org.teiid.designer.jdbc.ui.wizards.JdbcImportWizard.sqlConnectionChanged(JdbcImportWizard.java:886)
      	at org.teiid.designer.jdbc.ui.wizards.JdbcImportWizard$3.stateChanged(JdbcImportWizard.java:668)
      	at org.teiid.designer.jdbc.ui.wizards.JdbcSourceSelectionPage.fireStateChanged(JdbcSourceSelectionPage.java:697)
      	at org.teiid.designer.jdbc.ui.wizards.JdbcSourceSelectionPage.connect(JdbcSourceSelectionPage.java:187)
      	at org.teiid.designer.jdbc.ui.wizards.JdbcSourceSelectionPage.getNextPage(JdbcSourceSelectionPage.java:381)
      	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:935)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
      	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
      	at org.eclipse.jface.window.Window.open(Window.java:808)
      	at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:158)
      	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      	at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343)
      	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:159)
      	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:174)
      	at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:99)
      	at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:170)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      

              blafond Barry LaFond
              rhn-engineering-rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: