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.
I've recently upgraded to Netbeans 5.5 beta with Java 1.6.88b. While I was previously able to run the profiler in Analyze Performance mode, I am now getting errors saying that it cannot connect. I'm running the profiler as part of a freeform project. Below is my profiling and script: <target name="profile" depends="init,compile" description="Profile Project"> <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail> <echo message="${project.profile.mainClass}"/> <nbprofiledirect> <classpath> <pathelement path="."/> <pathelement path="${classes.dir}"/> <path refid="path.classpath"/> </classpath> </nbprofiledirect> <java classname="${project.profile.mainClass}" classpath="${classes.dir}" fork="true"> <jvmarg value="${profiler.info.jvmargs.agent}"/> <jvmarg value="-ea"/> <jvmarg value="-Xmx256M"/> <jvmarg value="-Djogl.verbose"/> <classpath> <pathelement location=""/> <path refid="path.classpath"/> </classpath> </java> </target>
Created attachment 31281 [details] log
Seems like a known issue with newest 1.6 builds on Windows - profiling fails on builds 86 and newer on Windows when instrumenting core Java classes. Please try one of following and let us know: 1/ Use 1.6 build before 86 2/ Use 1.6 build 86 and newer with -Xshare:off option 3/ Use "Exclude Core Java Classes" instrumentation filter when using 1.6 build 86 and newer
I tried option 2 below, and while the profiler did start, it crashed as soon as I put any load on my program. I'm attaching the dump.
Created attachment 31287 [details] log
The JVM crash does not seem to be caused by profiling. Can you please try to downgrade build 85 and see what happen. Thanks.
Okay. What release is a bug fix for this expected in?
I don't know.
The problem is fixed in Mustang build 92. Closing as fixed - please use Mustang build 92 or newer. You can download it here https://mustang.dev.java.net/