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.

Bug 233557 - Critical problem with Ubuntu 12.4 64bit and default JDK6 - endless "please wait"
Summary: Critical problem with Ubuntu 12.4 64bit and default JDK6 - endless "please wait"
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
: 233338 233381 233975 234191 234224 234290 234292 234332 234821 235304 236548 237290 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-28 14:57 UTC by adamk
Modified: 2013-10-18 15:48 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Clean Ubuntu 12.4 and Netbeans 7.3 with endless please wait (120.68 KB, image/jpeg)
2013-07-28 14:57 UTC, adamk
Details
ThreadDump from clean installation (17.13 KB, text/plain)
2013-07-29 09:18 UTC, adamk
Details
Messages log from clean install (23.31 KB, text/plain)
2013-07-29 10:23 UTC, adamk
Details
Default JDK in Ubuntu 12.4 LTS (88.08 KB, image/jpeg)
2013-07-30 15:29 UTC, adamk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adamk 2013-07-28 14:57:40 UTC
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.
Comment 1 adamk 2013-07-28 15:03:00 UTC
Bug nr 233269 is related.
Comment 2 adamk 2013-07-28 18:58:19 UTC
Netbeans 7.3.1 is also affected. 

At the moment it is not possible to work with Netbeans and JDK6 in Ubuntu 12.4.
Comment 3 Antonin Nebuzelsky 2013-07-29 09:02:39 UTC
Could you attach a thread dump? Thanks.
http://wiki.netbeans.org/GenerateThreadDump
Comment 4 adamk 2013-07-29 09:18:17 UTC
Created attachment 137925 [details]
ThreadDump from clean installation

Ubuntu 12.4 with JDK6 and Netbeans 7.3
Comment 5 Antonin Nebuzelsky 2013-07-29 10:18:47 UTC
Please attach also the messages.log.
http://wiki.netbeans.org/FaqLogMessagesFile
Comment 6 adamk 2013-07-29 10:23:08 UTC
Created attachment 137935 [details]
Messages log from clean install
Comment 7 Stanislav Aubrecht 2013-07-30 14:22:48 UTC
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.
Comment 8 Antonin Nebuzelsky 2013-07-30 15:22:52 UTC
I did reproduce with OpenJDK 6 on 12.10.
Comment 9 Stanislav Aubrecht 2013-07-30 15:25:48 UTC
(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.
Comment 10 adamk 2013-07-30 15:28:23 UTC
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.
Comment 11 adamk 2013-07-30 15:29:30 UTC
Created attachment 138008 [details]
Default JDK in Ubuntu 12.4 LTS
Comment 12 Antonin Nebuzelsky 2013-07-30 15:31:11 UTC
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.
Comment 13 Antonin Nebuzelsky 2013-07-30 15:50:25 UTC
JDK bug #8021890 has been filed for the problem.
Comment 14 adamk 2013-07-30 15:53:23 UTC
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
Comment 15 Antonin Nebuzelsky 2013-08-01 10:07:32 UTC
*** Bug 233338 has been marked as a duplicate of this bug. ***
Comment 16 aphex 2013-08-12 07:01:33 UTC
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
Comment 17 Dusan Balek 2013-08-12 13:16:03 UTC
*** Bug 234224 has been marked as a duplicate of this bug. ***
Comment 18 Ondrej Vrabec 2013-08-19 12:59:27 UTC
*** Bug 233975 has been marked as a duplicate of this bug. ***
Comment 19 Antonin Nebuzelsky 2013-08-21 10:50:55 UTC
*** Bug 234292 has been marked as a duplicate of this bug. ***
Comment 20 Antonin Nebuzelsky 2013-08-21 10:51:47 UTC
*** Bug 234290 has been marked as a duplicate of this bug. ***
Comment 21 Marian Mirilovic 2013-08-22 13:54:23 UTC
*** Bug 233381 has been marked as a duplicate of this bug. ***
Comment 22 Marian Mirilovic 2013-08-22 13:55:43 UTC
*** Bug 234191 has been marked as a duplicate of this bug. ***
Comment 23 Antonin Nebuzelsky 2013-09-02 09:15:10 UTC
*** Bug 234821 has been marked as a duplicate of this bug. ***
Comment 24 Antonin Nebuzelsky 2013-09-02 09:15:42 UTC
*** Bug 234332 has been marked as a duplicate of this bug. ***
Comment 25 Dusan Balek 2013-09-02 11:06:52 UTC
*** Bug 235304 has been marked as a duplicate of this bug. ***
Comment 26 russell_harper 2013-09-03 14:11:51 UTC
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.
Comment 27 engeeaitch 2013-09-17 07:32:40 UTC
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
Comment 28 Jaroslav Havlin 2013-09-30 14:42:15 UTC
*** Bug 236548 has been marked as a duplicate of this bug. ***
Comment 29 Antonin Nebuzelsky 2013-10-18 15:48:45 UTC
*** Bug 237290 has been marked as a duplicate of this bug. ***