Bug 142057 - Crash when performing refactoring
Summary: Crash when performing refactoring
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux-GTK
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-05-16 15:03 EDT by Geert CLA
Modified: 2009-08-30 02:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geert CLA 2006-05-16 15:03:55 EDT
Whenever I try to perform a rename refactoring the eclipse IDE crashes. The refactoring starts as usual, but just when it's about to end (before saving the refactored classes), the IDE dissappears.

This is what's in the log file:

!SESSION 2006-05-15 20:09:59.215 -----------------------------------------------
eclipse.buildId=I20060428-1315
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data /home/gpremer/src/eclipse3.2-wkspc

!ENTRY org.eclipse.core.expressions 4 4 2006-05-15 21:10:21.714
!MESSAGE Unknown expression element objectClass

!ENTRY system.bundle 4 0 2006-05-15 21:23:55.835
!MESSAGE FrameworkEvent.ERROR
!SESSION Mon May 15 21:23:58 CEST 2006 -----------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 !SESSION 2006-05-16 20:30:32.963 -----------------------------------------------
eclipse.buildId=I20060428-1315
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data /home/gpremer/src/eclipse3.2-wkspc

!ENTRY org.eclipse.core.resources 2 10035 2006-05-16 20:30:45.440
!MESSAGE A workspace crash was detected. The previous session did not exit normally.

!ENTRY org.eclipse.core.expressions 4 4 2006-05-16 20:32:03.851
!MESSAGE Unknown expression element objectClass
Comment 1 Olivier Thomann CLA 2006-05-16 15:06:59 EDT
Could you please provide a VM dump?
What VM are you using? Are you on 64bits or 32bits platform ?

Also could you please try with 3.2RC4? You are using 3.2RC2.
Thanks.
Comment 2 Geert CLA 2006-05-17 02:34:17 EDT
I'm on an AMD 64 Platform (JDK + Eclipse). Will try RC4 when I'm home from work. Saw this problem occurring in earlier milestones too.
Comment 3 Geert CLA 2006-05-17 02:39:18 EDT
(In reply to comment #1)
> Could you please provide a VM dump?

Can you advise how to provide a VM dump? There's nothing beyond what I already sent in the logs. I appears eclipse takes the whole VM down in a very hard way, so eclipse is possibly just triggering a bug in the JDK. Will try on a JDK1.6beta as well.
Comment 4 Olivier Thomann CLA 2006-05-17 09:27:31 EDT
Open a console with -consolelog on the Eclipse command line.
You might also want to check bug 71987.
This is likely a dup.
Comment 5 Olivier Thomann CLA 2006-05-17 09:27:56 EDT
The VM dump should be located in your current user directory.
Comment 6 Philipe Mulet CLA 2006-05-17 10:54:12 EDT
Moving to UI
Comment 7 Geert CLA 2006-05-17 12:00:09 EDT
(In reply to comment #6)
> Moving to UI
> 

(In reply to comment #4)
> Open a console with -consolelog on the Eclipse command line.
> You might also want to check bug 71987.
> This is likely a dup.
> 

Checked bug 71897, but that one should be fixed in 1.5.0_06, which I'm using. 

Anyway, checked with jdk1.6beta/3.2RC2 and jdk1.5.0_06/3.2RC4 and can't reproduce the bug. So far so good. Then tried jdk1.5.0/3.2RC2 but can't reproduce either! Bug 71987 suggests that the state of the workspace may have an influence. Did multiple "--clean"s to use the other JVM/Eclipse combinations, so this may have had an effect.

Will keep on using jdk1.5.0/3.2RC2 for a while to try and trigger a crash condition & will keep you posted.

Comment 8 Martin Aeschlimann CLA 2006-05-17 12:34:13 EDT
setting to 'remind' until you have more information or we find a similar problem.
Comment 9 Denis Roy CLA 2009-08-30 02:06:43 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.