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

Bug 350669

Summary: Right click on Maven Project leads to Eclipse freezing
Product: z_Archived Reporter: Konrad Windszus <konrad_w>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: igor, mkleint
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Eclipse Configuration
none
Thread Dump Native Mac
none
Thread Dump Java (Windows)
none
Thread Dump Java (Mac) none

Description Konrad Windszus CLA 2011-06-29 04:53:09 EDT
Build Identifier:  20110615-0604

Just right click on a Maven Project in Eclipse Indigo and Eclipse freezes completely. Attached is my Eclipse configuration. This can be reproduced on Mac OS X as well. Right click on other projects don't lead to that behaviour therefore the error is probably within m2e.

Reproducible: Always
Comment 1 Konrad Windszus CLA 2011-06-29 04:53:40 EDT
Created attachment 198801 [details]
Eclipse Configuration
Comment 2 Igor Fedorenko CLA 2011-06-29 04:59:12 EDT
Can you attach jvm thread dump when Eclipse is this "hung" state?
Comment 3 Konrad Windszus CLA 2011-06-29 05:15:35 EDT
I cannot really create a thread dump, since the whole JVM seems to be down then. But I attached the error report from the mac.
Comment 4 Konrad Windszus CLA 2011-06-29 05:15:57 EDT
Created attachment 198805 [details]
Thread Dump Native Mac
Comment 5 Milos Kleint CLA 2011-06-29 05:18:19 EDT
you should be able to get the thread dump using the cmdline jstack.exe tool from jdk. or using the visualvm application (also shipped as part of the jvm)
Comment 6 Konrad Windszus CLA 2011-06-29 05:22:54 EDT
Created attachment 198807 [details]
Thread Dump Java (Windows)

I finally was able to create the thread dump on Windows. Seems to be some issue with the logger.
Comment 7 Konrad Windszus CLA 2011-06-29 05:27:26 EDT
Created attachment 198809 [details]
Thread Dump Java (Mac)

Another Java Thread Dump shows the same problem, but this time with Mac.
Comment 8 Igor Fedorenko CLA 2011-06-29 05:34:16 EDT

*** This bug has been marked as a duplicate of bug 347183 ***
Comment 9 Konrad Windszus CLA 2011-06-29 05:39:31 EDT
Is there any workaround? I can't wait for 3.7.1. In comment 9 of bug 347183 someone says: 

You should probably open a separate bug against the m2e team.  It is not a good
idea for these two log redirectors to be pointing to each other through
logback.

What do you think?
Comment 10 Igor Fedorenko CLA 2011-06-29 05:45:09 EDT
We (m2e development team) offered to work with other eclipse projects on a common slf4j configuration, but our offer went unanswered. There is nothing we can do.
http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg05659.html

As a workaround, try to uninstall org.eclipse.m2e.logback.feature feature.
Comment 11 Konrad Windszus CLA 2011-06-29 11:22:12 EDT
*** Bug 350671 has been marked as a duplicate of this bug. ***
Comment 12 Denis Roy CLA 2021-04-19 13:27:13 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/