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.
Created attachment 112932 [details] Output window I am trying to profile any EJB project with glassfish with no luck. To reproduce the bug, all you have to do is to create a new Enterprise Application (Java EE), select CPU, then select "Profile application" and then filter by "Profile project and subproject classes", try to profile it. It will hang for a couple minutes with GlassFish not being able to start and then will show a popup that says: "The profiled application does not respond. Do you want to close the connection and stop profiling?" If I try any other option, it will work but will keep on sending the following log records: Grave: *** Profiler engine warning: class sun.reflect.GeneratedConstructorAccessor45 that should be instrumented is not loaded by target VM Grave: *** Requested classloader: sun.reflect.DelegatingClassLoader@78c4092f Grave: , its class = class sun.reflect.DelegatingClassLoader, index = 177, hashcode = 2026113327 Grave: *** Profiler engine warning: target VM cannot load class to instrument sun.reflect.GeneratedConstructorAccessor45 Grave: *** probably it has been unloaded recently The rest of the options I have tried (memory, monitor) works ok.
What version of IDE were you using? Can you please at least attach your messages.log? It works for me on: Product Version: NetBeans IDE Dev (Build 201111100600) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b18 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) Can you try it on a recent dev build?