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 69083 - Deadlock/livelock when adding a Java platform
Summary: Deadlock/livelock when adding a Java platform
Status: VERIFIED DUPLICATE of bug 68934
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 5.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2005-11-22 10:18 UTC by Marian Petras
Modified: 2008-12-22 16:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full thread dump (20.92 KB, text/plain)
2005-11-22 10:25 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2005-11-22 10:18:27 UTC
[NB build 051121 /source update via CVS started on 15:01 GMT/,
 Apache Ant version 1.6.5 compiled on June 2 2005,
 JDK 6.0 (build 1.6.0-rc-b61),
 Linux (Fedora Core 1), Gnome, ATI display drivers,
 Pentium M @ 1.6 GHz, 1 GB RAM]

This is a reproducible deadlock/livelock.

To reproduce:

1) JAVA_HOME=/usr/local/jdk1.6.0; export JAVA_HOME
2) ANT_OPTS="-Xmx200m -Dbuild.compiler.debug=on -Dhave-jdk-1.4 
     -Djdkhome=$JAVA_HOME -Djdkhome-valid=true"; export ANT_OPTS
3) go to NetBeans root source directory
4) cd nbbuild
5) rm -r testuserdir
6) ant tryme -Dnetbeans.no.pre.unscramble=true -Dtryme.args="-J-Xmx256M \
     -J-Da11ytest.IDE=true -J-ea -J-Dswing.aatext=true -nosplash -fontsize 16" \
     -Ddebug.port=3234
7) As soon the NetBeans main window appears (i.e. before the warm-up tasks
   finish), open the Java Platform Manager.
8) In the Java Platform Manager, click Add Platform...
9) In the file chooser, select j2sdk1.4.2_10 and click Next >
10) Click Finish.

The mouse cursor changes to the wait cursor, the CPU keeps running at 100% and
nothing happens.

I will attach a full thread-dump.
Comment 1 Marian Petras 2005-11-22 10:25:18 UTC
Created attachment 27130 [details]
full thread dump
Comment 2 Marian Petras 2005-11-22 10:43:41 UTC
Raised to P1 - I cannot add a platform. No workaround known.

I found that this is independent of whether the warmup tasks are finished or not.
Comment 3 Marian Mirilovic 2005-11-22 11:24:22 UTC
Marian, 
it was fixed yesterday afternoon (issue 68934), so try to update sources or
download last development build.
Comment 4 Marian Mirilovic 2005-11-22 11:25:07 UTC

*** This issue has been marked as a duplicate of 68934 ***
Comment 5 Marian Petras 2005-11-22 16:19:11 UTC
Verified.