[JBoss JIRA] (TEIIDDES-2458) Wrong "name-in-source" property value for imported tables in Source model (JDBC importer, Sybase 15 Database)
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2458?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2458:
-----------------------------------
Attachment: sybase_bqt2_datatools_tree.png
> Wrong "name-in-source" property value for imported tables in Source model (JDBC importer, Sybase 15 Database)
> -------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2458
> URL: https://issues.jboss.org/browse/TEIIDDES-2458
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.1
> Environment: JBDS: 8.0.2GA
> TD: 9.0.1.Final
> OS: Fedora 20
> java: oracle 1.7
> JDBC driver: jconn4-26502 - jConnect (TM) for JDBC(TM)/7.00(Build 26502)
> Sybase DB: ASE 15.0.3/EBF
> Reporter: Juraj Duráni
> Attachments: parts_sql_catalog_in_name_in_source.png, parts_sql_include_catalog_in_name.png, parts_sql_schema_tree.png, pic1.png, pic2.png, pic3.png, sybase_bqt2_datatools_tree.png
>
>
> I am trying to import a Source model from Sybase database. But imported tables have wrong "name-in-source" property values.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2458) Wrong "name-in-source" property value for imported tables in Source model (JDBC importer, Sybase 15 Database)
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2458?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2458:
----------------------------------------
I tested with a sybase BQT2 db set up by QE. For the basic use-case I'm receiving the following preview error:
{code}
org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException:
TEIID30504 Sybase_ASE_15: 102 TEIID11008:TEIID11004 Error executing statement(s):
[Prepared Values: [] SQL: SELECT g_0."IntKey", g_0."StringKey", g_0."IntNum", g_0."StringNum", g_0."FloatNum", g_0."LongNum", g_0."DoubleNum", g_0."ByteNum", g_0."DateValue", g_0."TimeValue", g_0."TimestampValue", g_0."BooleanValue", g_0."CharValue", g_0."ShortValue", g_0."BigIntegerValue", g_0."BigDecimalValue", g_0."ObjectValue" FROM "bqt2"."MediumA" g_0]
{code}
I tried changing the NIS for the table to: "bqt2"."dbo"."MediumA" but it resulted in the same error on preview.
I connected to that DB via Data Tools. I noticed that the folder structure within that Sybase DB was different than other types of JDBC connections. Note the *(dbo)* added to each of the tables in this database. I tried to *Sample Data* from the datasource explorer and it failed with the following message:
{code}
Starting run
SELECT * FROM "dbo"."MediumA"
com.sybase.jdbc4.jdbc.SybSQLException: Incorrect syntax near '.'.
{code}
So there there are issues with both Teiid Designer AND Eclipse data tools in interpreting the Database/Schema/Catalog information and how to actually query it.
> Wrong "name-in-source" property value for imported tables in Source model (JDBC importer, Sybase 15 Database)
> -------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2458
> URL: https://issues.jboss.org/browse/TEIIDDES-2458
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.1
> Environment: JBDS: 8.0.2GA
> TD: 9.0.1.Final
> OS: Fedora 20
> java: oracle 1.7
> JDBC driver: jconn4-26502 - jConnect (TM) for JDBC(TM)/7.00(Build 26502)
> Sybase DB: ASE 15.0.3/EBF
> Reporter: Juraj Duráni
> Attachments: parts_sql_catalog_in_name_in_source.png, parts_sql_include_catalog_in_name.png, parts_sql_schema_tree.png, pic1.png, pic2.png, pic3.png
>
>
> I am trying to import a Source model from Sybase database. But imported tables have wrong "name-in-source" property values.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2540) Cannot create Data Source on the server
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2540?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2540.
------------------------------------
Resolution: Done
Fixed
> Cannot create Data Source on the server
> ---------------------------------------
>
> Key: TEIIDDES-2540
> URL: https://issues.jboss.org/browse/TEIIDDES-2540
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2 Beta2
> Reporter: Andrej Šmigala
> Assignee: Andrej Šmigala
> Priority: Critical
>
> Right clicking Data Sources under the Teiid Instance in Servers view and selecting Create Data Source fails with an empty error message.
> This is caused by a NPE in the code on lines 125 - 133 here: https://github.com/Teiid-Designer/teiid-designer/blob/f28c49b8dafe2a7351e...
> Stacktrace:
> {noformat}
> java.lang.NullPointerException
> at org.teiid.designer.runtime.ui.connection.CreateDataSourceAction.run(CreateDataSourceAction.java:130)
> at org.teiid.designer.runtime.ui.views.TeiidServerActionProvider$7.run(TeiidServerActionProvider.java:359)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2540) Cannot create Data Source on the server
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2540?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2540:
-----------------------------------
Fix Version/s: 9.1
9.0.2
> Cannot create Data Source on the server
> ---------------------------------------
>
> Key: TEIIDDES-2540
> URL: https://issues.jboss.org/browse/TEIIDDES-2540
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2 Beta2
> Reporter: Andrej Šmigala
> Assignee: Andrej Šmigala
> Priority: Critical
> Fix For: 9.1, 9.0.2
>
>
> Right clicking Data Sources under the Teiid Instance in Servers view and selecting Create Data Source fails with an empty error message.
> This is caused by a NPE in the code on lines 125 - 133 here: https://github.com/Teiid-Designer/teiid-designer/blob/f28c49b8dafe2a7351e...
> Stacktrace:
> {noformat}
> java.lang.NullPointerException
> at org.teiid.designer.runtime.ui.connection.CreateDataSourceAction.run(CreateDataSourceAction.java:130)
> at org.teiid.designer.runtime.ui.views.TeiidServerActionProvider$7.run(TeiidServerActionProvider.java:359)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2547) NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2547?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2547.
------------------------------------
Fix Version/s: 9.1
9.0.2 Beta2
9.0.2
Resolution: Done
moved setControl() to before valid server check to so page is complete.
> NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
> -----------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2547
> URL: https://issues.jboss.org/browse/TEIIDDES-2547
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.2
> Environment: Fedora 20
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Fix For: 9.1, 9.0.2 Beta2, 9.0.2
>
> Attachments: screen1.png, screen2.png
>
>
> I encountered this issue while trying to verify TEIIDDES-2520.
> When you have no server started in TD. Action Create Source model from Teiid data source DDL in Guides causes NPE.
> Screenshot attached
> {quote}
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> org.eclipse.core.runtime.AssertionFailedException: null argument:
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:156)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:138)
> at org.teiid.designer.teiidimporter.ui.wizard.TeiidImportWizard.createPageControls(TeiidImportWizard.java:181)
> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
> at org.eclipse.jface.window.Window.create(Window.java:435)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$7.run(ModelerUiViewUtils.java:250)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:240)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$5.run(ModelerUiViewUtils.java:185)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:167)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.launchWizard(AdvisorActionFactory.java:913)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:470)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.launchGuidesAction(TeiidGuidesSection.java:281)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.access$1(TeiidGuidesSection.java:271)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection$4.doubleClick(TeiidGuidesSection.java:174)
> at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:831)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
> at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:828)
> at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1472)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1237)
> at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)
> at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
> 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:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> 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)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2547) NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2547?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-2547:
--------------------------------------
Assignee: Barry LaFond
> NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
> -----------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2547
> URL: https://issues.jboss.org/browse/TEIIDDES-2547
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.2
> Environment: Fedora 20
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Attachments: screen1.png, screen2.png
>
>
> I encountered this issue while trying to verify TEIIDDES-2520.
> When you have no server started in TD. Action Create Source model from Teiid data source DDL in Guides causes NPE.
> Screenshot attached
> {quote}
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> org.eclipse.core.runtime.AssertionFailedException: null argument:
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:156)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:138)
> at org.teiid.designer.teiidimporter.ui.wizard.TeiidImportWizard.createPageControls(TeiidImportWizard.java:181)
> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
> at org.eclipse.jface.window.Window.create(Window.java:435)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$7.run(ModelerUiViewUtils.java:250)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:240)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$5.run(ModelerUiViewUtils.java:185)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:167)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.launchWizard(AdvisorActionFactory.java:913)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:470)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.launchGuidesAction(TeiidGuidesSection.java:281)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.access$1(TeiidGuidesSection.java:271)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection$4.doubleClick(TeiidGuidesSection.java:174)
> at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:831)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
> at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:828)
> at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1472)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1237)
> at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)
> at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
> 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:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> 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)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2547) NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2547?page=com.atlassian.jira.plu... ]
Work on TEIIDDES-2547 started by Barry LaFond.
----------------------------------------------
> NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
> -----------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2547
> URL: https://issues.jboss.org/browse/TEIIDDES-2547
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.2
> Environment: Fedora 20
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Attachments: screen1.png, screen2.png
>
>
> I encountered this issue while trying to verify TEIIDDES-2520.
> When you have no server started in TD. Action Create Source model from Teiid data source DDL in Guides causes NPE.
> Screenshot attached
> {quote}
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> org.eclipse.core.runtime.AssertionFailedException: null argument:
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:156)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:138)
> at org.teiid.designer.teiidimporter.ui.wizard.TeiidImportWizard.createPageControls(TeiidImportWizard.java:181)
> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
> at org.eclipse.jface.window.Window.create(Window.java:435)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$7.run(ModelerUiViewUtils.java:250)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:240)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$5.run(ModelerUiViewUtils.java:185)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:167)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.launchWizard(AdvisorActionFactory.java:913)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:470)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.launchGuidesAction(TeiidGuidesSection.java:281)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.access$1(TeiidGuidesSection.java:271)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection$4.doubleClick(TeiidGuidesSection.java:174)
> at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:831)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
> at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:828)
> at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1472)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1237)
> at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)
> at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
> 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:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> 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)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2520) Teiid Connection Import fails when model name is set before model location
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2520?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2520.
----------------------------------
verified TD 9.0.2.Final
> Teiid Connection Import fails when model name is set before model location
> --------------------------------------------------------------------------
>
> Key: TEIIDDES-2520
> URL: https://issues.jboss.org/browse/TEIIDDES-2520
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.0.2 Beta1
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Fix For: 9.1, 8.6.2 Beta2, 9.0.2 Beta2, 9.0.2, 8.6.2
>
>
> When going through the Teiid Connection Import wizard, setting model name before selecting the model project on the _Select the target model for the import_ page causes the import to fail. This happens when no model project was previously selected.
> When a model project is already selected, changing the model project on that page, after setting the model name, causes the new model to be created in the wrong project.
> Selecting the model project first and then setting the model name does not cause any of these issues.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2520) Teiid Connection Import fails when model name is set before model location
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2520?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-2520:
---------------------------------------------------
Matus Makovy <mmakovy(a)redhat.com> changed the Status of [bug 1221297|https://bugzilla.redhat.com/show_bug.cgi?id=1221297] from NEW to VERIFIED
> Teiid Connection Import fails when model name is set before model location
> --------------------------------------------------------------------------
>
> Key: TEIIDDES-2520
> URL: https://issues.jboss.org/browse/TEIIDDES-2520
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.0.2 Beta1
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Fix For: 9.1, 8.6.2 Beta2, 9.0.2 Beta2, 9.0.2, 8.6.2
>
>
> When going through the Teiid Connection Import wizard, setting model name before selecting the model project on the _Select the target model for the import_ page causes the import to fail. This happens when no model project was previously selected.
> When a model project is already selected, changing the model project on that page, after setting the model name, causes the new model to be created in the wrong project.
> Selecting the model project first and then setting the model name does not cause any of these issues.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2547) NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2547?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2547:
----------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1225769
> NPE when trying to use action Guides -> Model Teiid Data Source -> Create Source model from Teiid data source DDL
> -----------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2547
> URL: https://issues.jboss.org/browse/TEIIDDES-2547
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.2
> Environment: Fedora 20
> Reporter: Matus Makovy
> Attachments: screen1.png, screen2.png
>
>
> I encountered this issue while trying to verify TEIIDDES-2520.
> When you have no server started in TD. Action Create Source model from Teiid data source DDL in Guides causes NPE.
> Screenshot attached
> {quote}
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> org.eclipse.core.runtime.AssertionFailedException: null argument:
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:156)
> at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:138)
> at org.teiid.designer.teiidimporter.ui.wizard.TeiidImportWizard.createPageControls(TeiidImportWizard.java:181)
> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
> at org.eclipse.jface.window.Window.create(Window.java:435)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$7.run(ModelerUiViewUtils.java:250)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:240)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils$5.run(ModelerUiViewUtils.java:185)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
> at org.teiid.designer.ui.viewsupport.ModelerUiViewUtils.launchWizard(ModelerUiViewUtils.java:167)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.launchWizard(AdvisorActionFactory.java:913)
> at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:470)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.launchGuidesAction(TeiidGuidesSection.java:281)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.access$1(TeiidGuidesSection.java:271)
> at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection$4.doubleClick(TeiidGuidesSection.java:174)
> at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:831)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
> at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:828)
> at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1472)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1237)
> at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)
> at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
> 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:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> 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)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months