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

Bug 106413

Summary: JDT Java editor hangs Eclipse (sometimes) after quick fix
Product: [Eclipse Project] JDT Reporter: Stephen Winnall <stephen.winnall>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: andre_weinand
Version: 3.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Stephen Winnall CLA 2005-08-08 18:09:33 EDT
I use Eclipse 3.1 under Mac OS X 10.4.2.

Eclipse flags programming errors in Java with a white diagonal cross in a little red square.
Clicking on this icon invokes a pop-up menu containing quick fixes. Normally, one of the
quick fixes is what I want to do so I select the appropriate one and all works wonderfully.

However, when there is not an appropriate quick fix on offer, I click somewhere else in
the editor window to make the pop-up disappear. Mostly, this works OK. Occasionally,
however, Eclipse just hangs. If I am lucky, the menubar will still respond to a click on
"File -> Exit", but as often as not I have to do a force quit on Eclipse (which is shown in
the forced quit dialogue to be "not responding").

Discussion on Java-dev@lists.apple.com reveals that other people have this problem too (though not 
all). It doesn't seem to be a new bug but has been around a while (since Mac OS X 10.3 and Eclipse 3.0 
at least). One user says "I would estimate this occurs approximately 20-30% of the time I
select the quick fix".

Another user says 
"I have reinstalled Eclipse 3.1 several times (different builds) from
scratch, partly to attempt to resolve this issue, partly to keep up with the
versions and make sure I was not causing the lockups by propagating the
problem by simply upgrading."

It is - unfortunately - not an immediately reproducible bug, which is why I haven't reported it before.
Comment 1 Andre Weinand CLA 2005-08-13 04:56:54 EDT
Sounds like a JDT UI problem (or even a Mac specific SWT problem).
Moving it to JDT UI.

Since I've never experienced it, I'll try to start quick fix with the mouse (instead of the keyboard), to see 
whether I can reproduce it.
Comment 2 Stephen Winnall CLA 2005-08-13 08:54:42 EDT
Further discussion in the user group seems to indicate that the problem does *not* happen if the pop-ups 
are dismissed with the ESC key (as opposed to clicking somewhere else with the mouse).
Comment 3 Dani Megert CLA 2005-08-15 12:47:08 EDT

*** This bug has been marked as a duplicate of 100705 ***