[JBoss JIRA] (TEIIDDES-2330) Unhandled event loop exception when creating Relational View Procedure
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2330?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2330:
----------------------------------------
was commited to 8.3.x branch: https://github.com/Teiid-Designer/teiid-designer/commit/8749acd4aaf030d63... and part of 8.3.4
> Unhandled event loop exception when creating Relational View Procedure
> ----------------------------------------------------------------------
>
> Key: TEIIDDES-2330
> …
[View More] URL: https://issues.jboss.org/browse/TEIIDDES-2330
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 8.3.4
> Environment: Linux, Windows
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Fix For: 8.3.4
>
>
> When trying to create a Relational View Procedure, the dialog is not shown and the following error is logged:
> {quote}
> !ENTRY org.eclipse.ui 4 0 2014-09-02 13:22:44.784
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
> at org.teiid.designer.transformation.ui.editors.ViewProcedureEditorPanel.createParameterTableGroup(ViewProcedureEditorPanel.java:884)
> at org.teiid.designer.transformation.ui.editors.ViewProcedureEditorPanel.createParametersTab(ViewProcedureEditorPanel.java:154)
> at org.teiid.designer.transformation.ui.editors.ViewProcedureEditorPanel.createPanel(ViewProcedureEditorPanel.java:132)
> at org.teiid.designer.relational.ui.edit.RelationalEditorPanel.<init>(RelationalEditorPanel.java:69)
> at org.teiid.designer.transformation.ui.editors.ViewProcedureEditorPanel.<init>(ViewProcedureEditorPanel.java:108)
> at org.teiid.designer.transformation.ui.editors.TransformationDialogModel.getEditorPanel(TransformationDialogModel.java:43)
> at org.teiid.designer.relational.ui.editor.EditRelationalObjectDialog.createDialogArea(EditRelationalObjectDialog.java:81)
> at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)
> at org.teiid.designer.relational.ui.editor.EditRelationalObjectDialog.createContents(EditRelationalObjectDialog.java:108)
> at org.eclipse.jface.window.Window.create(Window.java:432)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
> at org.eclipse.jface.window.Window.open(Window.java:791)
> at org.teiid.designer.transformation.ui.actions.CreateViewProcedureAction.run(CreateViewProcedureAction.java:181)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> 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)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
[View Less]
10 years, 5 months
[JBoss JIRA] (TEIIDDES-2324) Rest Importer: Use invokeHTTP procedure with Named Parameters
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2324?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2324:
-----------------------------------
Fix Version/s: 9.0.1
> Rest Importer: Use invokeHTTP procedure with Named Parameters
> -------------------------------------------------------------
>
> Key: TEIIDDES-2324
> URL: https://issues.jboss.org/browse/TEIIDDES-2324
> Project: Teiid Designer
> Issue Type: …
[View More]Enhancement
> Affects Versions: 8.6
> Reporter: Ramesh Reddy
> Assignee: Ted Jones
> Fix For: 8.6.1, 9.0.1, 9.0
>
>
> When generating the transformation for rest procedure, in the invokeHTTP procedure, use named procedures. aka like
> invokeHTTP (action=>'GET', endpoint=>qp, stream=>'true')
> this way one can avoid putting the null parametes, as well as if there are additional parameters added to invokeHTTP as did in TEIID-3016 the generated procedure will be error free for next versions. I did see one error here with Teiid 8.9 Alpha, which is logged as TEIID-3107
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
[View Less]
10 years, 5 months
[JBoss JIRA] (TEIIDDES-2284) Preview Error for REST Web Service Source
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2284?page=com.atlassian.jira.plu... ]
Ted Jones resolved TEIIDDES-2284.
---------------------------------
Resolution: Done
> Preview Error for REST Web Service Source
> -----------------------------------------
>
> Key: TEIIDDES-2284
> URL: https://issues.jboss.org/browse/TEIIDDES-2284
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> …
[View More] Affects Versions: 8.6
> Reporter: Ted Jones
> Assignee: Ted Jones
> Priority: Blocker
> Fix For: 8.6.1, 9.0
>
> Attachments: GoogleRest.mps, GoogleRest.mps, googleRestCP.xml
>
>
> When previewing a procedure that invokes a REST web service source, I get the following error:
> select * from ( exec "ViewModel"."google"('toolbar','reciever') ) AS X_X
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30152 Failed to evaluate XQuery expression; Please check the query and correct errors in syntax or usage.
> However, if I add the view procedure to a VDB and deploy, I am able to execute without error.
> GOOGLE SEARCH URL: http://www.google.com/complete/search
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
[View Less]
10 years, 5 months
[JBoss JIRA] (TEIIDDES-2284) Preview Error for REST Web Service Source
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2284?page=com.atlassian.jira.plu... ]
Ted Jones updated TEIIDDES-2284:
--------------------------------
Attachment: GoogleRest.mps
> Preview Error for REST Web Service Source
> -----------------------------------------
>
> Key: TEIIDDES-2284
> URL: https://issues.jboss.org/browse/TEIIDDES-2284
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data …
[View More]Preview
> Affects Versions: 8.6
> Reporter: Ted Jones
> Assignee: Ted Jones
> Priority: Blocker
> Fix For: 8.6.1, 9.0
>
> Attachments: GoogleRest.mps, GoogleRest.mps, googleRestCP.xml
>
>
> When previewing a procedure that invokes a REST web service source, I get the following error:
> select * from ( exec "ViewModel"."google"('toolbar','reciever') ) AS X_X
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30152 Failed to evaluate XQuery expression; Please check the query and correct errors in syntax or usage.
> However, if I add the view procedure to a VDB and deploy, I am able to execute without error.
> GOOGLE SEARCH URL: http://www.google.com/complete/search
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
[View Less]
10 years, 5 months
[JBoss JIRA] (TEIIDDES-2324) Rest Importer: Use invokeHTTP procedure with Named Parameters
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2324?page=com.atlassian.jira.plu... ]
Ted Jones resolved TEIIDDES-2324.
---------------------------------
Release Notes Text: Changed generated REST procedure to use named parameters for invokeHttp().
Resolution: Done
> Rest Importer: Use invokeHTTP procedure with Named Parameters
> -------------------------------------------------------------
>
> Key: TEIIDDES-2324
> URL: https://issues.…
[View More]jboss.org/browse/TEIIDDES-2324
> Project: Teiid Designer
> Issue Type: Enhancement
> Affects Versions: 8.6
> Reporter: Ramesh Reddy
> Assignee: Ted Jones
> Fix For: 8.6.1, 9.0
>
>
> When generating the transformation for rest procedure, in the invokeHTTP procedure, use named procedures. aka like
> invokeHTTP (action=>'GET', endpoint=>qp, stream=>'true')
> this way one can avoid putting the null parametes, as well as if there are additional parameters added to invokeHTTP as did in TEIID-3016 the generated procedure will be error free for next versions. I did see one error here with Teiid 8.9 Alpha, which is logged as TEIID-3107
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
[View Less]
10 years, 5 months
[JBoss JIRA] (TEIIDDES-2284) Preview Error for REST Web Service Source
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2284?page=com.atlassian.jira.plu... ]
Ted Jones updated TEIIDDES-2284:
--------------------------------
Attachment: googleRestCP.xml
GoogleRest.mps
Attached working MPS and CP
> Preview Error for REST Web Service Source
> -----------------------------------------
>
> Key: TEIIDDES-2284
> URL: https://issues.jboss.org/browse/TEIIDDES-2284
> Project: Teiid Designer
…
[View More]> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 8.6
> Reporter: Ted Jones
> Assignee: Ted Jones
> Priority: Blocker
> Fix For: 8.6.1, 9.0
>
> Attachments: GoogleRest.mps, googleRestCP.xml
>
>
> When previewing a procedure that invokes a REST web service source, I get the following error:
> select * from ( exec "ViewModel"."google"('toolbar','reciever') ) AS X_X
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30152 Failed to evaluate XQuery expression; Please check the query and correct errors in syntax or usage.
> However, if I add the view procedure to a VDB and deploy, I am able to execute without error.
> GOOGLE SEARCH URL: http://www.google.com/complete/search
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
[View Less]
10 years, 5 months