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 270503 - Data transfer error during instrumentation calibration
Summary: Data transfer error during instrumentation calibration
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 8.2
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
: 270886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-04-27 11:45 UTC by hkn
Modified: 2017-06-15 14:06 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 hkn 2017-04-27 11:45:42 UTC
Profiler fails to calibrate.

Reproduce:
- Select a program class
- Start the profiler (which wont to gather calibration data)
- Start calibration.

After a few minutes this message is logged:

profile:
*** Profiler message (Thu Apr 27 13:12:59 CEST 2017): Starting target application...
C:\Program Files\Java\jdk1.8.0_131\bin\java.exe -agentpath:C:/Program Files/NetBeans 8.2/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll -Xbootclasspath/a:C:\Program Files\NetBeans 8.2\profiler\lib\jfluid-server.jar;C:\Program Files\NetBeans 8.2\profiler\lib\jfluid-server-15.jar org.netbeans.lib.profiler.server.ProfilerServer C:/Program Files/NetBeans 8.2/profiler/lib/deployed/jdk16/windows-amd64 5141 10 ____Profiler+Calibration+Run____
*** Profiler error (Thu Apr 27 13:18:00 CEST 2017): exception while trying to connect to the target JVM:
java.net.SocketException: Malformed reply from SOCKS server
*** Profiler error (Thu Apr 27 13:18:00 CEST 2017): connection with server not open
D:\Utilisateurs\P094212\AppData\Local\NetBeans\Cache\8.2\executor-snippets\profile.xml:63: User abort
BUILD FAILED (total time: 30 minutes 29 seconds)
Comment 1 hkn 2017-04-27 11:47:49 UTC
I'm working on Windows 7 enterprise (SP1) 64bits. 8Go of RAM.
Comment 2 hkn 2017-04-27 11:54:47 UTC
Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 1
Java: 1.8.0_131; Java HotSpot(TM) 64-Bit Server VM 25.131-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_131-b11
System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb)
User directory: D:\Utilisateurs\P094212\AppData\Roaming\NetBeans\8.2
Cache directory: D:\Utilisateurs\P094212\AppData\Local\NetBeans\Cache\8.2
Comment 3 hkn 2017-04-27 12:03:41 UTC
When I run the command manually (with cmd.exe), I've got this error message:
"C:\Program Files\Java\jdk1.8.0_131\bin\java.exe -agentpath:C:/Program Files/NetBeans 8.2/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll -Xbootclasspath/a:C:\Program Files\NetBeans 8.2\profiler\lib\jfluid-server.jar;C:\Program Files\NetBeans 8.2\profiler\lib\jfluid-server-15.jar org.netbeans.lib.profiler.server.ProfilerServer C:/Program Files/NetBeans 8.2/profiler/lib/deployed/jdk16/windows-amd64 5141 10 ____Profiler+Calibration+Run____"

The command exits with the following message: La ligne entrée est trop longue. (The line is too long.).
Comment 4 Tomas Hurka 2017-04-27 12:04:48 UTC
Key information is the following line;
java.net.SocketException: Malformed reply from SOCKS server

It looks like your NetBeans uses SOCKS proxy. Please try to disable proxy completely (just to be sure) and re-run calibration.
Comment 5 Tomas Hurka 2017-06-15 10:23:17 UTC
*** Bug 270886 has been marked as a duplicate of this bug. ***
Comment 6 hkn 2017-06-15 13:15:48 UTC
Thanks for this answer.

I disabled the proxy setting in Netbeans and it worked. But now Netbeans cannot check for update.
Comment 7 hkn 2017-06-15 14:06:30 UTC
But this is p":1497533929253,"status":404,"The proxy issue is related to my company's proxy setting. I'll address my issue to them.

Thanks