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 68089 - Profiling code fragment defined via source lines doesn't work
Summary: Profiling code fragment defined via source lines doesn't work
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 12:13 UTC by Jiri Sedlacek
Modified: 2007-02-20 18:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2005-11-04 12:13:42 UTC
When trying to profile code fragment defined via source lines, following 
exception occurs (for AnagramGame example):

java.lang.ClassNotFoundException: com/toy/anagrams/ui/Anagrams
        at 
com.sun.tools.profiler.classfile.ClassRepository.getMethodForSourceRegion
(ClassRepository.java:475)
        at 
com.sun.tools.profiler.instrumentation.Instrumentor.setStatusInfoFromSourceCodeS
election(Instrumentor.java:221)
        at 
com.sun.tools.profiler.ProfilerClient.initiateCodeRegionInstrumentation
(ProfilerClient.java:333)
        at org.netbeans.profiler.common.Profiler.performInstrumentation
(Profiler.java:156)
        at org.netbeans.modules.profiler.NetBeansProfiler.connectToStartedApp
(NetBeansProfiler.java:519)
        at org.netbeans.modules.profiler.ant.NBProfileDirectTask$1.run
(NBProfileDirectTask.java:259)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jiri Sedlacek 2005-11-04 16:18:14 UTC
Fixed for M10.
Comment 2 ehucka 2006-10-09 12:10:22 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-20 10:13:01 UTC
Closing old issues
Comment 4 Alexander Kouznetsov 2007-02-20 18:08:04 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.