Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 22143 - Update Manager hangs Eclipse (no cancel/gui)
Summary: Update Manager hangs Eclipse (no cancel/gui)
Status: RESOLVED DUPLICATE of bug 18598
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vlad Klicnik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-03 14:29 EDT by Michael Fraenkel CLA
Modified: 2002-09-04 18:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Fraenkel CLA 2002-08-03 14:29:19 EDT
I entered a site which is currently accepting connections but not responding 
with any data.  The current update support, will hang the UI and not timeout 
the connection as seen by the stack trace below.

    "main" (TID:0x9F19D8, sys_thread_t:0x3EB80, state:R, native ID:0xAE0) 
prio=5
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:113)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java(Compiled 
Code))
        at java.io.BufferedInputStream.read1(BufferedInputStream.java(Compiled 
Code))
        at java.io.BufferedInputStream.read(BufferedInputStream.java(Compiled 
Code))
        at java.io.FilterInputStream.read(FilterInputStream.java(Compiled 
Code))
        at java.io.PushbackInputStream.read(PushbackInputStream.java:178)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:672)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:531)
        at java.net.HttpURLConnection.getResponseCode
(HttpURLConnection.java:260)
        at 
org.eclipse.update.internal.core.UpdateManagerUtils.checkConnectionResult
(UpdateManagerUtils.java:490)
        at org.eclipse.update.internal.core.SiteURLFactory.createSite
(SiteURLFactory.java:49)
        at org.eclipse.update.internal.core.InternalSiteManager.createSite
(InternalSiteManager.java:186)
        at 
org.eclipse.update.internal.core.InternalSiteManager.attemptCreateSite
(InternalSiteManager.java:120)
        at org.eclipse.update.internal.core.InternalSiteManager.getSite
(InternalSiteManager.java:89)
        at org.eclipse.update.core.SiteManager.getSite(SiteManager.java:43)
        at org.eclipse.update.internal.ui.model.SiteBookmark.connect
(SiteBookmark.java:77)
        at org.eclipse.update.internal.ui.views.UpdatesView$11.run
(UpdatesView.java:664)
        at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:66)
        at org.eclipse.update.internal.ui.views.UpdatesView.performRefresh
(UpdatesView.java:655)
        at org.eclipse.update.internal.ui.views.UpdatesView.access$19
(UpdatesView.java:649)
        at org.eclipse.update.internal.ui.views.UpdatesView$6.run
(UpdatesView.java:398)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:749)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
        at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
        at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java
(Compiled Code))
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
(Compiled Code))
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java
(Compiled Code))
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
        at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:775)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
        at org.eclipse.core.launcher.Main.run(Main.java:698)
        at org.eclipse.core.launcher.Main.main(Main.java:534)
Comment 1 Dejan Glozic CLA 2002-09-04 18:19:53 EDT

*** This bug has been marked as a duplicate of 18598 ***