2 Replies Latest reply on Aug 11, 2014 9:19 PM by Ramesh Reddy

    Number format exception

    Greg MacKinnon Newbie

      This exception and stack trace occur when trying to import a teiid VDB as a source model using the "Select a JDBC source configuration (VDB source model)" wizard.

       

      This occurs with teiid designer 8.6 (downloaded, compiled and installed this to workaround a AuthenticationType mismatch issue), teiid 8.7, kepler ee 4.3.2, on windows.

       

      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:726)

        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:908)

        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)

        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)

        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.Widget.sendEvent(Widget.java:1057)

        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)

        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)

        at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)

        at org.eclipse.jface.window.Window.open(Window.java:802)

        at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$7.run(ModelerUiViewUtils.java:257)

        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)

        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)

        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4688)

        at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:239)

        at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$5.run(ModelerUiViewUtils.java:184)

        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)

        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)

        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4688)

        at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:166)

        at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.launchWizard(AdvisorActionFactory.java:913)

        at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:442)

        at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:426)

        at org.teiid.designer.advisor.ui.views.status.StatusActionHandler$6.run(StatusActionHandler.java:175)

        at org.teiid.designer.advisor.ui.core.AdvisorFixDialog$5.linkActivated(AdvisorFixDialog.java:459)

        at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)

        at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)

        at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)

        at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)

        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)

        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)

        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)

        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)

        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)

        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)

        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)

        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)

        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)

        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

        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:354)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)

        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:601)

        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)

        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)

        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)