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.
On Nevada 72 when I attempt to start the profiler it fails.
Created attachment 48623 [details] Output from profiletab
See issue #108557 for workaround. *** This issue has been marked as a duplicate of 108557 ***
I found "There is an easy workaround - use default JDK for profiling NB modules." How do I do that?
It looks like your profiled netbeans is running on JDK 1.5 and normal netbeans is using JDK 1.6. So you can either start normal netbeans with JDK 1.5 (use -- jdkhome switch) or change JDK used by profiled netbeans to JDK 1.6 (this seems to be controlled by nbjdk.home property in nbbuild/user.build.properties). See also http://wiki.netbeans.info/wiki/view/WorkingWithNetBeansSources section 'Common Mistakes, Tips and Tricks'.
I now start the normal netbeans with --jdkhome argument to specify 1,5 and when I try to start the profiler I get the errors below. Profiler Agent: Initializing... Profiler Agent: Options: >/home/padraigo/tmp/netbeans/profiler2/lib,5140,10< Profiler Agent: Initialized succesfully Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 7) Profiler Agent Error: Timed out trying to establish connection with client /export/home/padraigo/netbeans/nbbuild/templates/projectized.xml:237: The following error occurred while executing this line: /export/home/padraigo/netbeans/nbbuild/build.xml:928: The following error occurred while executing this line: /export/home/padraigo/netbeans/nbbuild/build.xml:947: exec returned: 255 BUILD FAILED (total time: 20 seconds):