Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 211066

Summary: RecorderException when HTTP recording with Internet Explorer on Windows XP.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: TPTPAssignee: DuWayne Morris <dmorris>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P1 Keywords: plan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 189128    

Description Paul Slauenwhite CLA 2007-11-27 10:02:00 EST
RecorderException when HTTP recording with Internet Explorer on Windows XP.

org.eclipse.hyades.execution.recorder.RecorderException: Unable to modify your Internet Explorer options for HTTP Recording.
 Please right-click on the eclipse executable and click 'Run as administrator'.
	at org.eclipse.hyades.internal.recorder.http.util.RecorderParamHelper.handleInvalidProxySettings(RecorderParamHelper.java:315)
	at org.eclipse.hyades.internal.recorder.http.util.RecorderParamHelper.getRecorderParams(RecorderParamHelper.java:61)
	at org.eclipse.tptp.test.tools.internal.recorder.http.providers.HttpRecorderWizardProvider.doFinish(HttpRecorderWizardProvider.java:65)
	at org.eclipse.tptp.test.internal.recorder.ui.wizards.NewTestFromRecordingWizard.performFinish(NewTestFromRecordingWizard.java:95)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:615)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Comment 1 Paul Slauenwhite CLA 2007-11-27 10:02:49 EST
Duwayne, please target to an iteration and add a sizing.
Comment 2 DuWayne Morris CLA 2007-11-27 11:19:08 EST
Hi Paul,

Added sizing.

I am not able to see this problem using the latest source code in a runtime workbench instance.

I have an installed 11-05 TPTP build and then pulled in the latest source from CVS for the following:

org.eclipse.hyades.test.core
org.eclipse.hyades.test.tools.core
org.eclipse.hyades.test.tools.ui
org.eclipse.hyades.test.ui

If this is blocking, let me know and we can do a net meeting to investigate.  I would also like to see if this can be reproduced from an official build.

I assume you are running logged in as a member of the administrator group on XP.  If not, there would likely be a valid error in being able to run regedit that would produce these results.  (I made no attempt to change behavior on XP when implementing the recorder changes for Vista).

The error message is obviously incorrect to some extent, it should not say right click "Run as Administrator" when running XP, that message only applies to Vista.  That would need to be corrected.

DuWayne







Comment 3 DuWayne Morris CLA 2007-11-27 11:27:35 EST
setting target to 4.5i4.
Comment 4 Paul Slauenwhite CLA 2007-12-04 12:15:30 EST
(In reply to comment #2)

Thanks Duwayne. 

I have reproduced this problem with the TPTP SDK (TPTP-4.5.0M3).

I am logged in with admin privileges on XP.
Comment 5 DuWayne Morris CLA 2007-12-11 09:57:58 EST
Changing target to 4.5i5.  The investigation did not get done before the end of i4 due to other priorities.
Comment 6 Paul Slauenwhite CLA 2008-01-21 14:41:34 EST
Duwayne and I could only reproduce this system on my XP machine for the first URL recording (IAC and 4.5.0-200801210400).
Comment 7 Paul Slauenwhite CLA 2008-01-30 12:14:21 EST
Deferred from I5 to I6 with PMC approval.
Comment 8 Paul Slauenwhite CLA 2008-02-25 12:35:20 EST

*** This bug has been marked as a duplicate of bug 189128 ***
Comment 9 Paul Slauenwhite CLA 2008-02-25 12:36:00 EST
Closing.