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 105244 - Calibration does not work
Summary: Calibration does not work
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
: 105498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-31 11:03 UTC by Tomas Hurka
Modified: 2007-09-08 10:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2007-05-31 11:03:44 UTC
Calibration is broken for NB profiler dev. 31052007

Run calibration using Profile -> Advanced Commands -> Run Profiler Calibration
or run calibration as part of profiling main project (if calibration data for project JDK is not available).
In both cases calibration fails with the following:

/usr/java/jdk1.5.0_10/bin/java -agentpath:/home/tom/Projects/Source/profiler-cvs/build/netbeans/
profiler2/lib/deployed/jdk15/linux/libprofilerinterface.so -Xbootclasspath/a:/home/tom/Projects/
Source/profiler-cvs/build/netbeans/profiler2/lib/jfluid-server.jar:/home/tom/Projects/Source/
profiler-cvs/build/netbeans/profiler2/lib/jfluid-server-15.jar 
com.sun.tools.profiler.server.ProfilerServer /home/tom/Projects/Source/profiler-cvs/build/netbeans/
profiler2/lib/deployed/jdk15/linux 5141 10 ____Profiler+Calibration+Run____
Showing async dialog
Showing async dialog
*** Profiler error (Thu May 31 11:55:17 CEST 2007): exception while trying to get response from the 
target JVM:
java.io.StreamCorruptedException
*** Profiler error (Thu May 31 11:55:17 CEST 2007): target app terminated:Target JVM inactive
CONFIG [org.netbeans.modules.profiler.NetBeansProfiler]: IDEAppStatusHandler - error: Failed to 
establish socket connection with the target JVM.
Closing async dialog
Closing async dialog
Comment 1 Tomas Hurka 2007-05-31 11:21:10 UTC
Fortunately M9 works fine. So this is regression after M9.
Comment 2 Tomas Hurka 2007-05-31 12:11:27 UTC
NB profiler build 070522 is the first one, where calibration fails. NB profiler build 070521 works fine.
Comment 3 Tomas Hurka 2007-05-31 12:22:56 UTC
The regression was caused by the fix of issue #103421. 
Comment 4 Tomas Hurka 2007-05-31 12:43:49 UTC
Fixed by rolling back fix for for issue #103421
Comment 5 Tomas Hurka 2007-06-04 08:37:38 UTC
*** Issue 105498 has been marked as a duplicate of this issue. ***
Comment 6 J Bachorik 2007-06-04 16:30:37 UTC
removed rollback - #103421 fix is now implemented correctly
Comment 7 Alexander Kouznetsov 2007-09-08 10:35:09 UTC
Verified