Bug 287302 - while browsing in ATF can't log-in
Summary: while browsing in ATF can't log-in
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ATF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 10:16 EDT by Jacek Pospychala CLA
Modified: 2020-05-07 10:51 EDT (History)
0 users

See Also:


Attachments
patch (5.07 KB, patch)
2009-08-26 05:56 EDT, Jacek Pospychala CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Pospychala CLA 2009-08-21 10:16:44 EDT
Steps to Reproduce:
1. Run in Mozilla
2. Go to mail.google.com, or www.facebook.com
3. Try to log-in.

Submit doesn't work
Comment 1 Jacek Pospychala CLA 2009-08-25 09:59:29 EDT
It doesn't happen with 1.8.1.3
Comment 2 Jacek Pospychala CLA 2009-08-25 10:41:13 EDT
Reproducible when form method is post and action is http or https. If it's local file then all works fine.

<html>
<head>
<title>Test</title>
</head>
<body>
<form action="http://localhost/sample.html" method="post">
 <input type="submit"/>
</form>
</body>
</html>

Comment 3 Jacek Pospychala CLA 2009-08-25 11:35:01 EDT
The root cause trace:

org.mozilla.xpcom.XPCOMException: The function "seek" returned an error condition  (0x80470002)
	at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
	at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
	at $Proxy16.seek(Unknown Source)
	at org.eclipse.atf.mozilla.ide.ui.netmon.model.impl.MozHTTPRequest.extractBody(MozHTTPRequest.java:114)
	at org.eclipse.atf.mozilla.ide.ui.netmon.model.impl.MozHTTPRequest.<init>(MozHTTPRequest.java:58)
	at org.eclipse.atf.mozilla.ide.ui.netmon.model.impl.MozHTTPRequest.<init>(MozHTTPRequest.java:44)
	at org.eclipse.atf.mozilla.ide.ui.netmon.model.impl.MozHTTPCall.createRequest(MozHTTPCall.java:42)
	at org.eclipse.atf.mozilla.ide.ui.netmon.model.impl.MozHTTPCall.captureRequest(MozHTTPCall.java:38)
	at org.eclipse.atf.mozilla.ide.ui.netmon.MozNetworkMonitorAdapter.observeRequest(MozNetworkMonitorAdapter.java:276)
	at org.eclipse.atf.mozilla.ide.ui.netmon.MozNetworkMonitorAdapter.observe(MozNetworkMonitorAdapter.java:226)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Comment 4 Jacek Pospychala CLA 2009-08-26 05:56:13 EDT
Created attachment 145654 [details]
patch

It seems that the problem is caused by closing http channel input stream.
It makes sense because we only read it and don't open, so why should we close.
Comment 5 Jacek Pospychala CLA 2009-08-26 06:21:06 EDT
FIXED
Comment 6 Jacek Pospychala CLA 2010-04-09 08:53:50 EDT
Update fixed bugs Target Milestone as part of pre-release bugzilla cleanup.