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 258157 - Unable to calibrate profiler
Summary: Unable to calibrate profiler
Status: RESOLVED DUPLICATE of bug 243540
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 13:55 UTC by DestinyR
Modified: 2016-03-22 16:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error screenshot (33.44 KB, image/png)
2016-02-26 13:55 UTC, DestinyR
Details
network (15.34 KB, image/png)
2016-02-26 14:15 UTC, DestinyR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DestinyR 2016-02-26 13:55:58 UTC
Created attachment 158654 [details]
Error screenshot

I tried to reproduce the profile guide (https://blogs.oracle.com/nbprofiler/entry/getting_started_with_netbeans_profiler).
But it was imposiible because I got error "data transfer error during instrumentation calibration".

I also tried to do it via menu Tools->Options->Java->General->Manage calibration data. It doesn't work too.

I received the next messages in my output window:
profile:
*** Profiler message (Fri Feb 26 15:22:24 EET 2016): Starting target application...
C:\Program Files\Java\jdk1.8.0_25\bin\java.exe -agentpath:C:/Program Files/NetBeans 8.1/profiler/lib/deployed/jdk16/windows/profilerinterface.dll -Xbootclasspath/a:C:\Program Files\NetBeans 8.1\profiler\lib\jfluid-server.jar;C:\Program Files\NetBeans 8.1\profiler\lib\jfluid-server-15.jar org.netbeans.lib.profiler.server.ProfilerServer C:/Program Files/NetBeans 8.1/profiler/lib/deployed/jdk16/windows 5141 10 ____Profiler+Calibration+Run____
*** Profiler warning (Fri Feb 26 15:34:43 EET 2016): timed out while trying to connect to the target JVM.
*** Profiler error (Fri Feb 26 15:34:43 EET 2016): connection with server not open
C:\Documents and Settings\ruslan_2\Local Settings\Application Data\NetBeans\Cache\8.1\executor-snippets\profile.xml:63: User abort
BUILD FAILED (total time: 14 minutes 42 seconds)
Comment 1 DestinyR 2016-02-26 14:11:54 UTC
Al
Comment 2 DestinyR 2016-02-26 14:14:25 UTC
Also I can observe the permanent attempts to establish connection - see the attachment "network".
Comment 3 DestinyR 2016-02-26 14:15:08 UTC
Created attachment 158655 [details]
network
Comment 4 DestinyR 2016-02-26 14:17:08 UTC
All firewalls are disabled.
Comment 5 Jiri Sedlacek 2016-02-26 14:20:29 UTC
Profiling with NetBeans 8.1 isn't supported on Windows XP - see the Release Notes, https://netbeans.org/community/releases/81/relnotes.html . At least Windows Vista SP1 / Windows 7 are required.
Comment 6 DestinyR 2016-03-22 14:52:53 UTC
The situation is same for NetBeans IDE 8.0.2. 
I've tried to calibrate both JDK7 and with JDK8.
Error is same in both cases: timeout during connection to VM.
Comment 7 Tomas Hurka 2016-03-22 16:06:07 UTC
Profiling is not supported on Windows XP any more starting from NetBeans 8.0. If you really have to use obsolete Windows XP, get NetBeans 7.4, which was released at the time Microsoft was still supporting Windows XP.

*** This bug has been marked as a duplicate of bug 243540 ***