LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   eclipse stopped working correctly all of the sudden (http://www.linuxquestions.org/questions/linux-software-2/eclipse-stopped-working-correctly-all-of-the-sudden-4175427134/)

eantoranz 09-13-2012 05:17 PM

eclipse stopped working correctly all of the sudden
 
Hi!

Since a couple of hours ago I've been facing problems with eclipse and can't really figured them out. I even deleted the old eclipse I was working with (including workspace) and recreated it from its tgz. I still see the same problems.

When I go into the eclipse preferences frame I can see different errors in different parts of the settings.

When trying to see Java->Debug:
Code:

Unable to create the selected preference page

An error occurred while automatically activating
bundle org.eclipse.jdt.debug.ui (146).

If I click on "Show error log", I see a empty "Error Log" frame.

If I go into Java->Installed JREs, I see the exact same type of message. Why is it happening? What can I do to get some verbose output from eclipse to see what's going on?

I'm working on eclipse 4.2.0 on kubuntu 12.04 i386 (updated as of this afternoon).

Code:

$ which java
/usr/bin/java
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)


ShadowCat8 09-13-2012 05:53 PM

Greetings,

I have a question with regards to this: Can you try to run it against an (oracle/sun)-jdk and see if it still behaves erratically? I was checking the Gentoo bugzilla, I am seeing a number of issues with 4.2.0 and all of them that I have seen so far have been using OpenJDK. I'm just trying to cut down the possible sources of the issues.

HTH. Let us know.

eantoranz 09-13-2012 06:07 PM

Sounds like a simple test. Setting JAVA_HOME would suffice?

eantoranz 09-14-2012 08:53 AM

Code:

$ export JAVA_HOME=~/Descargas/java/jdk1.5.0_22/
$ ~/Descargas/eclipse/eclipse/eclipse

Same thing.

eantoranz 09-14-2012 09:00 AM

How can I get debugging output from eclipse? I checked and --debug does nothing. I read somewhere that adding -Xdebug to eclipse.ini would do... but I saw nothing coming out of it. What are other possibilities?

eantoranz 09-14-2012 09:05 AM

I created another user and started eclipse from it.... it was the same problem.... it's starting to point to a software upgrade on ubuntu that broke this thing.

eantoranz 09-14-2012 09:24 AM

-debug (single -) showed up some output.... however, nothing when the error shows up.

Code:

$ ~/Descargas/eclipse/eclipse/eclipse -debug
Start VM: -Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=/home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.platform_4.2.0.v201206081400/splash.bmp
-launcher /home/antoranz/Descargas/eclipse/eclipse/eclipse
-name Eclipse
--launcher.library /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so
-startup /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-debug
-vm /usr/lib/jvm/java-6-openjdk-i386/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=/home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Install location:
    file:/home/antoranz/Descargas/eclipse/eclipse/
Configuration file:
    file:/home/antoranz/Descargas/eclipse/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/antoranz/Descargas/eclipse/eclipse/configuration/
Framework located:
    file:/home/antoranz/Descargas/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.0.v20120529-1548.jar
Framework classpath:
    file:/home/antoranz/Descargas/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.0.v20120529-1548.jar
Splash location:
    /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.platform_4.2.0.v201206081400/splash.bmp
Debug options:
    file:/home/antoranz/Descargas/eclipse/eclipse/.options not found
Time to load bundles: 4
Starting application: 931
Application Started: 6077

All of that when eclipse was starting up..... nothing else till I closed it.

eantoranz 09-14-2012 09:26 AM

Ok... found something else here: http://help.eclipse.org/juno/topic/o...62%75%67%22%20

Let's see where this takes me to.

eantoranz 09-14-2012 09:40 AM

Ok.... thanks to the output from it and to the link I'll post later, I was able to solve this by adding this to eclipse.ini:

Code:

-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU
Link where I got the tip from? http://stackoverflow.com/questions/1...timezone-issue


All times are GMT -5. The time now is 09:07 PM.