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

Bug 327089

Summary: Crash on startup after installation of GWT & AppEngine Plugins
Product: [Eclipse Project] Platform Reporter: Valery <sentromed>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: P3 CC: eclipse.felipe, remy.suen
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Access violation
none
Security Warning
none
New project
none
Installed none

Description Valery CLA 2010-10-06 07:07:05 EDT
Build Identifier: 3.6.1

It look the similar to Bug 321218, but on Windows XP and eclipse v. 3.6.1

After installed GWT http://dl.google.com/eclipse/plugin/3.6, I pressed "Restart Now". Eclipse shows splash screen, Workspace Launcher dialod, Loading com.google. (do not see other text), and terminates.
Eclipse IDE for Java Developers, Win XP SP3, Java 6 update 21.

-nosplash - does the same issue.

I do not know how to 'attached call stack dump' and where to get it.

Reproducible: Always

Steps to Reproduce:
1. Download and unzip Eclipse IDE for Java Developers
2. Install GWT and App Engine SDKs from http://dl.google.com/eclipse/plugin/3.6
3. Restart Eclipse.
Comment 1 Remy Suen CLA 2010-10-06 08:20:57 EDT
Are you using the HotSpot VM from Sun/Oracle? Do you have any hs_err_pid log files lying around? If yes, please attach them to this bug.

Do you get the problem with the Eclipse SDK?
http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php

Do your coworkers and colleagues experience the same problem?
Comment 2 Valery CLA 2010-10-06 10:52:39 EDT
Created attachment 180338 [details]
Access violation
Comment 3 Valery CLA 2010-10-06 10:53:30 EDT
(In reply to comment #2)
> Created an attachment (id=180338) [details]
> Access violation

(In reply to comment #1)
> Are you using the HotSpot VM from Sun/Oracle? Do you have any hs_err_pid log
> files lying around? If yes, please attach them to this bug.
> 
> Do you get the problem with the Eclipse SDK?
> http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php
> 
> Do your coworkers and colleagues experience the same problem?

-HotSpot VM
F:\>java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)

-hs_err_pid
did not find it. But I attached the log from Windbg with the access violation.

-Eclipse SDK.
what should I do with it? Download and install into eclipse folder?

-coworkers and colleagues
I work alone.
Comment 4 Remy Suen CLA 2010-10-06 10:55:23 EDT
Comment on attachment 180338 [details]
Access violation

(In reply to comment #3)
> -Eclipse SDK.
> what should I do with it? Download and install into eclipse folder?

No, never unzip one Eclipse on top of another. That is an unsupported mode of upgrade/installation. Unzip it in a new folder and try to reproduce the problem.
Comment 5 Valery CLA 2010-10-06 11:00:06 EDT
(In reply to comment #4)
> (From update of attachment 180338 [details])
> (In reply to comment #3)
> > -Eclipse SDK.
> > what should I do with it? Download and install into eclipse folder?
> 
> No, never unzip one Eclipse on top of another. That is an unsupported mode of
> upgrade/installation. Unzip it in a new folder and try to reproduce the
> problem.

When I tryed  to download I get the note:
The Eclipse 3.3 - 3.6 launchers for Windows have a problem with the Oracle/Sun Java VM version '1.6.0_21'. You have two choices to work around this:

Should I download Eclipse SDK anyway or install Java v 1.6.0_20 ?
Comment 6 Remy Suen CLA 2010-10-06 11:22:41 EDT
(In reply to comment #5)
> When I tryed  to download I get the note:
> The Eclipse 3.3 - 3.6 launchers for Windows have a problem with the Oracle/Sun
> Java VM version '1.6.0_21'.

That warning applies for your "Eclipse IDE for Java Developers" download too actually so it is technically "irrelevant". If this was a problem for you, it would've been a problem with your other download already.
Comment 7 Valery CLA 2010-10-06 12:24:25 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > When I tryed  to download I get the note:
> > The Eclipse 3.3 - 3.6 launchers for Windows have a problem with the Oracle/Sun
> > Java VM version '1.6.0_21'.
> 
> That warning applies for your "Eclipse IDE for Java Developers" download too
> actually so it is technically "irrelevant". If this was a problem for you, it
> would've been a problem with your other download already.

I did not see the warning downloading "Eclipse IDE for Java Developers".
I will try 1.6.20 and reply.
Comment 8 Remy Suen CLA 2010-10-06 12:58:10 EDT
(In reply to comment #7)
> I did not see the warning downloading "Eclipse IDE for Java Developers".
> I will try 1.6.20 and reply.

Right, it doesn't appear for that download. However, my point is that the problem the warning speaks of is a _general_ problem with the Eclipse launcher and is not dependent on which download you got.
Comment 9 Valery CLA 2010-10-06 13:05:43 EDT
(In reply to comment #8)
> (In reply to comment #7)
> > I did not see the warning downloading "Eclipse IDE for Java Developers".
> > I will try 1.6.20 and reply.
> 
> Right, it doesn't appear for that download. However, my point is that the
> problem the warning speaks of is a _general_ problem with the Eclipse launcher
> and is not dependent on which download you got.

I switched Java to 1.6.0_20

F:\>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

Eclipse crashes.

Most probably it depends on 'installation of GWT'. Because eclipse started ok before it.

At my previous reply, I attached stack trace. May that can help.
Comment 10 Valery CLA 2010-10-07 06:30:09 EDT
(In reply to comment #8)
> (In reply to comment #7)
> > I did not see the warning downloading "Eclipse IDE for Java Developers".
> > I will try 1.6.20 and reply.
> 
> Right, it doesn't appear for that download. However, my point is that the
> problem the warning speaks of is a _general_ problem with the Eclipse launcher
> and is not dependent on which download you got.

I installed Eclipse SDK from the link you provided.

My steps:
1. Download, unzip Eclipse SDK.
2. Start Eclipse SDK. 
result => started OK.
3. Install "Google Plugin for Eclipse" from http://code.google.com/eclipse/docs/getting_started.html
during installation I got the warning (attachement 'warning'). I pressed OK.
4. Press 'Restart Now'.
It DOES NOT crash.
5. File->New->Project. There is no 'google' projects there (attachement 'new project'). 
6. Help->Install New Software. Select 'Google plugins' and press Next. There was the message box that they are already installed (attachement 'installed').

So there are two issues:
1. Eclipse 3.6.1 crashes after installing "Google Plugin for Eclipse".
2. Eclipse SDK does not show 'Google Projects' after installing "Google Plugin for Eclipse".

Is there any ideas what I can try now?
Comment 11 Valery CLA 2010-10-07 06:30:45 EDT
Created attachment 180408 [details]
Security Warning
Comment 12 Valery CLA 2010-10-07 06:31:03 EDT
Created attachment 180409 [details]
New project
Comment 13 Valery CLA 2010-10-07 06:31:20 EDT
Created attachment 180410 [details]
Installed
Comment 14 Valery CLA 2010-10-07 10:20:49 EDT
I tryed to do all from the biginning. 

Steps:
1. unzip Eclipse IDE for Java Developers into new folder.
2. Install GWT and App Engine SDKs from http://dl.google.com/eclipse/plugin/3.6
3. Restart Eclipse.

Eclipse did not crash.

The only difference is java version 1.6.0_20 instead of 1.6.0_21.

So now everything works for me as expected.

But I still have crashed version. If you are interested in it, I will glad to help. Otherwise the bug can be closed.
Comment 15 Felipe Heidrich CLA 2010-10-18 11:14:02 EDT
> So now everything works for me as expected.
> But I still have crashed version. If you are interested in it, I will glad to
> help. Otherwise the bug can be closed.

I suspect your old setup was corrupt. Closing this bug as works for me (you).
Let us know if the problem comes back. Thank you.