[JBoss JIRA] (TEIIDDES-3129) Create Web Service model from remote WSDL with digest authentication doesn't work
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3129?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3129:
-----------------------------------
Component/s: Import/Export
> Create Web Service model from remote WSDL with digest authentication doesn't work
> ---------------------------------------------------------------------------------
>
> Key: TEIIDDES-3129
> URL: https://issues.jboss.org/browse/TEIIDDES-3129
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.1
> Environment: Fedora 26
> Reporter: Matej Kralik
> Priority: Critical
>
> I want to create web service from remote WSDL File which has set digest security. I set URL, security type, username and password and click OK. Validate passed successful but the wizard is still as before and I am not able to continue. In the error log is this exception:
> {code:java}
> java.lang.IllegalArgumentException: Username may not be null
> at org.apache.http.util.Args.notNull(Args.java:54)
> at org.apache.http.auth.UsernamePasswordCredentials.<init>(UsernamePasswordCredentials.java:80)
> at org.teiid.designer.core.util.URLHelper.createFileFromUrlInternalwithDigest(URLHelper.java:236)
> at org.teiid.designer.core.util.URLHelper.createFileFromUrlwithDigest(URLHelper.java:146)
> at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage.addURLWsdlFile(WsdlSelectionPage.java:844)
> at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage.access$3(WsdlSelectionPage.java:830)
> at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage$3.execute(WsdlSelectionPage.java:481)
> at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite$6.run(WsdlFileSelectionComposite.java:318)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4497)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4110)
> 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.wizards.wsdl.WsdlFileSelectionComposite.handleAddURLWsdlFile(WsdlFileSelectionComposite.java:314)
> at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite.access$2(WsdlFileSelectionComposite.java:304)
> at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite$3.widgetSelected(WsdlFileSelectionComposite.java:147)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5268)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4522)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4107)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:158)
> at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
> at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:390)
> at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:151)
> at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:161)
> at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:99)
> at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:167)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
> at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5268)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4522)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4107)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
> 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:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> 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:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3121) Create Web Service model from remote WSDL doesn't work on Windows
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3121?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3121:
-----------------------------------
Component/s: Import/Export
> Create Web Service model from remote WSDL doesn't work on Windows
> -----------------------------------------------------------------
>
> Key: TEIIDDES-3121
> URL: https://issues.jboss.org/browse/TEIIDDES-3121
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1
> Environment: Windows 10 - 1703
> Reporter: Matej Kralik
> Priority: Critical
> Attachments: screenshot1.png, screenshot2.png
>
>
> Generate Web Service Model from remote WSDL file doesn't work on Windows 10. I set URL(screenshot1) and click OK (wsdl is validating and after that, the wizard is closed) but nothing happens (screenshot2). In the error log is this error:
> {code:java}
> java.io.FileNotFoundException: C:\Users\jboss\AppData\Local\Temp\C:\Users\jboss\AppData\Local\Temp\dv-test-ws_soap5924564139032425684.wsdl (The filename, directory name, or volume label syntax is incorrect)
> at java.io.FileOutputStream.open0(Native Method)
> at java.io.FileOutputStream.open(FileOutputStream.java:270)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
> at java.io.FileWriter.<init>(FileWriter.java:90)
> at org.teiid.designer.core.util.URLHelper.createFileFromUrlInternal(URLHelper.java:204)
> at org.teiid.designer.core.util.URLHelper.createFileFromUrl(URLHelper.java:192)
> at org.teiid.designer.core.util.URLHelper.createFileFromUrl(URLHelper.java:153)
> at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage.addURLWsdlFile(WsdlSelectionPage.java:848)
> at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage.access$3(WsdlSelectionPage.java:830)
> at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage$3.execute(WsdlSelectionPage.java:481)
> at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite$6.run(WsdlFileSelectionComposite.java:318)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
> 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.wizards.wsdl.WsdlFileSelectionComposite.handleAddURLWsdlFile(WsdlFileSelectionComposite.java:314)
> at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite.access$2(WsdlFileSelectionComposite.java:304)
> at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite$3.widgetSelected(WsdlFileSelectionComposite.java:147)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:158)
> at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
> at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:390)
> at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:151)
> at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:161)
> at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:99)
> at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:167)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
> at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
> at org.eclipse.reddeer.eclipse.core.UITestApplication.start(UITestApplication.java:57)
> 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:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> 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:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3129) Create Web Service model from remote WSDL with digest authentication doesn't work
by Matej Kralik (JIRA)
Matej Kralik created TEIIDDES-3129:
--------------------------------------
Summary: Create Web Service model from remote WSDL with digest authentication doesn't work
Key: TEIIDDES-3129
URL: https://issues.jboss.org/browse/TEIIDDES-3129
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 11.1.1
Environment: Fedora 26
Reporter: Matej Kralik
Priority: Critical
I want to create web service from remote WSDL File which has set digest security. I set URL, security type, username and password and click OK. Validate passed successful but the wizard is still as before and I am not able to continue. In the error log is this exception:
{code:java}
java.lang.IllegalArgumentException: Username may not be null
at org.apache.http.util.Args.notNull(Args.java:54)
at org.apache.http.auth.UsernamePasswordCredentials.<init>(UsernamePasswordCredentials.java:80)
at org.teiid.designer.core.util.URLHelper.createFileFromUrlInternalwithDigest(URLHelper.java:236)
at org.teiid.designer.core.util.URLHelper.createFileFromUrlwithDigest(URLHelper.java:146)
at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage.addURLWsdlFile(WsdlSelectionPage.java:844)
at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage.access$3(WsdlSelectionPage.java:830)
at org.teiid.designer.webservice.ui.wizard.WsdlSelectionPage$3.execute(WsdlSelectionPage.java:481)
at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite$6.run(WsdlFileSelectionComposite.java:318)
at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4497)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4110)
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.wizards.wsdl.WsdlFileSelectionComposite.handleAddURLWsdlFile(WsdlFileSelectionComposite.java:314)
at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite.access$2(WsdlFileSelectionComposite.java:304)
at org.teiid.designer.ui.wizards.wsdl.WsdlFileSelectionComposite$3.widgetSelected(WsdlFileSelectionComposite.java:147)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5268)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4522)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4107)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:158)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:390)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:151)
at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:161)
at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:99)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:167)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5268)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4522)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4107)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
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:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3128) For input string "1.0.0"
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3128?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-3128:
----------------------------------------
In Teiid 9.0, the VDB version number was changed from an *integer* to a string of format "1.2.3" (major, minor, patch).
Assuming you are using a teiid runtime server of 8.12.x or earlier, you'll get a validation warning in the problems view something like:
*The MyVDB VDB's version number 1.0.0 is not an integer and will not deploy to a Teiid runtime version less than 9.0. Your current default Teiid server version is: 8.12.11.*
Note that it's a warning and not an error. A pre Teiid 9.0 VDB can be deployed into Teiid 9.0 or greater but not necessarily the other way around.
> For input string "1.0.0"
> ------------------------
>
> Key: TEIIDDES-3128
> URL: https://issues.jboss.org/browse/TEIIDDES-3128
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 11.1
> Reporter: Shiloh Jordan
> Attachments: for input string.png, image-2017-10-27-16-51-30-101.png
>
>
> I am following the Guides view in Teiid Designer and I have done the following:
> * defined Teiid Model Project
> * Created JDBC connection
> * created source model for jdbc data source
> I am able to preview my data (although I do get the following error):
> "_Error occurred during deployment of VDB: PREVIEW- ....._"
> am not able to execute my VDB. I get this error message:
> For input string "1.0.0"
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3117) Dynamic VDB is not generated properly for UDF function
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3117?page=com.atlassian.jira.plu... ]
Matej Kralik commented on TEIIDDES-3117:
----------------------------------------
In my point of view, add a combo box to options tab in the 'Save as VDB XML file' wizard will be useful for users.
Users will choose whether they have already defined a module (and the designer will generate property as now) or they have only deployed jar file (and the designer will generate property differently).
F.e. combo list:
1. A module is already defined on the server (lib):
Designer add this property to dynamicVDB: <property name="lib" value="MyTestUdf-1.0-SNAPSHOT"/>
2. Jar is only deployed
Designer add this property to dynamicVDB: <property name="lib" value="deployment.MyTestUdf-1.0-SNAPSHOT.jar"/>
> Dynamic VDB is not generated properly for UDF function
> ------------------------------------------------------
>
> Key: TEIIDDES-3117
> URL: https://issues.jboss.org/browse/TEIIDDES-3117
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1
> Environment: Fedora 26
> Reporter: Matej Kralik
> Assignee: Barry LaFond
> Priority: Critical
> Fix For: 11.1.1
>
>
> I have a project with UDF function. I mark jar as deployable and it is on the server. Static VDB works fine, but when I generate dynamic VDB and want it to deploy on the server, the server shows me an error:
> {code:java}
> 15:50:26,282 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."myUdfVdb-vdb.xml".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."myUdfVdb-vdb.xml".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "myUdfVdb-vdb.xml"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:184) [jboss-as-server-7.5.16.Final-redhat-1.jar:7.5.16.Final-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2064) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1987) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: TEIID50088 Failed to load module MyTestUdf-1.0-SNAPSHOT for UDF in VDB myUdfVdb.1:org.jboss.modules.ModuleNotFoundException: MyTestUdf-1.0-SNAPSHOT:main
> at org.teiid.jboss.VDBDependencyDeployer.deploy(VDBDependencyDeployer.java:85)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:177) [jboss-as-server-7.5.16.Final-redhat-1.jar:7.5.16.Final-redhat-1]
> ... 5 more
> {code}
> According to EAP [documentation|https://access.redhat.com/documentation/en-US/JBoss_Enterpr...], a module is automatically created after jar file is deployed. Name of the module is *deployment.<runtime jar name>* however designer generated lib properties *only* with <jarFileName>.
> The name is wrong too because when designer deploying jar file, the runtime name is set with suffix (.jar f.e. runtime-name: "MyTestUdf-1.0-SNAPSHOT.jar")
> *Actual property*
> {code:java}
> <property name="lib" value="MyTestUdf-1.0-SNAPSHOT"/>
> {code}
> *Valid property*
> {code:java}
> <property name="lib" value="deployment.MyTestUdf-1.0-SNAPSHOT.jar"/>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3128) For input string "1.0.0"
by Shiloh Jordan (JIRA)
Shiloh Jordan created TEIIDDES-3128:
---------------------------------------
Summary: For input string "1.0.0"
Key: TEIIDDES-3128
URL: https://issues.jboss.org/browse/TEIIDDES-3128
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 11.1
Reporter: Shiloh Jordan
Attachments: for input string.png, image-2017-10-27-16-51-30-101.png
I am following the Guides view in Teiid Designer and I have done the following:
* defined Teiid Model Project
* Created JDBC connection
* created source model for jdbc data source
I am able to preview my data (although I do get the following error):
"_Error occurred during deployment of VDB: PREVIEW- ....._"
am not able to execute my VDB. I get this error message:
For input string "1.0.0"
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3107) Source model for file is not generated properly
by Shiloh Jordan (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3107?page=com.atlassian.jira.plu... ]
Shiloh Jordan commented on TEIIDDES-3107:
-----------------------------------------
I am still seeing this issue in Teiid Designer 11.1
My temporary workaround: I have removed 3 columns("lastModified", "created", "size") from the getTextFiles() procedure result from just one of my source models so now it just returns "file" and "filePath". The issue has been resolved.
When will this bug be fixed?
> Source model for file is not generated properly
> -----------------------------------------------
>
> Key: TEIIDDES-3107
> URL: https://issues.jboss.org/browse/TEIIDDES-3107
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1
> Environment: Fedora
> Reporter: Matej Kralik
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 11.1.1
>
> Attachments: FlatFileProject.zip, productdata_data.csv
>
>
> I generate source and view model from flat file. Preview data works fine. I create VDB and test it. I use the same query ( _select * from "ViewModelForFlatFile"."viewTable"_ ) as for the preview but it failed.
> Error:
> {code:java}
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30504 SourceModelForFlatFile: Inproper results returned. Expected 5 columns, but was 2
> {code}
> Error log from a server:
> {code:java}
> 17:16:30,075 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue1) Connector worker process failed for atomic-request=lOIYsaWz3vDW.0.3.0: java.lang.AssertionError: Inproper results returned. Expected 5 columns, but was 2
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.handleBatch(ConnectorWorkItem.java:439)
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.more(ConnectorWorkItem.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_121]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_121]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
> at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
> at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:211)
> at com.sun.proxy.$Proxy76.more(Unknown Source)
> at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:309)
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:112)
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121]
> at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:65)
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:280)
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
> {code}
> This issue is only when a flat file is local (because remote flat file uses another function in the source model (invokeHttp)).
> The same issue is with XML file.
> We noticed that old designer generated ReusltSet for procedure *getTextFiles* in the Source model with two parameters (file and filePath) but new designer generates ResultSet with five parameters (file, filePath, lastModified, created, size). This may be a problem.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3118) Error using option to generate xml from VDB
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3118?page=com.atlassian.jira.plu... ]
Andrej Podhradsky commented on TEIIDDES-3118:
---------------------------------------------
Please consider this issue as a blocker.
> Error using option to generate xml from VDB
> -------------------------------------------
>
> Key: TEIIDDES-3118
> URL: https://issues.jboss.org/browse/TEIIDDES-3118
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.1
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 11.1.1
>
> Attachments: designer.log, projectset.zip
>
>
> Using the attached project set. When the view model is included when trying the option: Modeling ==> Generate VDB XML and error is encountered.
> If I remove the view model and save the vdb, then try the generate option, it works.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (TEIIDDES-3118) Error using option to generate xml from VDB
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3118?page=com.atlassian.jira.plu... ]
Andrej Podhradsky updated TEIIDDES-3118:
----------------------------------------
Priority: Blocker (was: Major)
> Error using option to generate xml from VDB
> -------------------------------------------
>
> Key: TEIIDDES-3118
> URL: https://issues.jboss.org/browse/TEIIDDES-3118
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.1
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 11.1.1
>
> Attachments: designer.log, projectset.zip
>
>
> Using the attached project set. When the view model is included when trying the option: Modeling ==> Generate VDB XML and error is encountered.
> If I remove the view model and save the vdb, then try the generate option, it works.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month