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

Bug 336176

Summary: Unable to launch Eclipse for non-root after rollback from 362 to 361
Product: [Eclipse Project] Equinox Reporter: Conan Chan <conanc>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: critical    
Priority: P3 CC: pascal, pwebster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Conan Chan CLA 2011-02-02 18:32:25 EST
Build Identifier: 

Most likely similar to Bug 329583, but in a rollback scenario.
This so far only reported on Linux only.

This error involved in Installing Eclipse as root, and run as non-root

After rollback to Eclipse 361 from 362.
the config.ini in the user(non-root) .eclipse directory were unchanged.
Therefore  osgi.framework still points to an Eclipse 3.6.2 jar (which doesn't exist)

As a result, when trying to launch Eclipse product as user, the user got the following error

!SESSION Wed Feb 02 17:49:08 EST 2011 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2011-02-02 17:49:08.819
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
	at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
	at org.eclipse.equinox.launcher.Main.run(Unknown Source)
	at org.eclipse.equinox.launcher.Main.main(Unknown Source)



Reproducible: Always
Comment 1 Pascal Rapicault CLA 2011-02-02 21:49:03 EST

*** This bug has been marked as a duplicate of bug 329583 ***
Comment 2 Conan Chan CLA 2011-02-14 14:10:00 EST
With newer IES build (based on Eclipse 3.6.2 RC2) I now getting a different error after rollback.
And the 3 parameter no longer helpful


Here is error in log.

!SESSION 2011-02-14 13:58:16.370 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr8-20100401_55940 (JIT enabled, AOT enabled)
J9VM - 20100401_055940
JIT  - r9_20100401_15339
GC   - 20100308_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2011-02-14 13:58:19.046
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of bundle org.eclipse.equinox.simpleconfigurator.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Unknown Source)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(Unknown Source)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: The System Bundle was updated. The framework must be restarted to finalize the configuration change
	at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(Unknown Source)
	at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(Unknown Source)
	at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(Unknown Source)
	at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Unknown Source)
	... 12 more
Root exception:
java.lang.IllegalStateException: The System Bundle was updated. The framework must be restarted to finalize the configuration change
	at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(Unknown Source)
	at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(Unknown Source)
	at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(Unknown Source)
	at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Unknown Source)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Unknown Source)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(Unknown Source)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Unknown Source)

!ENTRY org.eclipse.equinox.app 0 0 2011-02-14 13:58:20.344
!MESSAGE Product com.ibm.rational.rad.product.v80.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2011-02-14 13:58:20.532
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503 [3] is not active.
Comment 3 DJ Houghton CLA 2011-02-16 12:02:51 EST
This is an adopting product issue and not an Eclipse issue. I am able to install Eclipse 3.6.1, update to 3.6.2, rollback to 3.6.1, and run successfully.