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

Bug 352065

Summary: Eclipse Hangs forever building workspace / setting classpath containers
Product: z_Archived Reporter: Michael Wenig <michael.wenig>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: benjamin.jung, igor, udidav
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Workspace Log File
none
Eclipse-Config
none
Thread Dump
none
thread dump in hung state none

Description Michael Wenig CLA 2011-07-14 05:51:40 EDT
Created attachment 199646 [details]
Workspace Log File

I installed m2e 1.0 on Indigo using a fresh workspace. After checking out some projects a build started which does not end.

On each startup m2e tries to set up the class path containers and seems to hang forever (I left it several hours).

Unfortunately I do not find anything helpfull in the log file. 

Some parts to note if they are relevant:

- We are not able to reach the internet
- We are using a local nexus 
- We are using external Maven 2.2.1 
- Nexus config is not in user directory - we therefore put the maven 2.2.1 config as public config to embededded
Comment 1 Michael Wenig CLA 2011-07-14 06:00:16 EDT
Created attachment 199647 [details]
Eclipse-Config

Attached is also the currently used eclipse config
Comment 2 Igor Fedorenko CLA 2011-07-14 06:09:35 EDT
Can you provide JVM thread dump when Eclipse is in the "hung" state?
Comment 3 Michael Wenig CLA 2011-07-14 07:31:30 EDT
Created attachment 199651 [details]
Thread Dump

Attached is a thread dump which was created after eclipse being about 1 minute stuck.
Comment 4 Igor Fedorenko CLA 2011-07-14 08:33:49 EDT

*** This bug has been marked as a duplicate of bug 347183 ***
Comment 5 Udid CLA 2011-12-08 11:48:01 EST
Created attachment 208104 [details]
thread dump in hung state
Comment 6 Udid CLA 2011-12-08 11:56:01 EST
I am testing with eclipse-SDK-4.2M3-macosx-cocoa-x86_64
and m2e-1.1.0.20111108-0328
I was expecting the bug to be resolved but
it still hung during "setting classpath containers" with 100% during build

The thread dump in hunged state is attached
Comment 7 Igor Fedorenko CLA 2011-12-08 12:15:41 EST
(In reply to comment #6)
> I am testing with eclipse-SDK-4.2M3-macosx-cocoa-x86_64
> and m2e-1.1.0.20111108-0328
> I was expecting the bug to be resolved but
> it still hung during "setting classpath containers" with 100% during build
> 
> The thread dump in hunged state is attached

This is a separate problem. From what I can tell, resource filtering gets in an endless loop expanding ${property}. Please open a new bugreport and attach a sample standalone project and steps to reproduce the problem.
Comment 8 Denis Roy CLA 2021-04-19 13:22:39 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/