[JBoss JIRA] (TEIIDDES-2456) Teiid Connection Importer: IllegalArgumentException after obtaining the DDL from server
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2456?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2456:
-----------------------------------
Fix Version/s: 8.6.2 Beta1
8.6.2
> Teiid Connection Importer: IllegalArgumentException after obtaining the DDL from server
> ---------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2456
> URL: https://issues.jboss.org/browse/TEIIDDES-2456
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Teiid Integration
> Affects Versions: 9.0.1
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
> Attachments: screenshot.png
>
>
> Import using Teiid Connection sometimes fails with the following error message after getting the DDL from server and clicking Next:
> {code}
> Error encountered while importing the DDL: "java.lang.IllegalArgumentException: Expected argument to be non-null but got null"
> {code}
> Stacktrace:
> {code}
> !ENTRY org.teiid.designer.ddl.importer.ui 4 0 2015-03-23 14:58:16.966
> !MESSAGE Error encountered while importing the DDL: "java.lang.IllegalArgumentException: Expected argument to be non-null but got null"
> !STACK 0
> java.lang.Exception: java.lang.IllegalArgumentException: Expected argument to be non-null but got null
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:54)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:101)
> at org.teiid.designer.ddl.importer.ui.DdlImportDifferencesPage$1.run(DdlImportDifferencesPage.java:225)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> Caused by: java.lang.IllegalArgumentException: Expected argument to be non-null but got null
> at org.teiid.core.designer.util.CoreArgCheck.isNotNull(CoreArgCheck.java:142)
> at org.teiid.core.designer.util.CoreArgCheck.isNotNull(CoreArgCheck.java:128)
> at org.teiid.designer.core.ModelEditorImpl.getModelName(ModelEditorImpl.java:4971)
> at org.teiid.designer.relational.model.RelationalReferenceFactory.createRelationalModel(RelationalReferenceFactory.java:65)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:188)
> at org.teiid.designer.ddl.importer.DdlImporter$1.tryToDo(DdlImporter.java:117)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:41)
> ... 3 more
> {code}
> (02:50:28 PM) blafond: I'll need a stack trace to figure it out
> (02:50:35 PM) blafond: check Designer's Error Log view?
> (02:50:39 PM) asmigala: the weird thing is, it sometimes works for the same data source
> (02:50:42 PM) asmigala: ok, hang on a sec
> (02:50:53 PM) asmigala: so this is not something we know about?
> (02:51:34 PM) blafond: not as a reproduceable bug.
> ...
> (02:59:47 PM) asmigala: also, when I copy the DDL, save it to a file and then use the DDL importer, it works correctlu
> 03:05:15 PM) blafond: I think it's a threading/timing issue. The RelationalReferenceFactory is assuming that the new EMF Model already created. Looks like it's still in the process "sometimes" and ends up failing.
> (03:05:45 PM) blafond: I noticed that we don't save the model right after we create it. Maybe that could fix the issue.
> (03:06:05 PM) blafond: Please log a JIRA/BZ and include all of this conversation
> (03:06:59 PM) asmigala: yes, that makes sense, I generally don't see it when stepping through the test
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-2402) Web Service Input Variables not shown after opening the model
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2402?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2402:
-----------------------------------
Fix Version/s: 8.6.2 Beta1
> Web Service Input Variables not shown after opening the model
> -------------------------------------------------------------
>
> Key: TEIIDDES-2402
> URL: https://issues.jboss.org/browse/TEIIDDES-2402
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors, Web Services Support
> Affects Versions: 8.3.4, 9.0.1
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Priority: Minor
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
> Attachments: WsVariablesProject.zip
>
>
> When opening a Web Service model editor by double-clicking the model in the model explorer, the Input Variables section is empty, even when there are variable declarations in the procedure SQL.
> Trying to add the variables using the Add or Remove variables button results in multiple identical declarations in the procedure SQL.
> When opening the model editor by double clicking the child interface or operation, the input variables are shown as expected.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-2456) Teiid Connection Importer: IllegalArgumentException after obtaining the DDL from server
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2456?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-2456 at 3/30/15 11:21 AM:
------------------------------------------------------------------
commited fix to master: https://github.com/Teiid-Designer/teiid-designer/commit/cbe8400f03ceaf726...
9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/efb7230ffc574ef7a...
8.6.x: https://github.com/Teiid-Designer/teiid-designer/commit/15db1c7f758c3c121...
was (Author: blafond):
commited fix to master: https://github.com/Teiid-Designer/teiid-designer/commit/cbe8400f03ceaf726...
9.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/efb7230ffc574ef7a...
> Teiid Connection Importer: IllegalArgumentException after obtaining the DDL from server
> ---------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2456
> URL: https://issues.jboss.org/browse/TEIIDDES-2456
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Teiid Integration
> Affects Versions: 9.0.1
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Fix For: 9.1, 9.0.2 Beta1, 9.0.2
>
> Attachments: screenshot.png
>
>
> Import using Teiid Connection sometimes fails with the following error message after getting the DDL from server and clicking Next:
> {code}
> Error encountered while importing the DDL: "java.lang.IllegalArgumentException: Expected argument to be non-null but got null"
> {code}
> Stacktrace:
> {code}
> !ENTRY org.teiid.designer.ddl.importer.ui 4 0 2015-03-23 14:58:16.966
> !MESSAGE Error encountered while importing the DDL: "java.lang.IllegalArgumentException: Expected argument to be non-null but got null"
> !STACK 0
> java.lang.Exception: java.lang.IllegalArgumentException: Expected argument to be non-null but got null
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:54)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:101)
> at org.teiid.designer.ddl.importer.ui.DdlImportDifferencesPage$1.run(DdlImportDifferencesPage.java:225)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> Caused by: java.lang.IllegalArgumentException: Expected argument to be non-null but got null
> at org.teiid.core.designer.util.CoreArgCheck.isNotNull(CoreArgCheck.java:142)
> at org.teiid.core.designer.util.CoreArgCheck.isNotNull(CoreArgCheck.java:128)
> at org.teiid.designer.core.ModelEditorImpl.getModelName(ModelEditorImpl.java:4971)
> at org.teiid.designer.relational.model.RelationalReferenceFactory.createRelationalModel(RelationalReferenceFactory.java:65)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:188)
> at org.teiid.designer.ddl.importer.DdlImporter$1.tryToDo(DdlImporter.java:117)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:41)
> ... 3 more
> {code}
> (02:50:28 PM) blafond: I'll need a stack trace to figure it out
> (02:50:35 PM) blafond: check Designer's Error Log view?
> (02:50:39 PM) asmigala: the weird thing is, it sometimes works for the same data source
> (02:50:42 PM) asmigala: ok, hang on a sec
> (02:50:53 PM) asmigala: so this is not something we know about?
> (02:51:34 PM) blafond: not as a reproduceable bug.
> ...
> (02:59:47 PM) asmigala: also, when I copy the DDL, save it to a file and then use the DDL importer, it works correctlu
> 03:05:15 PM) blafond: I think it's a threading/timing issue. The RelationalReferenceFactory is assuming that the new EMF Model already created. Looks like it's still in the process "sometimes" and ends up failing.
> (03:05:45 PM) blafond: I noticed that we don't save the model right after we create it. Maybe that could fix the issue.
> (03:06:05 PM) blafond: Please log a JIRA/BZ and include all of this conversation
> (03:06:59 PM) asmigala: yes, that makes sense, I generally don't see it when stepping through the test
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-2395) Add shortcut to Find Model Object in the Model Explorer Tab
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2395?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2395:
-----------------------------------
Fix Version/s: 8.6.2 Beta1
8.6.2
> Add shortcut to Find Model Object in the Model Explorer Tab
> -----------------------------------------------------------
>
> Key: TEIIDDES-2395
> URL: https://issues.jboss.org/browse/TEIIDDES-2395
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Editors
> Affects Versions: 8.6
> Reporter: Joao Viragine
> Assignee: Barry LaFond
> Priority: Minor
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
> Attachments: find-model-object-in-explorer-toolbar.png
>
>
> It would be nice if we had a shortcut to "Find Model Object" in the Model Explorer Tab.
> It isn't productive to need to go to Menu/Search/Teiid Designer/Find Model Object every time we need to serach for a Model Object
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-2436) StackOverflow Exception Importing VDB via JDBC Importer
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2436?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2436:
-----------------------------------
Fix Version/s: 8.6.2 Beta1
8.6.2
> StackOverflow Exception Importing VDB via JDBC Importer
> -------------------------------------------------------
>
> Key: TEIIDDES-2436
> URL: https://issues.jboss.org/browse/TEIIDDES-2436
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Import/Export
> Affects Versions: 9.0.1
> Reporter: Ted Jones
> Assignee: Barry LaFond
> Priority: Critical
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
> Attachments: JdbcImoprtObjectsPage_TEIIDDES_2436.patch
>
>
> Receiving StackOverflow exception importing a VDB via the JDBC importer using the following steps:
> 1. Import a JDBC source (any source)
> a. On page 3, select "Show Selected Schemas".
> 2. Now try importing a deployed VDB. You will receive a StackOverflow exception.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years