Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352065 - Eclipse Hangs forever building workspace / setting classpath containers
Summary: Eclipse Hangs forever building workspace / setting classpath containers
Status: CLOSED DUPLICATE of bug 347183
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 05:51 EDT by Michael Wenig CLA
Modified: 2021-04-19 13:22 EDT (History)
3 users (show)

See Also:


Attachments
Workspace Log File (131.58 KB, application/octet-stream)
2011-07-14 05:51 EDT, Michael Wenig CLA
no flags Details
Eclipse-Config (516.98 KB, text/plain)
2011-07-14 06:00 EDT, Michael Wenig CLA
no flags Details
Thread Dump (32.73 KB, text/plain)
2011-07-14 07:31 EDT, Michael Wenig CLA
no flags Details
thread dump in hung state (15.24 KB, text/plain)
2011-12-08 11:48 EST, Udid CLA
no flags Details

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