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 127821 - IDE hangs on hyperlink navigation during building code model
Summary: IDE hangs on hyperlink navigation during building code model
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: PERFORMANCE
: 138762 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-20 09:22 UTC by Vladimir Voskresensky
Modified: 2008-07-18 21:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threads dump (14.75 KB, text/plain)
2008-02-20 09:22 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2008-02-20 09:22:10 UTC
Closed IDE with all CND modules and Java Refactoring module
removed var/cache from userdir 
started IDE again
during compile phase (in status bar, not compile of project)
ctrl-O, Esc
Opened file from project view
tried to hyperlink on private function from usage to declaration
and NB just freezed

Seems, there is deadlock in two threads AWT-EventQueue-1 and GoToTypeAction-RequestProcessor
they both "parking to wait for  <0xd3a05e00> (a java.util.concurrent.locks.ReentrantLock$FairSync)"

  Product Version         = NetBeans IDE Dev (Build 080130)
  Operating System        = SunOS version 5.10 running on x86
  Java; VM; Vendor        = 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05; Sun Microsystems Inc.
  Java Home               = /usr/jdk/instances/jdk1.6.0_02/jre
  System Locale; Encoding = en (nb); ISO646-US
  Home Directory          = /home/vv159170
  Current Directory       = /export/home/vv159170/.netbeans
  User Directory          = /export/home/vv159170/.netbeans/dev
  Installation            = /opt/netbeans/nb6.1
                            /opt/netbeans/ide9
                            /opt/netbeans/java2
                            /opt/netbeans/xml2
                            /opt/netbeans/apisupport1
                            /opt/netbeans/harness
                            /opt/netbeans/platform8
Comment 1 Vladimir Voskresensky 2008-02-20 09:22:46 UTC
Created attachment 56909 [details]
threads dump
Comment 2 Jan Lahoda 2008-07-02 10:31:10 UTC
*** Issue 138762 has been marked as a duplicate of this issue. ***
Comment 3 Jan Lahoda 2008-07-18 21:18:53 UTC
A dialog should be shown if the scan is in progress:
http://hg.netbeans.org/main/rev/8e8e319bba10

Lets see how it will work in the real world.