[JBoss JIRA] (TEIIDDES-2464) NPE trying to connect to Teiid server for importing
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2464?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-2464 at 4/7/15 11:10 AM:
-----------------------------------------------------------------
First commit to 9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/ca88edd5f1a455ccd...
second commit to 9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/2b8b8703e4a249e45...
8.6.x: https://github.com/Teiid-Designer/teiid-designer/commit/0aa486baee277c0e7... and https://github.com/Teiid-Designer/teiid-designer/commit/577ed326cc6f3f646...
master: https://github.com/Teiid-Designer/teiid-designer/commit/5577fd8fc24847a8a... and https://github.com/Teiid-Designer/teiid-designer/commit/50a96ef1a2bccacc2...
was (Author: blafond):
First commit to 9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/ca88edd5f1a455ccd...
second commit to 9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/2b8b8703e4a249e45...
> NPE trying to connect to Teiid server for importing
> ---------------------------------------------------
>
> Key: TEIIDDES-2464
> URL: https://issues.jboss.org/browse/TEIIDDES-2464
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.0
> Environment: Fedora 20
> Reporter: Ramesh Reddy
> Assignee: Barry LaFond
> Priority: Critical
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
> Attachments: teiid-profile-wizard.png
>
>
> 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.
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2477) Nullpointer in WSConnectionInfoProvider.java when user is null
by Daan Creemers (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2477?page=com.atlassian.jira.plu... ]
Daan Creemers updated TEIIDDES-2477:
------------------------------------
Description:
In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
@line 101:
if (null != user &! user.equals("")) { //$NON-NLS-1$
connectionProps.setProperty(ICredentialsCommon.USERNAME_PROP_ID, user);
}
It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
Line 101 contains ampersand exclamation mark without a space in between such that short-circuit is not working. ( if (null != user &! user.equals("")) { )
This should be ( if (null != user && !user.equals("")) { )
After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
java.lang.NullPointerException
at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
was:
In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
@line 101:
if (null != user &! user.equals("")) { //$NON-NLS-1$
connectionProps.setProperty(ICredentialsCommon.USERNAME_PROP_ID, user);
}
It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
Line 101 contains if (null != user &! user.equals("")) {
but should be if (null != user && !user.equals("")) {
After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
java.lang.NullPointerException
at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> Nullpointer in WSConnectionInfoProvider.java when user is null
> --------------------------------------------------------------
>
> Key: TEIIDDES-2477
> URL: https://issues.jboss.org/browse/TEIIDDES-2477
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 8.6, 9.0
> Environment: Windows 7, JBoss Developer Studio 8.1.0, Teiid Designer 9.0.1.Final
> Reporter: Daan Creemers
>
> In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
> @line 101:
> if (null != user &! user.equals("")) { //$NON-NLS-1$
> connectionProps.setProperty(ICredentialsCommon.USERNAME_PROP_ID, user);
> }
> It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
> Line 101 contains ampersand exclamation mark without a space in between such that short-circuit is not working. ( if (null != user &! user.equals("")) { )
> This should be ( if (null != user && !user.equals("")) { )
> After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
> java.lang.NullPointerException
> at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
> at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
> at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2477) Nullpointer in WSConnectionInfoProvider.java when user is null
by Daan Creemers (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2477?page=com.atlassian.jira.plu... ]
Daan Creemers updated TEIIDDES-2477:
------------------------------------
Description:
In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
@line 101:
if (null != user &! user.equals("")) { //$NON-NLS-1$
connectionProps.setProperty(ICredentialsCommon.USERNAME_PROP_ID, user);
}
It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
Line 101 contains if (null != user &! user.equals("")) {
but should be if (null != user && !user.equals("")) {
After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
java.lang.NullPointerException
at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
was:
In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
@line 101:
if (null != user &! user.equals("")) { //$NON-NLS-1$
...
}
It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
java.lang.NullPointerException
at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> Nullpointer in WSConnectionInfoProvider.java when user is null
> --------------------------------------------------------------
>
> Key: TEIIDDES-2477
> URL: https://issues.jboss.org/browse/TEIIDDES-2477
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 8.6, 9.0
> Environment: Windows 7, JBoss Developer Studio 8.1.0, Teiid Designer 9.0.1.Final
> Reporter: Daan Creemers
>
> In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
> @line 101:
> if (null != user &! user.equals("")) { //$NON-NLS-1$
> connectionProps.setProperty(ICredentialsCommon.USERNAME_PROP_ID, user);
> }
> It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
> Line 101 contains if (null != user &! user.equals("")) {
> but should be if (null != user && !user.equals("")) {
> After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
> java.lang.NullPointerException
> at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
> at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
> at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2477) Nullpointer in WSConnectionInfoProvider.java when user is null
by Daan Creemers (JIRA)
Daan Creemers created TEIIDDES-2477:
---------------------------------------
Summary: Nullpointer in WSConnectionInfoProvider.java when user is null
Key: TEIIDDES-2477
URL: https://issues.jboss.org/browse/TEIIDDES-2477
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview
Affects Versions: 9.0, 8.6
Environment: Windows 7, JBoss Developer Studio 8.1.0, Teiid Designer 9.0.1.Final
Reporter: Daan Creemers
In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
@line 101:
if (null != user &! user.equals("")) { //$NON-NLS-1$
...
}
It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
java.lang.NullPointerException
at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2464) NPE trying to connect to Teiid server for importing
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2464?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2464:
----------------------------------------
First commit to 9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/ca88edd5f1a455ccd...
second commit to 9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/2b8b8703e4a249e45...
> NPE trying to connect to Teiid server for importing
> ---------------------------------------------------
>
> Key: TEIIDDES-2464
> URL: https://issues.jboss.org/browse/TEIIDDES-2464
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.0
> Environment: Fedora 20
> Reporter: Ramesh Reddy
> Assignee: Barry LaFond
> Priority: Critical
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
> Attachments: teiid-profile-wizard.png
>
>
> 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.
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2475) In a Table Editor for View model, Primary Key Tab's "column" modal panel does not list all of entries which user can choose
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2475?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2475:
----------------------------------------
[~hisao.furuichi] I did find a dialog title & message bug while testing your scenario, but I was able to set the correct column in the Properties View. Could you re-test and verify that you can select the primary key in history_VT and edit the "Columns" property and see an accumulator panel (see attached screencap)
Note that editing PK/FK columns in Designer's Table Editor has been disabled due to a messy bug in how we designed our table cell editor factory. This was covered via TEIIDDES-2440 (screen caps) & TEIIDDES-2379.
> In a Table Editor for View model, Primary Key Tab's "column" modal panel does not list all of entries which user can choose
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2475
> URL: https://issues.jboss.org/browse/TEIIDDES-2475
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors
> Affects Versions: 9.0
> Environment: JBDS 8.1.0.GA
> Teiid Designer 9.0.1.Final-v20150211-1407-B643
> Reporter: hisao furuichi
> Attachments: choose_pk_columns_dialog.png
>
>
> In a Table Editor for View model, Primary Key Tab's "column" modal panel does not list all of entries which user can choose.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months