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 1.2 070717 Steps to reproduce - Install Remote Pack for Windows - Execute calibrate.bat - Execute profile-xx.bat -jar Anagrams.jar - Press CTRL-C after "Profiler Agent: Waiting for connection on port 5140 (Protocol version: 8)" string is shown - RESULT: Exception is thrown: Exception in thread "*** Profiler Agent Special Execution Thread 7" java.lang.NullPointerException at com.sun.tools.profiler.server.ProfilerServer.sendSimpleCmdToClient(ProfilerServer.java:734) at com.sun.tools.profiler.server.ProfilerServer$ShutdownWaitThread.run(ProfilerServer.java:135)
Note that CTRL-C works this way only on JDK 16, so you need to run profiler-16.bat
Fixed in trunk. On JDK16, CTRL-C now can be used to interrupt JVM start-up when Profiler Agent is waiting for connection.