This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Critical problem with Ubuntu 12.4 64bit and default JDK6 - endless "please wait" | ||
---|---|---|---|
Product: | platform | Reporter: | adamk |
Component: | JDK Problems | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | ab247, AlfonsoBonso, crimcat, gblab, jlahoda, magneticmg, mmirilovic, Remdul, richpri, saubrecht, shreeman_b, tobypinder, user_net_beans |
Priority: | P1 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Clean Ubuntu 12.4 and Netbeans 7.3 with endless please wait
ThreadDump from clean installation Messages log from clean install Default JDK in Ubuntu 12.4 LTS |
Bug nr 233269 is related. Netbeans 7.3.1 is also affected. At the moment it is not possible to work with Netbeans and JDK6 in Ubuntu 12.4. Could you attach a thread dump? Thanks. http://wiki.netbeans.org/GenerateThreadDump Created attachment 137925 [details]
ThreadDump from clean installation
Ubuntu 12.4 with JDK6 and Netbeans 7.3
Please attach also the messages.log. http://wiki.netbeans.org/FaqLogMessagesFile Created attachment 137935 [details]
Messages log from clean install
There's nothing suspicious in the attached logs. Please reopen if you can reproduce this with the latest update of Oracle JDK 1.7, thanks. I did reproduce with OpenJDK 6 on 12.10. (In reply to comment #8) > I did reproduce with OpenJDK 6 on 12.10. Please reopen if you can reproduce this with the latest update of Oracle JDK 1.7, thanks. Ubuntu use meta packages - default-jdk - default-jre and as for now they refer to JDK6! So every single Ubuntu desktop is affected by this problem. Created attachment 138008 [details]
Default JDK in Ubuntu 12.4 LTS
One suspicious aspect of running with 6b27-1.12.6 is multiple AWT event threads. This problem is not specific to running NetBeans, but happens also with a small Java application. The problem will not be fixed on NetBeans side and this bug will be closed wontfix. adamk, please switch to either OpenJDK 7 (available as openjdk-7-jdk package) or to an Oracle JDK 6 or 7. None of these exhibit the problem. JDK bug #8021890 has been filed for the problem. I just reported it in launchpad. There are already multiple bugs related to current openjdk-6 version. Netbeans, Eclipse and and and are affected. https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bugs?orderby=-id&start=0 Thank you for your patience Netbeans Team Bye Adam *** Bug 233338 has been marked as a duplicate of this bug. *** Until a fix comes out, you can workaround the issue by downgrading open-jdk to the pre-update version. On Debian Wheezy this line works well: sudo apt-get install openjdk-6-jdk=6b27-1.12.5-1 openjdk-6-jre=6b27-1.12.5-1 openjdk-6-jre-headless=6b27-1.12.5-1 openjdk-6-jre-lib=6b27-1.12.5-1 *** Bug 234224 has been marked as a duplicate of this bug. *** *** Bug 233975 has been marked as a duplicate of this bug. *** *** Bug 234292 has been marked as a duplicate of this bug. *** *** Bug 234290 has been marked as a duplicate of this bug. *** *** Bug 233381 has been marked as a duplicate of this bug. *** *** Bug 234191 has been marked as a duplicate of this bug. *** *** Bug 234821 has been marked as a duplicate of this bug. *** *** Bug 234332 has been marked as a duplicate of this bug. *** *** Bug 235304 has been marked as a duplicate of this bug. *** The suggested fix in comment 16 generated numerous errors. For my Ubuntu 12.04 LTS, I needed to use the following: sudo apt-get install openjdk-6-jre=6b24-1.11.1-4ubuntu2 openjdk-6-jre-headless=6b24-1.11.1-4ubuntu2 icedtea-6-jre-cacao=6b24-1.11.1-4ubuntu2 I was able to duplicate the behaviour after installing the Oracle JDK. But the thing is, the installation process is extremely complex, e.g. http://www.wikihow.com/Install-Oracle-Java-JRE-on-Ubuntu-Linux. For me, a lot of steps didn't work as indicated, so afterwards I wasn't confident that it was installed correctly. Someone seriously needs to find a way to automate this. I also followed the steps in Comment 26 and this stopped NetBeans from hanging. However, I still had a problem when trying to connect to a remote site (Run Configuration). NetBeans generated an error, and the connection failed. For me, the resolution was to run the following: sudo apt-get install openjdk-6-jre=6b24-1.11.1-4ubuntu2 openjdk-6-jre-lib=6b24-1.11.1-4ubuntu2 *** Bug 236548 has been marked as a duplicate of this bug. *** *** Bug 237290 has been marked as a duplicate of this bug. *** |
Created attachment 137910 [details] Clean Ubuntu 12.4 and Netbeans 7.3 with endless please wait Netbeans freezes on - create new project - when using code completion in XHTML or Java files My problem began on 25.07.2013. On this day Ubuntu updated: openjdk-6-jdk from 6b27-1.12.5-0ubuntu0.12.04.1 to 6b27-1.12.6-1ubuntu0.12.04.2 openjdk-6-jre from 6b27-1.12.5-0ubuntu0.12.04.1 to 6b27-1.12.6-1ubuntu0.12.04.2 openjdk-6-jre-lib from 6b27-1.12.5-0ubuntu0.12.04.1 to 6b27-1.12.6-1ubuntu0.12.04.2 openjdk-6-jre-headless from 6b27-1.12.5-0ubuntu0.12.04.1 to 6b27-1.12.6-1ubuntu0.12.04.2 IMHO there is a bug between current Java 6 packages in Ubuntu 12.4 LTS (6b27-1.12.6-1ubuntu0.12.04.2) and Netbeans 7.3 as well as 7.3.1. I just prepared a clean Ubuntu 12.4 64bit installation VM within VirualBox. 1. Install Ubuntu 12.4 2. Install all updates 3. Install default openjdk-6-jdk and openjdk-6-jre 4. Install Netbeans 7.3 I run Netbeans, "create new project" and have the "endless please wait" problem! Would be great If somebody could have a look on that.