Grupos de Google ya no admite nuevas publicaciones ni suscripciones de Usenet. El contenido anterior sigue siendo visible.

Bug#342789: eclipse: Eclipse crashes at startup

Visto 0 veces
Saltar al primer mensaje no leído

xavier...@free.fr

no leída,
10 dic 2005, 8:20:0710/12/05
a
Subject: eclipse: Eclipse crashes at startup
Package: eclipse
Version: 3.1.1-6
Severity: important

*** Please type your report below this line ***

apt-get install eclipse on up to date sid.
Then just type eclispe. It craches at startup with this log
in /home/gnata/.eclipse/org.eclipse.platform_3.1.1/configuration/
:

!SESSION Sat Dec 10 00:22:17 GMT+01:00 2005 ------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2005-12-10 00:22:17.507
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException:
org.eclipse.core.runtime.adaptor.EclipseStarter not found in
org.eclipse.core.launcher.Main$StartupClassLoader{urls=[], parent=null}
at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at org.eclipse.core.launcher.Main.invokeFramework(java.lang.String[],
java.net.URL[])
(/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
at org.eclipse.core.launcher.Main.basicRun(java.lang.String[])
(/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
at org.eclipse.core.launcher.Main.run(java.lang.String[])
(/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
at org.eclipse.core.launcher.Main.main(java.lang.String[])
(/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

If you need more info juste ask me.


-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2-3
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages eclipse depends on:
ii eclipse-jdt 3.1.1-6 Java Development Tools plug-ins fo
ii eclipse-pde 3.1.1-6 Plug-in Development Environment to
ii eclipse-source 3.1.1-6 Eclipse source code plug-ins

eclipse recommends no packages.

-- no debconf information

Stephan Michels

no leída,
10 dic 2005, 9:10:0710/12/05
a
Can you please try to execute eclipse with the -clean argument?

xavier...@free.fr

no leída,
10 dic 2005, 11:20:1310/12/05
a
Quoting Stephan Michels <stephan...@gmail.com>:

> Can you please try to execute eclipse with the -clean argument?
>

Thanks for your quick answer.

Same problem with eclipse -clean :

!SESSION Sat Dec 10 16:55:40 GMT+01:00 2005 ------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2005-12-10 16:55:40.977


!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarte
r not found in
org.eclipse.core.launcher.Main$StartupClassLoader{urls=[], parent
=null}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.
0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgc
j.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.
0)
at org.eclipse.core.launcher.Main.invokeFramework(java.lang.String[], java.ne
t.URL[])
(/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so
)
at org.eclipse.core.launcher.Main.basicRun(java.lang.String[]) (/usr/lib/ecli
pse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
at org.eclipse.core.launcher.Main.run(java.lang.String[]) (/usr/lib/eclipse/p
lugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
at org.eclipse.core.launcher.Main.main(java.lang.String[]) (/usr/lib/eclipse/
plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

Xavier

Stephan Michels

no leída,
10 dic 2005, 11:50:1110/12/05
a
On 12/10/05, xavier...@free.fr <xavier...@free.fr> wrote:
> Quoting Stephan Michels <stephan...@gmail.com>:
>
> > Can you please try to execute eclipse with the -clean argument?
> >
>
> Thanks for your quick answer.
>
> Same problem with eclipse -clean :

Can you please send the list of eclipse packages you have installed
with "dpkg -l | grep eclipse"

Thank you, Stephan Michels.

xavier...@free.fr

no leída,
10 dic 2005, 13:40:1310/12/05
a
Quoting Stephan Michels <stephan...@gmail.com>:

No pb. I'm sorry but I'm a "eclipse/java devel" beginner so I don't know what
could help.

ii eclipse 3.1.1-6 Extensible Tool
Platform and Java IDE
ii eclipse-jdt 3.1.1-6 Java
Development Tools plug-ins for Eclipse
ii eclipse-jdt-common 3.1.1-6 Java
Development Tools plug-ins for Eclipse (common files)
ii eclipse-jdt-gcj 3.1.1-6 Java
Development Tools plug-ins for Eclipse (GCJ version)
ii eclipse-pde 3.1.1-6 Plug-in
Development Environment to develop Eclipse plug-in
ii eclipse-pde-common 3.1.1-6 Plug-in
Development Environment to develop Eclipse plug-in
ii eclipse-pde-gcj 3.1.1-6 Plug-in
Development Environment to develop Eclipse plug-in
ii eclipse-platform 3.1.1-6 Eclipse
platform without plug-ins to develop any language
ii eclipse-platform-common 3.1.1-6 Eclipse
platform without plug-ins to develop any language
ii eclipse-platform-gcj 3.1.1-6 Eclipse
platform without plug-ins to develop any language
ii eclipse-rcp 3.1.1-6 Eclipse rich
client platform
ii eclipse-rcp-common 3.1.1-6 Eclipse rich
client platform (common files)
ii eclipse-rcp-gcj 3.1.1-6 Eclipse rich
client platform (GCJ version)


ii eclipse-source 3.1.1-6 Eclipse source
code plug-ins

ii libgcj6-src 4.0.2-5j2 libgcj java
sources for use in eclipse


Xavier.

Stephan Michels

no leída,
10 dic 2005, 16:40:0610/12/05
a
> No pb. I'm sorry but I'm a "eclipse/java devel" beginner so I don't know what
> could help.

Your help is very appreciated. AFAICS your installation seems to be fine.

> ii libgcj6-src 4.0.2-5j2 libgcj java
> sources for use in eclipse

Interesting! Didn't know this one.

Can you execute following line for me and send the logfile, maybe we
can get more information by this.
"eclipse -consolelog -debug | tee eclipse.log"

Which architecture do you use?

Thank you.

xavier...@free.fr

no leída,
10 dic 2005, 17:20:1410/12/05
a
Quoting Stephan Michels <stephan...@gmail.com>:

Hi,

searching for compatible vm...
testing /usr/lib/jvm/java-gcj...found
Install location:
file:/usr/lib/eclipse/
Configuration file:
file:/usr/lib/eclipse/configuration/config.ini loaded
Configuration location:
file:/home/gnata/.eclipse/org.eclipse.platform_3.1.1/configuration/
Configuration file:

file:/home/gnata/.eclipse/org.eclipse.platform_3.1.1/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.1.1.jar
Framework classpath:
Splash location:
/usr/lib/eclipse/plugins/org.eclipse.platform_3.1.1/splash.bmp
runCommand:

</usr/lib/eclipse/eclipse><-name><Eclipse><-showsplash><600></usr/lib/eclipse/plugins/org.eclipse.platform_3.1.1/splash.bmp>
runCommand:
</usr/lib/eclipse/eclipse><-name><Eclipse><-exitdata><3380004><An error has
occurred. See the log file
/home/gnata/.eclipse/org.eclipse.platform_3.1.1/configuration/1134251035166.log>
Start VM: /usr/lib/jvm/java-gcj/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db
-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 3380004
-install /usr/lib/eclipse
-consolelog
-debug
-vm /usr/lib/jvm/java-gcj/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar

and of courses it still crashes.

I'm running a basic i386 under an daily updated sid.

I hope it is not only much ado about nothing because I used to use sun jre.
I still have libjavaplugin_oji.so for instance (and firefox java plugin works
just fine.)
I have installed sun jre building these 2 pacakges :
sun-j2re1.5_1.5.0+update05_i386.deb + sun-j2sdk1.5_1.5.0+update05_i386.deb
There are unoffical ones but it was prior gcj arrives.

Then, I have only "apt-get install eclipse".

I hope this helps

Xavier.

Michael Koch

no leída,
16 dic 2005, 1:40:0616/12/05
a

Can you please try moving the ~/.eclipse directory away (by renaming it)
and then try again?

Please try the following command and send us the output:

ls -l /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar /usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar


Thanks for your help,

Michael
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

xavier...@free.fr

no leída,
16 dic 2005, 4:50:0716/12/05
a
Quoting Michael Koch <konq...@gmx.de>:

Hi,

I have already tried to remove my ~/.eclipse but it did not help.


$>ls -l /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
/usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
lrwxrwxrwx 1 root root 57 2005-12-16 00:37
/usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar ->
../../../share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
-rw-r--r-- 1 root root 748300 2005-12-01 10:21
/usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar

I have no java from sun anymore on my box.

I have try to purge all my eclipse installation (apt-get remove --purge
eclipse*) and to reinstall but it did not help.

After this eclipse reinistall, I have tried eclipse -debug.
Here is the first lines of log file :

!SESSION 2005-12-16 10:34:11.999 -----------------------------------------------
eclipse.buildId=M20050929-0840
java.fullversion=GNU libgcj 4.0.3 20051204 (prerelease) (Debian 4.0.2-5j2)
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -debug

!ENTRY org.eclipse.osgi 2005-12-16 10:34:15.37
!MESSAGE Bundle update@plugins/org.eclipse.jface_3.1.1.jar [10] was not
resolved.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.37
!MESSAGE Missing required bundle org.eclipse.swt_0.0.0.
!ENTRY org.eclipse.osgi 2005-12-16 10:34:15.39
!MESSAGE Bundle update@plugins/org.eclipse.ui_3.1.1.jar [11] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.40
!MESSAGE Missing required bundle org.eclipse.swt_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.40
!MESSAGE Missing required bundle org.eclipse.jface_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.40
!MESSAGE Missing required bundle org.eclipse.ui.workbench_0.0.0.


What is the best way to remove *all* the eclipse and java related files from my
box (packages but also .eclipse and so on). I would like to do as clean as
possbile install of eclipse (I would like to be sure there is no crappy file in
my eclipse install).

If this bug is related to a crappy file which is not under control of eclipse
packages, I do apologize for the noise.

Xavier.

Michael Koch

no leída,
16 dic 2005, 5:10:1116/12/05
a
On Fri, Dec 16, 2005 at 10:42:05AM +0100, xavier...@free.fr wrote:
> I have already tried to remove my ~/.eclipse but it did not help.
>
>
> $>ls -l /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
> /usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
> lrwxrwxrwx 1 root root 57 2005-12-16 00:37
> /usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar ->
> ../../../share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
> -rw-r--r-- 1 root root 748300 2005-12-01 10:21
> /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar

This looks okay.

The versions '0.0.0' look really suspicious. They are either cached in
~/.eclipse or ~/workspace/.metadata. As you have already tried to remove
the ~/.eclipse dir I guess its the later.

Can you please try to rename your ~/workspace dir for testing purposes?
(And rename ~/.eclipse at the same time too to have a clean start).

> If this bug is related to a crappy file which is not under control of eclipse
> packages, I do apologize for the noise.

That is okay. Others might have the same problems when using eclipse. I
still have a bad feeling that this bug is related to an XML handling bug in
libgcj6.


Cheers,


Michael
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

Mats Cronqvist

no leída,
16 dic 2005, 7:50:1216/12/05
a
hello,

i have the exact same problem on my debian/unstable box. i have these
packages (downloaded from packages.debian.org).

$ dpkg -l | grep eclipse


ii eclipse-platform 3.1.1-6 Eclipse platform
without plug-ins to develop

ii eclipse-platform-common 3.1.1-6 Eclipse platform
without plug-ins to develop

ii eclipse-rcp 3.1.1-6 Eclipse rich
client platform
ii eclipse-rcp-common 3.1.1-6 Eclipse rich
client platform (common files)
ii eclipse-rcp-gcj 3.1.1-6 Eclipse rich
client platform (GCJ version)

anything i can do to help?
i am unfortunately completetly ignorant in all things eclipse and java :<)

mats

Michael Koch

no leída,
16 dic 2005, 8:20:1816/12/05
a
On Fri, Dec 16, 2005 at 01:40:30PM +0100, Mats Cronqvist wrote:
> hello,
>
> i have the exact same problem on my debian/unstable box. i have these
> packages (downloaded from packages.debian.org).
>
> $ dpkg -l | grep eclipse
> ii eclipse-platform 3.1.1-6 Eclipse
> platform without plug-ins to develop
> ii eclipse-platform-common 3.1.1-6 Eclipse
> platform without plug-ins to develop
> ii eclipse-rcp 3.1.1-6 Eclipse rich
> client platform
> ii eclipse-rcp-common 3.1.1-6 Eclipse rich
> client platform (common files)
> ii eclipse-rcp-gcj 3.1.1-6 Eclipse rich
> client platform (GCJ version)
>
> anything i can do to help?
> i am unfortunately completetly ignorant in all things eclipse and java :<)

For Eclipse you are at least missing some packages. Please do
'apt-get install eclipse' to get everything needed installed.


Cheers,
Michael
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

Mats Cronqvist

no leída,
16 dic 2005, 8:40:0816/12/05
a

Michael Koch wrote:
> On Fri, Dec 16, 2005 at 01:40:30PM +0100, Mats Cronqvist wrote:
>
>> hello,
>>
>> i have the exact same problem on my debian/unstable box. i have these
>>packages (downloaded from packages.debian.org).
>>
>>$ dpkg -l | grep eclipse
>>ii eclipse-platform 3.1.1-6 Eclipse
>>platform without plug-ins to develop
>>ii eclipse-platform-common 3.1.1-6 Eclipse
>>platform without plug-ins to develop
>>ii eclipse-rcp 3.1.1-6 Eclipse rich
>>client platform
>>ii eclipse-rcp-common 3.1.1-6 Eclipse rich
>>client platform (common files)
>>ii eclipse-rcp-gcj 3.1.1-6 Eclipse rich
>>client platform (GCJ version)
>>
>> anything i can do to help?
>> i am unfortunately completetly ignorant in all things eclipse and java :<)
>
>
> For Eclipse you are at least missing some packages. Please do
> 'apt-get install eclipse' to get everything needed installed.

thanks for the quick reply.
my thinking was this; i figured i'd try installing just the platform first
(since i'm not interested in ant, junit, java or any of that). i'll try
installing the full eclipse package and give it a new shot.

mats

Mats Cronqvist

no leída,
16 dic 2005, 9:10:1616/12/05
a

Michael Koch wrote:
> On Fri, Dec 16, 2005 at 01:40:30PM +0100, Mats Cronqvist wrote:
>
>> hello,
>>
>> i have the exact same problem on my debian/unstable box. i have these
>>packages (downloaded from packages.debian.org).
>>
>>$ dpkg -l | grep eclipse
>>ii eclipse-platform 3.1.1-6 Eclipse
>>platform without plug-ins to develop
>>ii eclipse-platform-common 3.1.1-6 Eclipse
>>platform without plug-ins to develop
>>ii eclipse-rcp 3.1.1-6 Eclipse rich
>>client platform
>>ii eclipse-rcp-common 3.1.1-6 Eclipse rich
>>client platform (common files)
>>ii eclipse-rcp-gcj 3.1.1-6 Eclipse rich
>>client platform (GCJ version)
>>
>> anything i can do to help?
>> i am unfortunately completetly ignorant in all things eclipse and java :<)
>
>
> For Eclipse you are at least missing some packages. Please do
> 'apt-get install eclipse' to get everything needed installed.

well that worked like a charm. spologies for wasting your time.

mats

xavier...@free.fr

no leída,
16 dic 2005, 16:40:1016/12/05
a
Quoting Michael Koch <konq...@gmx.de>:


Hi,

Sorry but I have once again remove and purged *all* the eclipse related packages
(all eclipse + gcj and gij) than rm -rf ~/workspace and rm -rf ~/.eclipse and
then reinstall eclipse and it works.
I'm have no clue where the problem was because I have not change anything else.
I'm not sure if it was noise or not...

Xavier.

Michael Koch

no leída,
17 dic 2005, 5:40:1917/12/05
a
tag 340451 moreinfo
merge 340451 342789
thanks


On Fri, Dec 16, 2005 at 10:12:06PM +0100, xavier...@free.fr wrote:
> Hi,
>
> Sorry but I have once again remove and purged *all* the eclipse related packages
> (all eclipse + gcj and gij) than rm -rf ~/workspace and rm -rf ~/.eclipse and
> then reinstall eclipse and it works.
> I'm have no clue where the problem was because I have not change anything else.
> I'm not sure if it was noise or not...

Reall strange. I still think its related to some XML writing/parsing
error in GCC 4.0. I will downgrade this bug to normal and merge with
#340451 now. Both are the same issue, I think.


Cheers,
Michael
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

0 mensajes nuevos