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.
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)
I'm working on Windows 7 enterprise (SP1) 64bits. 8Go of RAM.
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
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.).
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.
*** Bug 270886 has been marked as a duplicate of this bug. ***
Thanks for this answer. I disabled the proxy setting in Netbeans and it worked. But now Netbeans cannot check for update.
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