[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
*** This bug is a duplicate of bug 1050404 *** https://bugs.launchpad.net/bugs/1050404 ** This bug has been marked a duplicate of bug 1050404 Causes several facilties of Eclipse to fail: Java class launch, Error Log. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
Hello, I would like to confirm a couple of things: - this affects both JDK 6 and 7. The exact versions I have are (I'm running Ubuntu 12.04 on x64 hardware) 7u7-2.3.2-1ubuntu0.12.04.1 6b24-1.11.4-1ubuntu0.12.04.1 - this reproduces with both Eclipse 3.7 and 4.2. I attached the error log from Eclipse 4.2. My exacy symptoms were: when trying to create a new Debug/Run configuration Eclipse would give me the error: Plug-in org.eclipse.jdt.debug.ui was unable to load class org.eclipse.jdt.internal.debug.ui.launcher.LocalJavaApplicationTabGroup. An error occurred while automatically activating bundle org.eclipse.jdt.debug.ui (146). - Either of the following things fix the bug for me: adding -Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU at the end of eclipse.ini reinstalling tzdata as suggested above Thank you, Attila ** Attachment added: "Error log from Eclipse 4.2 demonstrating the exception" https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+attachment/3312315/+files/eclipse.log.tar.bz2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
I also got this after switching to JDK 7 using update-alternatives and running Eclipse (the Juno release) on the newer JDK. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
Then great!!! We can close the bug because you also made a link to the original debian bug. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288 And is tested to work!!! Thank you a lot guys!!! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
Reinstalling tzdata-java worked for me after updating openjdk-7 in the last few hours: sudo apt-get --reinstall install tzdata-java It was the only thing I did to fix the bug for me. I didn't modify the manually installed Eclipse Juno (4.2) that I was running when I noticed the bug, and the NullPointerException was reproducible using the following java file--compiled and run on the command line--up until I reinstalled tzdata-java: import java.util.TimeZone; public class TZTest { public static void main(String args[]) { String[] availableIds = TimeZone.getAvailableIDs(); System.out.println("Length: "+availableIds.length); for (int i = 0; i < availableIds.length; i++) { System.out.println("ID #"+i+": "+availableIds[i]); } } } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
Just created this account so i could confirm above findings. "sudo apt-get --reinstall install tzdata-java" fixed the problem for me too. If it doesn't work for you, I have also been reinstalling eclipse (Indigo) and both the openjdk6 and 7 before trying the above advice. Of course thats taking wild guesses here. My aptitude wrangling may well have nothing to do with anything. Just mentioned it to save others the trouble. I'd really like to know in how far reinstalling the timezone data package helped resolve this issue. I know, I am the curious kind. I fear little more than the idea of dying ignorant. Take care -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
Hi Xerxes, I was able to get rid of the bug by just reinstalling tzdata-java as you said. But I cannot confirm that was just that because I did an upgrade before I got your response. So maybe something changed in my system meanwhile. Someone else can confirm this? I can say that after update and aplying this reinstall everything works again. Thank you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
I was able to reproduce this bug 1. run eclipse 2 open preferencies -> Java -> installed JREsand get the same results as shown in The Screenshot https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1047762/+attachment/3300355/+files/eclipse-crash-jdk.png By looking into the workspace/.metadata/.log I found that the bug was caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ibm.icu.text.SimpleDateFormat This is a variant of an old Debian/Ubuntu bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288 I am able to workaround the issue by running: sudo apt-get --reinstall install tzdata-java ** Bug watch added: Debian Bug tracker #600288 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
** Also affects: openjdk-7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openjdk-7 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
This seems also to affect Ubuntu 12.04 with the recent update of openjdk-7 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openjdk-6 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1047762] Re: java-6-openjdk-amd64 + Eclipse not working
This is one of the errors shown ** Attachment added: "The screenshot" https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+attachment/3300355/+files/eclipse-crash-jdk.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047762 Title: java-6-openjdk-amd64 + Eclipse not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1047762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs