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.
M6v2 I profiled remote web application and the exception was thrown. The profiling was just started I have not made any action yet. java.lang.ArrayIndexOutOfBoundsException: 1198865 com.sun.tools.profiler.results.cpu.FullInstrCPUCallGraphBuilder.updateCallGraphs(FullInstrCPUCallGraphBuilder.java:36) com.sun.tools.profiler.results.cpu.CPUCallGraphBuilder.readDataFromBuffer(CPUCallGraphBuilder.java:43) com.sun.tools.profiler.ProfilerClient.processProfilingResults(ProfilerClient.java:675) com.sun.tools.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:1215)
It seems the exception is only an effect of a critical communication error which is always thrown during profiling of remote web server. It is Tomcat 5.x on solaris sparc. JDK1.5.0_04. Server log: May 17, 2005 5:29:48 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 17, 2005 5:29:48 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.7 May 17, 2005 5:29:48 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled !!! try_removing_bytes_for_unloaded_classes called! *** JFluid: error writing collected data to the socket client log: *** JFluid error (Tue May 17 17:29:52 CEST 2005): exception while trying to get response from the target JVM: java.io.IOException: JFluid wire protocol error: code does not correspond to command or response. Value 10 *** JFluid warning: critical: error reading profiling data from socket: java.net.SocketException: Socket closed *********** Exception occurred ************ at 5:29 PM on May 17, 2005 java.lang.ArrayIndexOutOfBoundsException: 1198865 com.sun.tools.profiler.results.cpu.FullInstrCPUCallGraphBuilder.updateCallGraphs(FullInstrCPUCallGraphBuilder.java:41) com.sun.tools.profiler.results.cpu.CPUCallGraphBuilder.readDataFromBuffer(CPUCallGraphBuilder.java:43) com.sun.tools.profiler.ProfilerClient.processProfilingResults(ProfilerClient.java:675) com.sun.tools.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:1215)
Created attachment 22367 [details] server's log
Self assign
This issue has the same root cause as issue 59660: Remote profiling can cause the agent to hang if CPU or Code Fragment profiling is used. *** This issue has been marked as a duplicate of 59660 ***
verified
Closing old issues.