[JBoss JIRA] (TEIIDDES-2120) unable to reference same name .xsd when saving .vdb
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2120?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-2120 at 6/13/14 9:36 AM:
-----------------------------------------------------------------
The final fix for TEIIDDES-2120 and TEIIDDES-1945 involved re-arranging the contents of a VDB and underlying *vdb.xml* that was allowing *XSD* files to be treated as *models*. Teiid runtime engine has ignored *XSD* files and their corresponding *INDEX* files, so they aren't used as runtime metadata.
These XSD files are still needed for complete VDB validation (*EMF requires it*), so per the attached screencap, any dependent schema (*XSD*) files are still added to a VDB but placed in their own *Schemas* tab and treated as a special user-file.
To test this issue
1) Create and preview any source table
2) Select source model and right-click select *Modeling > Create Web Service*
3) Select and preview a newly created web service model *operation*
-- The SQL Results *Status* tab should contain the auto-generated SQL query you can use in step 7 below
-- Note the XML output result
4) Select the Web Service model and create a VDB
5) You'll either have 1 or 2 *XSD* files (input and output) that should be added to the *Schemas* tab in the VDB Editor
6) Save VDB, select VDB in explorer and right-click *Execute VDB*
7) Select the SQL query generated in step 3 above, paste in SQL Scrapbook, select the text and right-click select "Execute Selected Text"
8) XML Output should be the same as the preview date from step 3 above
The attached Books_WS_and_XML.zip model project set also contains a VDB containing a Books.xsd schema file as well as a Books.xmi source model file. Opening this VDB verifies that the duplicate name issue with differing extensions is fixed.
was (Author: blafond):
The final fix for TEIIDDES-2120 and TEIIDDES-1945 involved re-arranging the contents of a VDB and underlying *vdb.xml* that was allowing *XSD* files to be treated as *models*. Teiid runtime engine has ignored *XSD* files and their corresponding *INDEX* files, so they aren't used as runtime metadata.
These XSD files are still needed for complete VDB validation (*EMF requires it*), so per the attached screencap, any dependent schema (*XSD*) files are still added to a VDB but placed in their own *Schemas* tab and treated as a special user-file.
To test this issue
1) Create and preview any source table
2) Select source model and right-click select *Modeling > Create Web Service*
3) Select and preview a newly created web service model *operation*
-- The SQL Results *Status* tab should contain the auto-generated SQL query you can use in step 7 below
-- Note the XML output result
4) Select the Web Service model and create a VDB
5) You'll either have 1 or 2 *XSD* files (input and output) that should be added to the *Schemas* tab in the VDB Editor
6) Save VDB, select VDB in explorer and right-click *Execute VDB*
7) Select the SQL query generated in step 3 above, paste in SQL Scrapbook, select the text and right-click select "Execute Selected Text"
8) XML Output should be the same as the preview date from step 3 above
> unable to reference same name .xsd when saving .vdb
> ---------------------------------------------------
>
> Key: TEIIDDES-2120
> URL: https://issues.jboss.org/browse/TEIIDDES-2120
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: VDB & Execution
> Affects Versions: 8.3
> Reporter: Johnathon Lee
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.5, 8.3.3
>
> Attachments: Books_2120.vdb, Books_TEIIDDES_2120.zip, Books_WS_and_XML.zip, excute-ws-text-in-scrapbook.png, Test_2120.zip, vdb-schemas-tab.png, ws-preview-sql-results-status.png
>
>
> User can no longer add same name .xsd to a vdb (name same, location(s) different).
> Results in:
> java.lang.RuntimeException: javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 61; columnNumber: 168; Duplicate unique value [<name>] declared for identity constraint of element "vdb".]
> at org.teiid.core.designer.CoreModelerPlugin.toRuntimeException(CoreModelerPlugin.java:76)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:50)
> at org.teiid.designer.vdb.VdbUtil.getVdbManifest(VdbUtil.java:178)
> at org.teiid.designer.vdb.VdbUtil.isPreviewVdb(VdbUtil.java:120)
> at org.teiid.designer.runtime.preview.PreviewManager.isPreviewVdb(PreviewManager.java:267)
> at org.teiid.designer.runtime.preview.PreviewManager.findPvdbs(PreviewManager.java:656)
> at org.teiid.designer.runtime.preview.PreviewManager.handleModelProjectOpened(PreviewManager.java:895)
> at org.teiid.designer.runtime.preview.PreviewManager.done(PreviewManager.java:466)
> at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
> at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
> at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
> at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
> at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)
> Caused by: javax.xml.bind.UnmarshalException
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2120) unable to reference same name .xsd when saving .vdb
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2120?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2120:
-----------------------------------
Attachment: Books_WS_and_XML.zip
> unable to reference same name .xsd when saving .vdb
> ---------------------------------------------------
>
> Key: TEIIDDES-2120
> URL: https://issues.jboss.org/browse/TEIIDDES-2120
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: VDB & Execution
> Affects Versions: 8.3
> Reporter: Johnathon Lee
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.5, 8.3.3
>
> Attachments: Books_2120.vdb, Books_TEIIDDES_2120.zip, Books_WS_and_XML.zip, excute-ws-text-in-scrapbook.png, Test_2120.zip, vdb-schemas-tab.png, ws-preview-sql-results-status.png
>
>
> User can no longer add same name .xsd to a vdb (name same, location(s) different).
> Results in:
> java.lang.RuntimeException: javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 61; columnNumber: 168; Duplicate unique value [<name>] declared for identity constraint of element "vdb".]
> at org.teiid.core.designer.CoreModelerPlugin.toRuntimeException(CoreModelerPlugin.java:76)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:50)
> at org.teiid.designer.vdb.VdbUtil.getVdbManifest(VdbUtil.java:178)
> at org.teiid.designer.vdb.VdbUtil.isPreviewVdb(VdbUtil.java:120)
> at org.teiid.designer.runtime.preview.PreviewManager.isPreviewVdb(PreviewManager.java:267)
> at org.teiid.designer.runtime.preview.PreviewManager.findPvdbs(PreviewManager.java:656)
> at org.teiid.designer.runtime.preview.PreviewManager.handleModelProjectOpened(PreviewManager.java:895)
> at org.teiid.designer.runtime.preview.PreviewManager.done(PreviewManager.java:466)
> at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
> at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
> at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
> at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
> at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)
> Caused by: javax.xml.bind.UnmarshalException
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2120) unable to reference same name .xsd when saving .vdb
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2120?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2120:
-----------------------------------
Attachment: excute-ws-text-in-scrapbook.png
> unable to reference same name .xsd when saving .vdb
> ---------------------------------------------------
>
> Key: TEIIDDES-2120
> URL: https://issues.jboss.org/browse/TEIIDDES-2120
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: VDB & Execution
> Affects Versions: 8.3
> Reporter: Johnathon Lee
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.5, 8.3.3
>
> Attachments: Books_2120.vdb, Books_TEIIDDES_2120.zip, excute-ws-text-in-scrapbook.png, Test_2120.zip, vdb-schemas-tab.png, ws-preview-sql-results-status.png
>
>
> User can no longer add same name .xsd to a vdb (name same, location(s) different).
> Results in:
> java.lang.RuntimeException: javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 61; columnNumber: 168; Duplicate unique value [<name>] declared for identity constraint of element "vdb".]
> at org.teiid.core.designer.CoreModelerPlugin.toRuntimeException(CoreModelerPlugin.java:76)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:50)
> at org.teiid.designer.vdb.VdbUtil.getVdbManifest(VdbUtil.java:178)
> at org.teiid.designer.vdb.VdbUtil.isPreviewVdb(VdbUtil.java:120)
> at org.teiid.designer.runtime.preview.PreviewManager.isPreviewVdb(PreviewManager.java:267)
> at org.teiid.designer.runtime.preview.PreviewManager.findPvdbs(PreviewManager.java:656)
> at org.teiid.designer.runtime.preview.PreviewManager.handleModelProjectOpened(PreviewManager.java:895)
> at org.teiid.designer.runtime.preview.PreviewManager.done(PreviewManager.java:466)
> at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
> at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
> at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
> at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
> at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)
> Caused by: javax.xml.bind.UnmarshalException
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2120) unable to reference same name .xsd when saving .vdb
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2120?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2120:
-----------------------------------
Attachment: ws-preview-sql-results-status.png
> unable to reference same name .xsd when saving .vdb
> ---------------------------------------------------
>
> Key: TEIIDDES-2120
> URL: https://issues.jboss.org/browse/TEIIDDES-2120
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: VDB & Execution
> Affects Versions: 8.3
> Reporter: Johnathon Lee
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.5, 8.3.3
>
> Attachments: Books_2120.vdb, Books_TEIIDDES_2120.zip, Test_2120.zip, vdb-schemas-tab.png, ws-preview-sql-results-status.png
>
>
> User can no longer add same name .xsd to a vdb (name same, location(s) different).
> Results in:
> java.lang.RuntimeException: javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 61; columnNumber: 168; Duplicate unique value [<name>] declared for identity constraint of element "vdb".]
> at org.teiid.core.designer.CoreModelerPlugin.toRuntimeException(CoreModelerPlugin.java:76)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:50)
> at org.teiid.designer.vdb.VdbUtil.getVdbManifest(VdbUtil.java:178)
> at org.teiid.designer.vdb.VdbUtil.isPreviewVdb(VdbUtil.java:120)
> at org.teiid.designer.runtime.preview.PreviewManager.isPreviewVdb(PreviewManager.java:267)
> at org.teiid.designer.runtime.preview.PreviewManager.findPvdbs(PreviewManager.java:656)
> at org.teiid.designer.runtime.preview.PreviewManager.handleModelProjectOpened(PreviewManager.java:895)
> at org.teiid.designer.runtime.preview.PreviewManager.done(PreviewManager.java:466)
> at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
> at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
> at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
> at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
> at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)
> Caused by: javax.xml.bind.UnmarshalException
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2120) unable to reference same name .xsd when saving .vdb
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2120?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2120:
----------------------------------------
The final fix for TEIIDDES-2120 and TEIIDDES-1945 involved re-arranging the contents of a VDB and underlying *vdb.xml* that was allowing *XSD* files to be treated as *models*. Teiid runtime engine has ignored *XSD* files and their corresponding *INDEX* files, so they aren't used as runtime metadata.
These XSD files are still needed for complete VDB validation (*EMF requires it*), so per the attached screencap, any dependent schema (*XSD*) files are still added to a VDB but placed in their own *Schemas* tab and treated as a special user-file.
To test this issue
1) Create and preview any source table
2) Select source model and right-click select *Modeling > Create Web Service*
3) Select and preview a newly created web service model *operation*
-- The SQL Results *Status* tab should contain the auto-generated SQL query you can use in step 7 below
-- Note the XML output result
4) Select the Web Service model and create a VDB
5) You'll either have 1 or 2 *XSD* files (input and output) that should be added to the *Schemas* tab in the VDB Editor
6) Save VDB, select VDB in explorer and right-click *Execute VDB*
7) Select the SQL query generated in step 3 above, paste in SQL Scrapbook, select the text and right-click select "Execute Selected Text"
8) XML Output should be the same as the preview date from step 3 above
> unable to reference same name .xsd when saving .vdb
> ---------------------------------------------------
>
> Key: TEIIDDES-2120
> URL: https://issues.jboss.org/browse/TEIIDDES-2120
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: VDB & Execution
> Affects Versions: 8.3
> Reporter: Johnathon Lee
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.5, 8.3.3
>
> Attachments: Books_2120.vdb, Books_TEIIDDES_2120.zip, Test_2120.zip, vdb-schemas-tab.png, ws-preview-sql-results-status.png
>
>
> User can no longer add same name .xsd to a vdb (name same, location(s) different).
> Results in:
> java.lang.RuntimeException: javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 61; columnNumber: 168; Duplicate unique value [<name>] declared for identity constraint of element "vdb".]
> at org.teiid.core.designer.CoreModelerPlugin.toRuntimeException(CoreModelerPlugin.java:76)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:50)
> at org.teiid.designer.vdb.VdbUtil.getVdbManifest(VdbUtil.java:178)
> at org.teiid.designer.vdb.VdbUtil.isPreviewVdb(VdbUtil.java:120)
> at org.teiid.designer.runtime.preview.PreviewManager.isPreviewVdb(PreviewManager.java:267)
> at org.teiid.designer.runtime.preview.PreviewManager.findPvdbs(PreviewManager.java:656)
> at org.teiid.designer.runtime.preview.PreviewManager.handleModelProjectOpened(PreviewManager.java:895)
> at org.teiid.designer.runtime.preview.PreviewManager.done(PreviewManager.java:466)
> at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
> at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
> at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
> at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
> at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)
> Caused by: javax.xml.bind.UnmarshalException
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2120) unable to reference same name .xsd when saving .vdb
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2120?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2120:
-----------------------------------
Attachment: vdb-schemas-tab.png
> unable to reference same name .xsd when saving .vdb
> ---------------------------------------------------
>
> Key: TEIIDDES-2120
> URL: https://issues.jboss.org/browse/TEIIDDES-2120
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: VDB & Execution
> Affects Versions: 8.3
> Reporter: Johnathon Lee
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.5, 8.3.3
>
> Attachments: Books_2120.vdb, Books_TEIIDDES_2120.zip, Test_2120.zip, vdb-schemas-tab.png
>
>
> User can no longer add same name .xsd to a vdb (name same, location(s) different).
> Results in:
> java.lang.RuntimeException: javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 61; columnNumber: 168; Duplicate unique value [<name>] declared for identity constraint of element "vdb".]
> at org.teiid.core.designer.CoreModelerPlugin.toRuntimeException(CoreModelerPlugin.java:76)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:50)
> at org.teiid.designer.vdb.VdbUtil.getVdbManifest(VdbUtil.java:178)
> at org.teiid.designer.vdb.VdbUtil.isPreviewVdb(VdbUtil.java:120)
> at org.teiid.designer.runtime.preview.PreviewManager.isPreviewVdb(PreviewManager.java:267)
> at org.teiid.designer.runtime.preview.PreviewManager.findPvdbs(PreviewManager.java:656)
> at org.teiid.designer.runtime.preview.PreviewManager.handleModelProjectOpened(PreviewManager.java:895)
> at org.teiid.designer.runtime.preview.PreviewManager.done(PreviewManager.java:466)
> at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
> at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
> at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
> at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
> at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)
> Caused by: javax.xml.bind.UnmarshalException
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2214) Cannot generate CXF WAR from VDB created in 8.3.3
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2214?page=com.atlassian.jira.plu... ]
Ted Jones commented on TEIIDDES-2214:
-------------------------------------
[~asmigala], I have not been able to reproduce your issue. Can you please attach your model project set, indicate what OS you are using and include the full path of your workspace. Thanks
> Cannot generate CXF WAR from VDB created in 8.3.3
> -------------------------------------------------
>
> Key: TEIIDDES-2214
> URL: https://issues.jboss.org/browse/TEIIDDES-2214
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: VDB & Execution, Web Services Support
> Affects Versions: 8.3.3
> Environment: Teiid Designer 8.3.3
> JBDS 7.1.1.GA
> Reporter: Andrej Šmigala
> Assignee: Ted Jones
> Fix For: 8.3.4
>
> Attachments: log
>
>
> The following error occurs when generating CXF WAR from VDB: "An error occurred while creating WAR file, check log for detail" (log attached).
> This only happens with VDB created in 8.3.3, not if one uses a VDB created in 8.3.2.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2203) Deletion of invalid (columnless) models causes NPE
by Mark Drilling (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2203?page=com.atlassian.jira.plu... ]
Mark Drilling updated TEIIDDES-2203:
------------------------------------
Fix Version/s: 8.6
8.5.1
Assignee: Mark Drilling
I was unable to reproduce. Looking at the ObjectDeleteCommand code, the only way we could get that NPE is if the objects resource is null.
As a workaround, I'd recommend close and reopen the project after import - then retry the delete.
We can put in a null check - targetting to 8.6 / 8.5.1
> Deletion of invalid (columnless) models causes NPE
> --------------------------------------------------
>
> Key: TEIIDDES-2203
> URL: https://issues.jboss.org/browse/TEIIDDES-2203
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.5
> Reporter: Tom Johnston
> Assignee: Mark Drilling
> Fix For: 8.6, 8.5.1
>
> Attachments: OracleExadataSYS.zip
>
>
> I imported all of the SYS views of Oracle 11g which results in a number of tableless columns.
> I have done something similar before and 'cleaned it up' by deleting them after the fact but given another bug of re-using models created in a prior release in a more current workspace/vdb I am re-importing/cleaning up.
> The issue is now I get NPE when I select several of these tables and click delete.
> org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException))
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.explorer.ModelExplorerResourceNavigator.handleKeyPressed(ModelExplorerResourceNavigator.java:1738)
> at org.eclipse.ui.views.navigator.ResourceNavigator$8.keyPressed(ResourceNavigator.java:507)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> 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.Widget.sendEvent(Widget.java:1081)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
> at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1827)
> at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4975)
> at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:6137)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4643)
> at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6005)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
> 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(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
> Caused by: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4397)
> at org.eclipse.swt.SWT.error(SWT.java:4312)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.executeRunnable(UiBusyIndicator.java:227)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhileInternal(UiBusyIndicator.java:159)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:116)
> at org.teiid.designer.ui.common.actions.AbstractAction.run(AbstractAction.java:547)
> at org.teiid.designer.ui.actions.DeleteAction.doRun(DeleteAction.java:335)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 45 more
> Caused by: java.lang.NullPointerException
> at org.teiid.designer.core.refactor.ObjectDeleteCommand.setObjectsToDelete(ObjectDeleteCommand.java:97)
> at org.teiid.designer.ui.actions.workers.DeleteWorker.createObjectDeleteCommand(DeleteWorker.java:155)
> at org.teiid.designer.ui.actions.DeleteEObjectAction.doRun(DeleteEObjectAction.java:83)
> at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 56 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (TEIIDDES-2207) Web Service Operation SQL valid in 8.3.2 but invalid in 8.5
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2207?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2207.
------------------------------------
Resolution: Cannot Reproduce Bug
Tested after fix for TEIIDDES-2120 was committed and cannot reproduce
> Web Service Operation SQL valid in 8.3.2 but invalid in 8.5
> -----------------------------------------------------------
>
> Key: TEIIDDES-2207
> URL: https://issues.jboss.org/browse/TEIIDDES-2207
> Project: Teiid Designer
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Validation, Web Services Support
> Affects Versions: 8.5
> Reporter: Barry LaFond
> Assignee: Paul Richardson
> Priority: Critical
> Fix For: 8.5
>
> Attachments: testWebService.zip
>
>
> Compared creating WS from source and view models in 8.3.2 vs 8.5.
> See attached project set
> 1) Created WS from ProductsOracle source and WS operations validated fine in 8.3.2 and 8.5 Designer
> 2) Created WS from PRoductsViews view model and WS operations contained an error.
> Differences in the SQL for 8.5 vs 8.3.2 relate to the removing the CREATE VIRTUAL PROCEDURE in the SQL.
> 8.3.2 SQL
> {code}
> CREATE VIRTUAL PROCEDURE
> BEGIN
> DECLARE string VARIABLES.IN_exampleVar;
> VARIABLES.IN_exampleVar = xPathValue(null, '//*[local-name()="exampleName"]');
> SELECT * FROM PRoductViews_Output_View.PRoductInfo_OutputView;
> END
> {code}
> Same operation validated in 8.5 but results in validation error:
> {code}
> BEGIN
> DECLARE string VARIABLES.IN_exampleVar;
> VARIABLES.IN_exampleVar = xPathValue(null, '//*[local-name()="exampleName"]');
> SELECT * FROM PRoductViews_Output_View.PRoductInfo_OutputView;
> END
> {code}
> ERROR
> {code}
> ERROR: TEIID30070 The function 'xPathValue(null, '//*[local-name()="exampleName"]')' is a valid function form, but the arguments do not match a known type signature and cannot be converted using implicit type conversions.
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months