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.
It is not possible to calibrate JDK 9. To reproduce: - create new java project - go to Options -> Java -> Profiler - click Manage - select JDK 9 - click Calibrate but it fails with the following message *** Profiler message (Mon Sep 21 09:01:11 CEST 2015): Starting target application... D:\jdk1.9.0\bin\java.exe -agentpath:D:/Development/builds/NB9/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll -Xbootclasspath/a:D:\Development\builds\NB9\netbeans\profiler\lib\jfluid-server.jar;D:\Development\builds\NB9\netbeans\profiler\lib\jfluid-server-15.jar org.netbeans.lib.profiler.server.ProfilerServer D:/Development/builds/NB9/netbeans/profiler/lib/deployed/jdk16/windows-amd64 5141 10 ____Profiler+Calibration+Run____ WARNING [org.netbeans.modules.profiler.NetBeansProfiler]: IDEAppStatusHandler - errorAndWaitForConfirm: Data transfer error during instrumentation calibration *** Profiler warning (Mon Sep 21 09:02:20 CEST 2015): target app terminated:Target JVM inactive WARNING [org.netbeans.modules.profiler.NetBeansProfiler]: IDEAppStatusHandler - errorAndWaitForConfirm: null Product Version: NetBeans Dev JDK9 branch (Build 20150918-951c25ccfea0) Java: 1.9.0-ea; Java HotSpot(TM) 64-Bit Server VM 1.9.0-ea-jigsaw-nightly-h3391-20150915-b81 Runtime: Java(TM) SE Runtime Environment 1.9.0-ea-jigsaw-nightly-h3391-20150915-b81 System: Windows 8.1 version 6.3 running on amd64; Cp1250; en_US (nb)
It works fine on Mac OS X.
This looks like Windows only issue. Can you please try to run NetBeans with -J-Dorg.netbeans.profiler.separateConsole=true and re-run the calibration?
With that option calibration works.
This is not jigsaw specific. The problem is caused excessive stdout/stderr output from JVM running calibration. This output is not read by NetBeans. Once the internal buffers are full, calibration is stuck waiting for stdout/stderr to be read.
Fixed in profiler-main changeset: 291835:756fe011f1e2 user: Tomas Hurka <thurka@netbeans.org> date: Wed Sep 23 10:13:19 2015 +0200 summary: bugfix #255440, read stdout and stderr of executed external process
Integrated into 'main-silver', will be available in build *201509261150* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/756fe011f1e2 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #255440, read stdout and stderr of executed external process