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.
For both Java SE and Maven Java projects, the profiling does not work if the method execution (overall program execution) takes too short amount of time (on my machine less than 1 or 1.5 seconds). To reproduce, just create a new Java SE or Maven Java project and do the profiling on template main() methods. I starts collecting results when you will add Thread.sleep(1000/*1500*/); JDK 7u3, NetBeans Dev 201204050400
Please, provide more details like the profiling configuration (CPU/Memory, sampled vs. instrumented etc.)
I just everything by default: CPU profiling & Analyze performance Quick (Sampled)