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

Summary: Cannot profile unit tests
Product: profiler Reporter: ehucka <ehucka>
Component: BaseAssignee: issues@profiler <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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