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.
The newly added "Profile File" action should be conditionally enabled for 2 reasons: 1.) the "Run File" and "Debug File" are and then it looks weird 2.) but more importantly, currently I can execute the action on classes without main methods, which will produce an error in console output. So make the "Profile File" action conditionally enabled in exactly the same way as "Run File" and "Debug File" (only on classes with main(String[]) method)
JDK 7u3, NetBeans Dev 201204050400
Well, this is true just for Maven projects and not for Java SE, where all mentioned actions are enabled
fixed http://hg.netbeans.org/profiler-main/rev/c1065ceeea68
Integrated into 'main-golden', will be available in build *201204140400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c1065ceeea68 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #210850,#210854: Fixing profiling single file actions in maven projects