Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359772 - Deadlock, with repository indexing in the background, editing a pom plugin version
Summary: Deadlock, with repository indexing in the background, editing a pom plugin ve...
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 17:41 EDT by Andy Brook CLA
Modified: 2021-04-19 13:22 EDT (History)
1 user (show)

See Also:


Attachments
Thread dump of eclipse after the deadlock (33.00 KB, text/plain)
2011-10-03 17:44 EDT, Andy Brook CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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/