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.

Bug 58992 - An error in communication with profiling remote web server
Summary: An error in communication with profiling remote web server
Status: CLOSED DUPLICATE of bug 59660
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: iformanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 15:29 UTC by ehucka
Modified: 2007-02-12 22:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
server's log (7.48 KB, text/plain)
2005-05-30 16:19 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-05-17 15:29:19 UTC
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)
Comment 1 ehucka 2005-05-17 16:35:00 UTC
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)
Comment 2 ehucka 2005-05-30 16:19:00 UTC
Created attachment 22367 [details]
server's log
Comment 3 iformanek 2005-06-07 10:52:20 UTC
Self assign
Comment 4 iformanek 2005-06-18 15:56:37 UTC
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 ***
Comment 5 ehucka 2006-03-22 09:34:48 UTC
verified
Comment 6 Alexander Kouznetsov 2007-02-12 22:28:22 UTC
Closing old issues.
Comment 7 Alexander Kouznetsov 2007-02-12 22:28:23 UTC
Closing old issues.