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 107444 - NPE on Dynamic Attach to GlassFish
Summary: NPE on Dynamic Attach to GlassFish
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
: 108224 109420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-20 14:44 UTC by Alexander Kouznetsov
Modified: 2007-07-13 16:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (1.10 KB, text/plain)
2007-06-20 14:45 UTC, Alexander Kouznetsov
Details
messages.log (136.06 KB, text/plain)
2007-06-20 14:46 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-06-20 14:44:57 UTC
Product Version: NetBeans IDE Dev (Build 200706190000, C/C++ Pack 20070619) 
Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
org.netbeans.modules.profiler/1 [1.1.1 070618]

I performed following steps:
- Started GlassFish from IDE
- Performed Dynamic Attach to Application in Monitoring mode
- Detached leaving server working
- Performed Dynamic Attach to Application in CPU mode (Entire App, Sun App Server Classes)
- Detached leaving server working
- Performed Dynamic Attach to Application in CPU mode (Custom Task: Entire App, Sun App Server Classes, Profile
underlying framework, profile new threads)
- Got an exception: 
java.lang.NullPointerException
	at com.sun.tools.profiler.classfile.ClassRepository.cleanup(ClassRepository.java:105)
	at org.netbeans.modules.profiler.NetBeansProfiler.cleanupAfterProfiling(NetBeansProfiler.java:1923)
        ...
- Both Profiler and Server continued to work without any problems
Comment 1 Alexander Kouznetsov 2007-06-20 14:45:33 UTC
Created attachment 44063 [details]
Exception
Comment 2 Alexander Kouznetsov 2007-06-20 14:46:15 UTC
Created attachment 44064 [details]
messages.log
Comment 3 Tomas Hurka 2007-07-12 09:47:33 UTC
*** Issue 108224 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Hurka 2007-07-12 10:47:20 UTC
Fixed in trunk.
Comment 5 Tomas Hurka 2007-07-13 16:22:41 UTC
*** Issue 109420 has been marked as a duplicate of this issue. ***