Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328255 - Eclipse Helios crashes after GWT and App Engine plugin installation
Summary: Eclipse Helios crashes after GWT and App Engine plugin installation
Status: CLOSED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 11:20 EDT by stam CLA
Modified: 2013-02-28 00:48 EST (History)
7 users (show)

See Also:


Attachments
Eclipse log (stacktrace) (225.44 KB, text/plain)
2010-10-20 11:20 EDT, stam CLA
no flags Details
No eclipse updates (error log) (1.37 KB, text/plain)
2010-10-20 13:49 EDT, stam CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description stam CLA 2010-10-20 11:20:01 EDT
Build Identifier: unknown

Eclipse crashes after applying the GWT and App engine plugins from the Helios update site as provided by Google (http://dl.google.com/eclipse/plugin/3.6).

I have already tried the -nosplash option as mentioned in another bug but it does not resolve the issue.

Reproducible: Always

Steps to Reproduce:
1. Install GWT and App Engine for Helios from the update site
2. Restart Eclipse
3.
Comment 1 stam CLA 2010-10-20 11:20:59 EDT
Created attachment 181302 [details]
Eclipse log (stacktrace)
Comment 2 stam CLA 2010-10-20 11:30:11 EDT
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-9M3165)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)

Eclipse Helios latest stable build from website (x64)
Comment 3 Remy Suen CLA 2010-10-20 11:30:50 EDT
(In reply to comment #0)
> Eclipse crashes after applying the GWT and App engine plugins from the Helios
> update site as provided by Google (http://dl.google.com/eclipse/plugin/3.6).

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

> I have already tried the -nosplash option as mentioned in another bug but it
> does not resolve the issue.

What is this "another bug" you speak of?
Comment 5 Remy Suen CLA 2010-10-20 11:33:32 EDT
(In reply to comment #4)
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=321218

That's a crash in the VM and is orthogonal to your problem.
Comment 7 Remy Suen CLA 2010-10-20 11:42:28 EDT
(In reply to comment #6)
> Is this different from the 3.6.1 release you've posted here?

Your file is eclipse-jee-helios-SR1-macosx-cocoa-x86_64.tar.

The one I linked to is eclipse-SDK-3.6.1-macosx-cocoa-x86_64.tar.gz. And yes, their contents are different.
Comment 8 stam CLA 2010-10-20 11:47:31 EDT
(In reply to comment #7)
> (In reply to comment #6)
> > Is this different from the 3.6.1 release you've posted here?
> 
> Your file is eclipse-jee-helios-SR1-macosx-cocoa-x86_64.tar.
> 
> The one I linked to is eclipse-SDK-3.6.1-macosx-cocoa-x86_64.tar.gz. And yes,
> their contents are different.

I'm downloading this now and will update the bug accordingly after trying the gwt plugin install.
Comment 9 stam CLA 2010-10-20 12:26:30 EDT
I am not able to launch the GWT update site as this build doesn't allow me to do so. Says "it isn't configured for updates". Error log says its looking for "equinox".

Could you provide me info on how I should be proceeding? I considered this to be a configured build.
Comment 10 Remy Suen CLA 2010-10-20 12:28:42 EDT
(In reply to comment #9)
> I am not able to launch the GWT update site as this build doesn't allow me to
> do so. Says "it isn't configured for updates". Error log says its looking for
> "equinox".

Sounds like you have other problems to worry about. Please attach your log to this bug.
Comment 11 stam CLA 2010-10-20 13:49:36 EDT
Created attachment 181320 [details]
No eclipse updates (error log)
Comment 12 Fernando Miguélez CLA 2010-11-05 11:56:32 EDT
I am experiencing the same problem. I tried both 64 bit and 32 bit versions or Helios R1 (J2EE version), downloaded from RedIris.es mirror.

I have just updated Java SDK 1.6 to 1.6.22 (Mac Java Update 3) and the problem persits.

I am running Snow Leopard on a iMac (March 2009 model)
Comment 13 Thomas Spellman CLA 2011-01-29 09:44:13 EST
I too am having this problem.  I tried with the helios 64 and 32bit J2EE packages, and the java developers package.  I also tried downloading the SpringSource addons, and used its extensions feature to install first a recent eclipse patch to prevent a crash, and then did the google plugin through that, and it also crashed. I also tried downloading the SpringSource version of Eclipse, installed the patch and then the google plugin, and that does NOT crash.

I found that startup can be restored by moving the google plugins out of the eclipse/plugins folder.  During startup, the last module shown on the splash screen before the crash appears to be com.google.gdt.eclipse.suit

I just downloaded the Eclipse SDK version linked above (eclipse-SDK-3.6.1-macosx-cocoa-x86_64.tar.gz), and when I select Help->Install New Software ... I get a popup that says: "Cannot complete this request.  The installation has not been configured properly for Software Updates.  See the error log for details."  The workspace log shows:  

!SESSION 2011-01-29 15:34:54.163 -----------------------------------------------
eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/thomas/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/thomas/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2011-01-29 15:35:52.434
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2011-01-29 15:36:19.442
!MESSAGE Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file.

!ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2011-01-29 15:38:42.541
!MESSAGE Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file.

!ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2011-01-29 15:39:41.383
!MESSAGE Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file.
 

T
Comment 14 Thomas Spellman CLA 2011-01-29 09:52:30 EST
(In reply to comment #13)

The following is the log entry that occurs each time the Install Software error pops up.
This is a Macbook running Mac OS X 10.6.5. 

T

> !ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2011-01-29 15:36:19.442
> !MESSAGE Could not locate the running profile instance. The
> eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly
> in this application's config.ini file.
Comment 15 Pascal Rapicault CLA 2011-01-31 09:47:41 EST
I just tried to reproduce this bug but without success.
Somehow I suspect that the archive you have downloaded is corrupted.
Could you please do a recursive listing of eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/ and paste it here. Thx.
Comment 16 Thomas Spellman CLA 2011-01-31 22:40:27 EST
(In reply to comment #15)
> I just tried to reproduce this bug but without success.
> Somehow I suspect that the archive you have downloaded is corrupted.
> Could you please do a recursive listing of
> eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/ and paste it here.
> Thx.

You must be right.  I just redownloaded the SDK, and it allowed the install software menu option this time.   I was able to get the google code update and reboot just fine.  Maybe I downloaded the other one over my UDP based VPN while I had other downloads going or something .... 

Thanks!

T
Comment 17 Pascal Rapicault CLA 2011-01-31 22:41:53 EST
Closing.
Comment 18 jzaruba CLA 2012-08-22 12:32:12 EDT
The same thing has just happened to me. (Indigo + GPE 3.7) Nothing suspicious happened during the download/install process. Shouldn't there be way of handling these situations? Merely closing the bug does not feel right. The title of this bug is still valid: if Eclipse happens to apply a corrupted archive it basically becomes a dead pile of folders. I hope I don't sound harsh/offensive, but it seems like the bug has been closed just because you have been able to re-install Eclipse...?

Cheers
 JZ
Comment 19 Peter Bryzgalov CLA 2013-02-28 00:48:26 EST
> The same thing has just happened to me. (Indigo + GPE 3.7)

I had the same problem: after installation of plugins Eclipse wouldn't start. (Mac OSX Lion, Eclipse Indigo)

During installation I have mistakenly selected https://dl.google.com/eclipse/plugin/4.2 server. Installation quit with an error, and than I installed plugins from https://dl.google.com/eclipse/plugin/3.7. After that Eclipse wouldn't start. 

The problem seems to be that the wrong server https://dl.google.com/eclipse/plugin/4.2 got saved in the list of available sites and since "contact all update sites during install..." was selected, some files were downloaded from wrong location (so they were wrong files).

I deleted all new files from eclipse plugin folder. Updated Eclipse (just in case). Deleted https://dl.google.com/eclipse/plugin/4.2 from available sites (there is a link "Available Software Sites" under "Add" button of Install new software dialog box). 
Then I opened "About eclipse"/"Installation details" "Installed software" tab and uninstalled google plugins.

After that I installed plugins from https://dl.google.com/eclipse/plugin/3.7 and now it works OK!