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 84301 - Cannot profile unit tests
Summary: Cannot profile unit tests
Status: VERIFIED DUPLICATE of bug 84064
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 13:55 UTC by ehucka
Modified: 2006-10-23 16:40 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 ehucka 2006-09-06 13:55:17 UTC
profiler 5.5, jdk 1.5.0_06

After invoking of Profile Other | Profiler <File> there is always thrown an
exception and nothing is profiled.

java.lang.IllegalStateException: No class to profile
org.netbeans.modules.profiler.utils.MDRUtils.getMainClassName(MDRUtils.java:337)
org.netbeans.modules.profiler.j2se.J2SEProjectTypeProfiler.configurePropertiesForProfiling(J2SEProjectTypePro
filer.java:347)
org.netbeans.modules.profiler.actions.AntActions.doProfileProject(AntActions.java:472)
org.netbeans.modules.profiler.actions.AntActions.access$000(AntActions.java:47)
org.netbeans.modules.profiler.actions.AntActions$1.perform(AntActions.java:99)
org.netbeans.modules.profiler.actions.FileSensitiveAction.actionPerformed(FileSensitiveAction.java:51)
org.netbeans.modules.profiler.actions.ProjectSensitiveAction.actionPerformed(ProjectSensitiveAction.java:100)
Comment 1 Tomas Hurka 2006-09-06 13:58:59 UTC

*** This issue has been marked as a duplicate of 84064 ***
Comment 2 ehucka 2006-09-11 19:00:33 UTC
verified