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

Bug 359772

Summary: Deadlock, with repository indexing in the background, editing a pom plugin version
Product: z_Archived Reporter: Andy Brook <javahollic>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: major    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Thread dump of eclipse after the deadlock none

Description Andy Brook CLA 2011-10-03 17:41:18 EDT
Build Identifier: 20110615-0604

Whilst background repository indexing is ongoing, looks like interaction with the currently missing / in progress update data that results from that index, like version auto-complete, results in a deadlock

Reproducible: Always

Steps to Reproduce:
1. With indexes updating (it takes a while)
2. open a pom in the POM editor (XML view) and manually key in a plugin version tag: <version></version>
3. If I click between the tags and hit Ctrl-space (hoping for a version auto-complete), eclipse deadlocks.
Comment 1 Andy Brook CLA 2011-10-03 17:43:18 EDT
p.s. m2e integration version is 1.0.0.20110607
Comment 2 Andy Brook CLA 2011-10-03 17:44:31 EDT
Created attachment 204477 [details]
Thread dump of eclipse after the deadlock
Comment 3 Igor Fedorenko CLA 2011-10-03 19:51:57 EDT
Technically, this is not a deadlock, the GUI will eventually show the proposals. Still, I agree that observed behaviour is wrong, GUI should not wait for index download to complete but provide some feedback that the index is not available yet.
Comment 4 Igor Fedorenko CLA 2013-09-29 09:20:54 EDT
closing old/stale bugreports
Comment 5 Denis Roy CLA 2021-04-19 13:22:39 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/