Bug#462360: cant run Eclipse (FrameworkEvent.ERROR, Startup error)

eM.Scheierling eM at wahahn.de
Thu Jan 24 09:06:20 UTC 2008


Package: eclipse
Version: 3.2.1-4

Hi,
dont know whether thats a severe bug or only me being unskilled with Linux:

I installed the packages eclipse and free-java-sdk on Debian etch, all 
stable, all up-to-date.
After adding
/usr/lib/fjsdk
to /etc/eclipse/java_home Eclipse manages to display its blue 
StartUp-Dialog but then crashes with error message.

Running
$ eclipse -debug
gives the following output:
=================================================
searching for compatible vm...
   testing /usr/lib/fjsdk...found
Start VM: /usr/lib/fjsdk/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 170011
-install /usr/lib/eclipse
-debug
-vm /usr/lib/fjsdk/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
Install location:
     file:/usr/lib/eclipse/
Configuration file:
     file:/usr/lib/eclipse/configuration/config.ini loaded
Configuration location:
     file:/home/em/.eclipse/org.eclipse.platform_3.2.0/configuration/
Configuration file:
 
file:/home/em/.eclipse/org.eclipse.platform_3.2.0/configuration/config.ini 
not found or not read
Shared configuration location:
     file:/usr/lib/eclipse/configuration/
Framework located:
     file:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar
Framework classpath:
     file:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar
Splash location:
 
/usr/lib/eclipse/plugins/org.eclipse.platform_3.2.0.v20060601/splash.bmp
runCommand:
 
</usr/lib/eclipse/eclipse><-name><Eclipse><-showsplash><600></usr/lib/eclipse/plugins/org.eclipse.platform_3.2.0.v20060601/splash.bmp>
Debug options:
     file:/home/em/.options not found
runCommand:
     </usr/lib/eclipse/eclipse><-name><Eclipse><-exitdata><170011><An 
error has occurred.  See the log file
/home/em/.eclipse/org.eclipse.platform_3.2.0/configuration/1201163815512.log>
=================================================


The logfile reads as follows:
=================================================
!SESSION 2008-01-24 09:36:55.087 
-----------------------------------------------
eclipse.buildId=M20060921-0945
java.version=1.4.2
java.vendor=SableVM Project
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -debug

!ENTRY system.bundle 4 0 2008-01-24 09:36:56.796
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in 
org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() 
of bundle system.bundle.
    at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator 
(BundleContextImpl.java:1010)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start 
(BundleContextImpl.java:966)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles 
(StartLevelManager.java:549)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL 
(StartLevelManager.java:484)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel 
(StartLevelManager.java:275)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch 
(StartLevelManager.java:245)
    at org.eclipse.osgi.framework.internal.core.SystemBundle.resume 
(SystemBundle.java:155)
    at org.eclipse.osgi.framework.internal.core.Framework.launch 
(Framework.java:503)
    at org.eclipse.osgi.framework.internal.core.OSGi.launch (OSGi.java:51)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup 
(EclipseStarter.java:289)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
(EclipseStarter.java:173)
    at java.lang.reflect.Method.invokeNative (Method.java)
    at java.lang.reflect.Method.invoke (Method.java:616)
    at org.eclipse.core.launcher.Main.invokeFramework (Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun (Main.java:280)
    at org.eclipse.core.launcher.Main.run (Main.java:977)
    at org.eclipse.core.launcher.Main.main (Main.java:952)
    at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
    at java.lang.VirtualMachine.main (VirtualMachine.java:108)
Caused by: java.lang.IllegalStateException
    at 
org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState 
(BaseStorage.java:654)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager 
(BaseStorage.java:634)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.getPlatformAdmin 
(BaseAdaptor.java:385)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStart 
(EclipseAdaptorHook.java:80)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart 
(BaseAdaptor.java:260)
    at 
org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start 
(SystemBundleActivator.java:55)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run 
(BundleContextImpl.java:991)
    at java.security.AccessController.doPrivileged 
(AccessController.java:154)
    at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator 
(BundleContextImpl.java:985)
    ...18 more
Root exception:
java.lang.IllegalStateException
    at 
org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState 
(BaseStorage.java:654)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager 
(BaseStorage.java:634)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.getPlatformAdmin 
(BaseAdaptor.java:385)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStart 
(EclipseAdaptorHook.java:80)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart 
(BaseAdaptor.java:260)
    at 
org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start 
(SystemBundleActivator.java:55)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run 
(BundleContextImpl.java:991)
    at java.security.AccessController.doPrivileged 
(AccessController.java:154)
    at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator 
(BundleContextImpl.java:985)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start 
(BundleContextImpl.java:966)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles 
(StartLevelManager.java:549)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL 
(StartLevelManager.java:484)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel 
(StartLevelManager.java:275)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch 
(StartLevelManager.java:245)
    at org.eclipse.osgi.framework.internal.core.SystemBundle.resume 
(SystemBundle.java:155)
    at org.eclipse.osgi.framework.internal.core.Framework.launch 
(Framework.java:503)
    at org.eclipse.osgi.framework.internal.core.OSGi.launch (OSGi.java:51)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup 
(EclipseStarter.java:289)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
(EclipseStarter.java:173)
    at java.lang.reflect.Method.invokeNative (Method.java)
    at java.lang.reflect.Method.invoke (Method.java:616)
    at org.eclipse.core.launcher.Main.invokeFramework (Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun (Main.java:280)
    at org.eclipse.core.launcher.Main.run (Main.java:977)
    at org.eclipse.core.launcher.Main.main (Main.java:952)
    at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
    at java.lang.VirtualMachine.main (VirtualMachine.java:108)

!ENTRY org.eclipse.osgi 4 0 2008-01-24 09:36:57.212
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in 
org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() 
of bundle system.bundle.
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles 
(StartLevelManager.java:557)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL 
(StartLevelManager.java:484)
    at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel 
(StartLevelManager.java:275)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch 
(StartLevelManager.java:245)
    at org.eclipse.osgi.framework.internal.core.SystemBundle.resume 
(SystemBundle.java:155)
    at org.eclipse.osgi.framework.internal.core.Framework.launch 
(Framework.java:503)
    at org.eclipse.osgi.framework.internal.core.OSGi.launch (OSGi.java:51)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup 
(EclipseStarter.java:289)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
(EclipseStarter.java:173)
    at java.lang.reflect.Method.invokeNative (Method.java)
    at java.lang.reflect.Method.invoke (Method.java:616)
    at org.eclipse.core.launcher.Main.invokeFramework (Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun (Main.java:280)
    at org.eclipse.core.launcher.Main.run (Main.java:977)
    at org.eclipse.core.launcher.Main.main (Main.java:952)
    at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
    at java.lang.VirtualMachine.main (VirtualMachine.java:108)
!SESSION Thu Jan 24 09:36:57 GMT+01:00 2008 
------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2008-01-24 09:36:57.258
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run 
(EclipseStarter.java:186)
    at java.lang.reflect.Method.invokeNative (Method.java)
    at java.lang.reflect.Method.invoke (Method.java:616)
    at org.eclipse.core.launcher.Main.invokeFramework (Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun (Main.java:280)
    at org.eclipse.core.launcher.Main.run (Main.java:977)
    at org.eclipse.core.launcher.Main.main (Main.java:952)
    at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
    at java.lang.VirtualMachine.main (VirtualMachine.java:108)
=================================================

Maybe eclipse wants another VM?
Or some more packages?
Or just a configuration problem?

Greetings
Mechthild






More information about the pkg-java-maintainers mailing list