Bug#342789: eclipse: Eclipse crashes at startup

2005-12-16 Thread xavier . gnata
Quoting Michael Koch [EMAIL PROTECTED]:

 On Fri, Dec 16, 2005 at 10:42:05AM +0100, [EMAIL PROTECTED] 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.

  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 [EMAIL PROTECTED]/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 [EMAIL PROTECTED]/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).

 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/



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.


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#342789: eclipse: Eclipse crashes at startup

2005-12-10 Thread xavier . gnata
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-6Java Development Tools plug-ins fo
ii  eclipse-pde   3.1.1-6Plug-in Development Environment to
ii  eclipse-source3.1.1-6Eclipse source code plug-ins

eclipse recommends no packages.

-- no debconf information


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#342789: eclipse: Eclipse crashes at startup

2005-12-10 Thread xavier . gnata
Quoting Stephan Michels [EMAIL PROTECTED]:

 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


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#342789: eclipse: Eclipse crashes at startup

2005-12-10 Thread xavier . gnata
Quoting Stephan Michels [EMAIL PROTECTED]:

 On 12/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Quoting Stephan Michels [EMAIL PROTECTED]:
 
   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.


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

ii  eclipse3.1.1-6   Extensible Tool
Platform and Java IDE
ii  eclipse-jdt3.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-gcj3.1.1-6   Java
Development Tools plug-ins for Eclipse (GCJ version)
ii  eclipse-pde3.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-gcj3.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-common3.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-rcp3.1.1-6   Eclipse rich
client platform
ii  eclipse-rcp-common 3.1.1-6   Eclipse rich
client platform (common files)
ii  eclipse-rcp-gcj3.1.1-6   Eclipse rich
client platform (GCJ version)
ii  eclipse-source 3.1.1-6   Eclipse source
code plug-ins
ii  libgcj6-src4.0.2-5j2 libgcj java
sources for use in eclipse


Xavier.


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#342789: eclipse: Eclipse crashes at startup

2005-12-10 Thread xavier . gnata
Quoting Stephan Michels [EMAIL PROTECTED]:

  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-src4.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.

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-nameEclipse-showsplash600/usr/lib/eclipse/plugins/org.eclipse.platform_3.1.1/splash.bmp
runCommand:
/usr/lib/eclipse/eclipse-nameEclipse-exitdata3380004An 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.



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers