[JBoss JIRA] (TEIIDDES-3034) Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3034?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3034:
-----------------------------------
Fix Version/s: 11.1
> Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
> ----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-3034
> URL: https://issues.jboss.org/browse/TEIIDDES-3034
> Project: Teiid Designer
> Issue Type: Enhancement
> Reporter: Barry LaFond
> Assignee: Barry LaFond
> Fix For: 11.1
>
>
> testing and debugging for TEIIDDES-2783 exposed an issue when importing a procedure containing a RETURNS data type and no result set.
> The transformation resolving framework contains logic that will auto-create a result set containing a generated column.
> We need to catch this use-case and prevent the result set from being created using this simple DDL input
> {code}
> CREATE VIRTUAL PROCEDURE ProcedureWithRS (
> stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description')
> ) RETURNS string(255) OPTIONS(ANNOTATION 'Example') AS
> BEGIN
> SELECT stringIN AS result;
> END
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-3034) Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3034?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-3034:
----------------------------------------
Note that exporting a virtual procedure with no result set, but an RETURN parameter ends up with the following, which is equivalent to the DDL in the description
{code}
CREATE VIRTUAL PROCEDURE ProcedureWithRS (
IN stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description'),
OUT resultSet string(255) RESULT
) OPTIONS(ANNOTATION 'Example', UPDATECOUNT '1')
AS
BEGIN
SELECT test_vp.ProcedureWithRS.stringIN AS result;
END;
{code}
> Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
> ----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-3034
> URL: https://issues.jboss.org/browse/TEIIDDES-3034
> Project: Teiid Designer
> Issue Type: Enhancement
> Reporter: Barry LaFond
>
> testing and debugging for TEIIDDES-2783 exposed an issue when importing a procedure containing a RETURNS data type and no result set.
> The transformation resolving framework contains logic that will auto-create a result set containing a generated column.
> We need to catch this use-case and prevent the result set from being created using this simple DDL input
> {code}
> CREATE VIRTUAL PROCEDURE ProcedureWithRS (
> stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description')
> ) RETURNS string(255) OPTIONS(ANNOTATION 'Example') AS
> BEGIN
> SELECT stringIN AS result;
> END
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-3034) Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3034?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3034:
-----------------------------------
Description:
testing and debugging for TEIIDDES-2783 exposed an issue when importing a procedure containing a RETURNS data type and no result set.
The transformation resolving framework contains logic that will auto-create a result set containing a generated column.
We need to catch this use-case and prevent the result set from being created using this simple DDL input
{code}
CREATE VIRTUAL PROCEDURE ProcedureWithRS (
stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description')
) RETURNS string(255) OPTIONS(ANNOTATION 'Example') AS
BEGIN
SELECT stringIN AS result;
END
{code}
was:
testing and debugging for TEIIDDES-2783 exposed an issue when importing a procedure containing a RETURNS data type and no result set.
The transformation resolving framework contains logic that will auto-create a result set containing a generated column.
We need to catch this use-case and prevent the result set from being created using this simple DDL input
{code}
CREATE VIRTUAL PROCEDURE ProcedureWithRS (
stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description')
) RETURNS string(255) OPTIONS(ANNOTATION 'Example') AS
BEGIN
SELECT stringIN AS result;
END
{code}
> Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
> ----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-3034
> URL: https://issues.jboss.org/browse/TEIIDDES-3034
> Project: Teiid Designer
> Issue Type: Enhancement
> Reporter: Barry LaFond
>
> testing and debugging for TEIIDDES-2783 exposed an issue when importing a procedure containing a RETURNS data type and no result set.
> The transformation resolving framework contains logic that will auto-create a result set containing a generated column.
> We need to catch this use-case and prevent the result set from being created using this simple DDL input
> {code}
> CREATE VIRTUAL PROCEDURE ProcedureWithRS (
> stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description')
> ) RETURNS string(255) OPTIONS(ANNOTATION 'Example') AS
> BEGIN
> SELECT stringIN AS result;
> END
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-3034) Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-3034:
--------------------------------------
Summary: Importing Virtual Procedure DDL containing a simple RETURNS type add a Result Set to procedure
Key: TEIIDDES-3034
URL: https://issues.jboss.org/browse/TEIIDDES-3034
Project: Teiid Designer
Issue Type: Enhancement
Reporter: Barry LaFond
testing and debugging for TEIIDDES-2783 exposed an issue when importing a procedure containing a RETURNS data type and no result set.
The transformation resolving framework contains logic that will auto-create a result set containing a generated column.
We need to catch this use-case and prevent the result set from being created using this simple DDL input
{code}
CREATE VIRTUAL PROCEDURE ProcedureWithRS (
stringIN string(4000) OPTIONS(ANNOTATION 'parameter 1 description')
) RETURNS string(255) OPTIONS(ANNOTATION 'Example') AS
BEGIN
SELECT stringIN AS result;
END
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-2783) Need to add support for parsing OPTIONS in procedure statements
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2783?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2783:
----------------------------------------
[~mmakovy] Note that we can't really detect, with certainty, if imported DDL is targeted for a Virtual model or a source model. The second error/image indicates you tried to import a CREATE VIRTUAL PROCEDURE into a relational source model and it failed because it doesn't support the Transformation metamodel.
.. and we should be able to perform some pre-checks and warn the user and at least we could catch the exception and clean up the use-case.
> Need to add support for parsing OPTIONS in procedure statements
> ---------------------------------------------------------------
>
> Key: TEIIDDES-2783
> URL: https://issues.jboss.org/browse/TEIIDDES-2783
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, ModeShape Integration, Patch Release
> Reporter: Barry LaFond
> Assignee: Dan Florian
> Fix For: 11.0.1
>
> Attachments: 1.png, 2.png, procedureProject.zip, screenshot1.png
>
>
> The procedure DDL syntax supports OPTIONS() clause for procedure, parameter, result set, result set columns and datatype (RETURNS) clause.
> CreateProcedureParser.parseReturnsClause() is not processing any OPTIONS() for procedure when RETURNS is just a datatype. See: https://docs.jboss.org/author/display/TEIID/BNF+for+SQL+Grammar#BNFforSQL...
> Should be able to parse the following and set the EMF *Description* (Annotation) value when imported into Designer
> {code}
> CREATE FOREIGN PROCEDURE ProcedureWithRS (
> newParameter_1 string(4000) OPTIONS(ANNOTATION 'parameter 1 description'),
> newParameter_2 string(4000)
> ) RETURNS string(255) OPTIONS(ANNOTATION 'Example')
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-2991) Cannot generate REST war in TD
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2991?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2991.
----------------------------------
Resolution: Done
> Cannot generate REST war in TD
> ------------------------------
>
> Key: TEIIDDES-2991
> URL: https://issues.jboss.org/browse/TEIIDDES-2991
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: MAC
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Critical
> Labels: release_notes
> Fix For: 11.0.1
>
> Attachments: project.zip
>
>
> When I right click the VDB and select Modeling -> generate REST WAR I get this excetption:
> {code:java}
> java.lang.Exception: no suitable method found for create(org.teiid.query.parser.TeiidParser,org.teiid.query.parser.TeiidNodeFactory.ASTNodes)
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,org.teiid.query.parser.TeiidNodeFactory.ASTNodes) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,int) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createResourceJavaClasses(RestWebArchiveBuilderImpl.java:608)
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createWebArchive(RestWebArchiveBuilderImpl.java:226)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.execute(RestWarDeploymentInfoDialog.java:214)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog$1.run(RestWarDeploymentInfoDialog.java:169)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.okPressed(RestWarDeploymentInfoDialog.java:178)
> at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.open(RestWarDeploymentInfoDialog.java:190)
> at org.teiid.designer.runtime.ui.actions.GenerateRestWarAction.run(GenerateRestWarAction.java:150)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> 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:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.jboss.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:47)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
> Project attached.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-2991) Cannot generate REST war in TD
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2991?page=com.atlassian.jira.plu... ]
Matus Makovy commented on TEIIDDES-2991:
----------------------------------------
Never mind, that was an issue of my set-up. Server was running with Java 7 and JBDS with 8.
> Cannot generate REST war in TD
> ------------------------------
>
> Key: TEIIDDES-2991
> URL: https://issues.jboss.org/browse/TEIIDDES-2991
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: MAC
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Critical
> Labels: release_notes
> Fix For: 11.0.1
>
> Attachments: project.zip
>
>
> When I right click the VDB and select Modeling -> generate REST WAR I get this excetption:
> {code:java}
> java.lang.Exception: no suitable method found for create(org.teiid.query.parser.TeiidParser,org.teiid.query.parser.TeiidNodeFactory.ASTNodes)
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,org.teiid.query.parser.TeiidNodeFactory.ASTNodes) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,int) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createResourceJavaClasses(RestWebArchiveBuilderImpl.java:608)
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createWebArchive(RestWebArchiveBuilderImpl.java:226)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.execute(RestWarDeploymentInfoDialog.java:214)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog$1.run(RestWarDeploymentInfoDialog.java:169)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.okPressed(RestWarDeploymentInfoDialog.java:178)
> at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.open(RestWarDeploymentInfoDialog.java:190)
> at org.teiid.designer.runtime.ui.actions.GenerateRestWarAction.run(GenerateRestWarAction.java:150)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> 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:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.jboss.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:47)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
> Project attached.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-2991) Cannot generate REST war in TD
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2991?page=com.atlassian.jira.plu... ]
Matus Makovy reopened TEIIDDES-2991:
------------------------------------
> Cannot generate REST war in TD
> ------------------------------
>
> Key: TEIIDDES-2991
> URL: https://issues.jboss.org/browse/TEIIDDES-2991
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: MAC
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Critical
> Labels: release_notes
> Fix For: 11.0.1
>
> Attachments: project.zip
>
>
> When I right click the VDB and select Modeling -> generate REST WAR I get this excetption:
> {code:java}
> java.lang.Exception: no suitable method found for create(org.teiid.query.parser.TeiidParser,org.teiid.query.parser.TeiidNodeFactory.ASTNodes)
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,org.teiid.query.parser.TeiidNodeFactory.ASTNodes) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,int) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createResourceJavaClasses(RestWebArchiveBuilderImpl.java:608)
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createWebArchive(RestWebArchiveBuilderImpl.java:226)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.execute(RestWarDeploymentInfoDialog.java:214)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog$1.run(RestWarDeploymentInfoDialog.java:169)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.okPressed(RestWarDeploymentInfoDialog.java:178)
> at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.open(RestWarDeploymentInfoDialog.java:190)
> at org.teiid.designer.runtime.ui.actions.GenerateRestWarAction.run(GenerateRestWarAction.java:150)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> 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:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.jboss.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:47)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
> Project attached.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-2991) Cannot generate REST war in TD
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2991?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2991.
----------------------------------
Release Notes Text: Never mind, that was an issue of my set-up. Server was running with Java 7 and JBDS with 8.
Resolution: Done
> Cannot generate REST war in TD
> ------------------------------
>
> Key: TEIIDDES-2991
> URL: https://issues.jboss.org/browse/TEIIDDES-2991
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: MAC
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Critical
> Labels: release_notes
> Fix For: 11.0.1
>
> Attachments: project.zip
>
>
> When I right click the VDB and select Modeling -> generate REST WAR I get this excetption:
> {code:java}
> java.lang.Exception: no suitable method found for create(org.teiid.query.parser.TeiidParser,org.teiid.query.parser.TeiidNodeFactory.ASTNodes)
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,org.teiid.query.parser.TeiidNodeFactory.ASTNodes) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,int) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createResourceJavaClasses(RestWebArchiveBuilderImpl.java:608)
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createWebArchive(RestWebArchiveBuilderImpl.java:226)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.execute(RestWarDeploymentInfoDialog.java:214)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog$1.run(RestWarDeploymentInfoDialog.java:169)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.okPressed(RestWarDeploymentInfoDialog.java:178)
> at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.open(RestWarDeploymentInfoDialog.java:190)
> at org.teiid.designer.runtime.ui.actions.GenerateRestWarAction.run(GenerateRestWarAction.java:150)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> 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:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.jboss.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:47)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
> Project attached.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (TEIIDDES-2991) Cannot generate REST war in TD
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2991?page=com.atlassian.jira.plu... ]
Matus Makovy updated TEIIDDES-2991:
-----------------------------------
Release Notes Text: (was: Never mind, that was an issue of my set-up. Server was running with Java 7 and JBDS with 8.)
> Cannot generate REST war in TD
> ------------------------------
>
> Key: TEIIDDES-2991
> URL: https://issues.jboss.org/browse/TEIIDDES-2991
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: MAC
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Critical
> Labels: release_notes
> Fix For: 11.0.1
>
> Attachments: project.zip
>
>
> When I right click the VDB and select Modeling -> generate REST WAR I get this excetption:
> {code:java}
> java.lang.Exception: no suitable method found for create(org.teiid.query.parser.TeiidParser,org.teiid.query.parser.TeiidNodeFactory.ASTNodes)
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,org.teiid.query.parser.TeiidNodeFactory.ASTNodes) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> method org.teiid.query.parser.TeiidNodeFactory.<T>create(org.teiid.designer.runtime.version.spi.ITeiidServerVersion,int) is not applicable
> (cannot infer type-variable(s) T
> (argument mismatch; org.teiid.query.parser.TeiidParser cannot be converted to org.teiid.designer.runtime.version.spi.ITeiidServerVersion))
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createResourceJavaClasses(RestWebArchiveBuilderImpl.java:608)
> at org.teiid.designer.runtime.ui.wizards.webservices.util.RestWebArchiveBuilderImpl.createWebArchive(RestWebArchiveBuilderImpl.java:226)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.execute(RestWarDeploymentInfoDialog.java:214)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog$1.run(RestWarDeploymentInfoDialog.java:169)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.okPressed(RestWarDeploymentInfoDialog.java:178)
> at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.teiid.designer.runtime.ui.wizards.webservices.RestWarDeploymentInfoDialog.open(RestWarDeploymentInfoDialog.java:190)
> at org.teiid.designer.runtime.ui.actions.GenerateRestWarAction.run(GenerateRestWarAction.java:150)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> 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:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.jboss.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:47)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
> Project attached.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months