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 84002

Summary: Deadlock in Analyze Performance profiling task
Product: profiler Reporter: Martin Adamek <madamek>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: VERIFIED FIXED    
Severity: blocker Keywords: THREAD
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description Martin Adamek 2006-09-01 11:16:27 UTC
Steps to reproduce:
0. In profiled IDE there should be:
  a) registered GlassFish instance
  b) created Java EE 5 EJB module
  c) project should be closed (classpath is scanned) when starting profiling
session 
1. In profiling IDE open project j2ee/metadata from NetBeans release55 branch
2. In project view right-click project and select Profile Project
3. Choose Analyze Performance -> Part of Application and select any method from
NNMDRListener
4. Press Run
5. In profiled IDE open recent EJB project from step 0
6. After while there is deadlock
Comment 1 Martin Adamek 2006-09-01 11:17:36 UTC
Created attachment 33497 [details]
Thread dump
Comment 2 Tomas Hurka 2006-09-01 12:49:00 UTC
This is 100% reproducible.
Comment 3 Tomas Hurka 2006-09-01 20:01:34 UTC
*** Issue 82279 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Hurka 2006-09-01 20:03:30 UTC
*** Issue 77592 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Hurka 2006-09-01 20:05:26 UTC
Fix in progress.
Comment 6 Tomas Hurka 2006-09-01 20:07:03 UTC
This issue can be easily identified by the following line:

Profiler Agent Warning: Failed to lookup cached class
Comment 7 Tomas Hurka 2006-09-04 13:24:57 UTC
Fixed in trunk.
Comment 8 Tomas Hurka 2006-09-04 13:25:40 UTC
Fix merged to release55 branch.
Comment 9 Tomas Hurka 2006-09-08 09:42:05 UTC
*** Issue 84502 has been marked as a duplicate of this issue. ***
Comment 10 Alexander Kouznetsov 2007-09-24 14:31:49 UTC
madamek, could you please verify this issue?
Comment 11 martin_adamek 2007-09-24 15:04:30 UTC
v.
Comment 12 Alexander Kouznetsov 2007-09-24 17:00:50 UTC
Marked as verified according to user's comment