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

Bug 352809

Summary: POM Editor hangs on Auto-complete
Product: z_Archived Reporter: Andreas Schoeneck <as.maps>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: minor    
Priority: P3 CC: igor, matthew
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=350271
Whiteboard:
Attachments:
Description Flags
Eclipse Threaddump (by VisualVM) none

Description Andreas Schoeneck CLA 2011-07-21 19:24:46 EDT
Created attachment 200135 [details]
Eclipse Threaddump (by VisualVM)

Whenever I use auto complete in the POM editor (i.e. Plugin Name Completion or Plugin Configuration Items Completion) the editor hangs and so does Eclipse.

Steps to reproduce
------------------
Open a POM in the POM editor. Add a build/plugins/plugin node. Add a groupId node. 
Scenario a) Press Ctrl+Space to get any suggestions for an available groupId.
Scenario b) Enter the plugin data manually and add a configuration node. Type < (open tag).

Actual results
--------------
Eclipse hangs.

Expected results
----------------
a) Eclipse presents me a list of available groupIds or an error message/standard list if the list is not available (after some time).
b) A list with possible configuration elements is displayed to the user or an error message/standard list if this list is not available (after some time).

Build date & platform
---------------------
Eclipse Indigo Release 20110615-0604
Maven Integration for Elipse 1.0.0.20110607-2117
Windows 7 SP1 x64

Additional info
---------------
Find a full thread/stack dump of the hung Eclipse attached.
Comment 1 Matthew Piggott CLA 2011-07-23 11:47:27 EDT
It appears to be downloading the repository index
Comment 2 Andreas Schoeneck CLA 2011-07-23 12:02:42 EDT
(In reply to comment #1)
> It appears to be downloading the repository index

Confirmed. Download is very slow though.

After waiting for the download to complete the editor seems usable again.

Maybe the users should be noticed that a repository index download is in progress (best would be to show exact state in percent), should they?
Comment 3 Igor Fedorenko CLA 2013-09-28 23:51:34 EDT
closing old/stale bugreports
Comment 4 Denis Roy CLA 2021-04-19 13:26:19 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/