]
Barry LaFond reassigned TEIIDDES-2991:
--------------------------------------
Assignee: Barry LaFond (was: Ted Jones)
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
Fix For: 11.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.