Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341092 - Open XML Catalog prefs hangs when network is slow
Summary: Open XML Catalog prefs hangs when network is slow
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 08:31 EDT by Daniel Schneller CLA
Modified: 2011-03-30 12:56 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Schneller CLA 2011-03-28 08:31:08 EDT
Build Identifier: M20080911-1700

Having added several user defined entries for XML Schemas in the XML Catalog preferences page, opening the preferences page again when the network is slow or malfunctioning stalls the page, probably until all network related timeouts have passed.

It appears, the resolution of the URLs is done on the UI thread, which is not advisable. In my case it took about 45s to over a minute with only 6 or 7 custom schemas.


Reproducible: Always

Steps to Reproduce:
1. Add User Specified Entries with remote XSD Location in the XML Catalog prefs.
2. Sabotage Network
3. Open Preferences again - XML Catalog page will stall, depending on network availability.
Comment 1 Nitin Dahyabhai CLA 2011-03-28 19:06:30 EDT
Daniel, can you retry this with Helios instead of Ganymede, and if it still happening capture a stack trace for us to look at during this hang?  The information at http://wiki.eclipse.org/index.php/How_to_report_a_deadlock should be of use.
Comment 2 Daniel Schneller CLA 2011-03-30 03:54:20 EDT
(In reply to comment #1)
> Daniel, can you retry this with Helios instead of Ganymede, and if it still
> happening capture a stack trace for us to look at during this hang?  The
> information at http://wiki.eclipse.org/index.php/How_to_report_a_deadlock
> should be of use.

I did not have Helios here, but 3.7M6 (I20110310-1119) does not show the problem anymore. So apparently this has been fixed somewhere in between.
Comment 3 Nitin Dahyabhai CLA 2011-03-30 12:56:17 EDT
That's good to hear.  I trust you'll reopen this if you run into it again.