[JBoss JIRA] (TEIIDDES-3224) Unable to use REST importer in a proxied environment
by Matej Kralik (Jira)
[ https://issues.jboss.org/browse/TEIIDDES-3224?page=com.atlassian.jira.plu... ]
Matej Kralik commented on TEIIDDES-3224:
----------------------------------------
Hi, I have not tried it with the proxy server yet, however, without the proxy server, when I add a url (e.g. https://raw.github.com/SmartBear/soapui-sample-projects/master/Flickr/Fli...) to the wizard and I click on the Is Proxy checkbox, the NPE is thrown in the ErrorLog
{code:java}
java.lang.NullPointerException
at org.teiid.designer.datatools.profiles.ws.WSProfileDetailsWizardPage.internalComplete(WSProfileDetailsWizardPage.java:676)
at org.teiid.designer.datatools.profiles.ws.WSProfileDetailsWizardPage.canFlipToNextPage(WSProfileDetailsWizardPage.java:638)
at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1278)
at org.eclipse.jface.wizard.WizardPage.setPageComplete(WizardPage.java:293)
at org.teiid.designer.datatools.profiles.ws.WSProfileDetailsWizardPage.updateState(WSProfileDetailsWizardPage.java:622)
at org.teiid.designer.datatools.profiles.ws.WSProfileDetailsWizardPage.setProperty(WSProfileDetailsWizardPage.java:535)
at org.teiid.designer.datatools.profiles.ws.WSProfileDetailsWizardPage.handleProxyChange(WSProfileDetailsWizardPage.java:519)
at org.teiid.designer.datatools.profiles.ws.WSProfileDetailsWizardPage.access$0(WSProfileDetailsWizardPage.java:508)
at org.teiid.designer.datatools.profiles.ws.WSProfileDetailsWizardPage$2.widgetSelected(WSProfileDetailsWizardPage.java:193)
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:5686)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1370)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4940)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4518)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.teiid.designer.transformation.ui.wizards.rest.TeiidRestImportSourcePage.createNewConnectionProfile(TeiidRestImportSourcePage.java:999)
at org.teiid.designer.transformation.ui.wizards.rest.TeiidRestImportSourcePage$3.widgetSelected(TeiidRestImportSourcePage.java:264)
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:5686)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1370)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4940)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4518)
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:93)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:318)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:252)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:161)
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:204)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:393)
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:5686)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1370)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4940)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4518)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
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:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
{code}
> Unable to use REST importer in a proxied environment
> ----------------------------------------------------
>
> Key: TEIIDDES-3224
> URL: https://issues.jboss.org/browse/TEIIDDES-3224
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.2.1
> Environment: TMG/Sophos proxy
> Reporter: Marc Shirley
> Priority: Major
>
> User is unable to contact any remote sites that go through their proxy when using REST importer. The connection attempt just times out.
> Utilizing eclipse workaround in [1] allows them to update JBDS and plugins successfully.
> [1] https://wiki.eclipse.org/Disabling_Apache_Httpclient
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months