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.
NetBeans IDE Dev (Build 200705311200) 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 Steps to reproduce: - Create Paint Sample Application - Try to Profile it using default settings - RESULT: Profiler fails with the following lines in the output: Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 6) Profiler Agent: Established local connection with the tool Profiler Agent: Connection with agent closed Profiler Agent Error: Exception when handling command from client: java.io.IOException: JFluid wire protocol error: code does not correspond to command or response. Value -1 This issue is not reproducible with JDK 6 as well as with M9. This is also reproducible with JDK 1.5.0_12-b04.
Not reproducible with M9
Created attachment 43157 [details] Profile output
Created attachment 43158 [details] messages.log
It seems that the module could be correctly profiled only once if no calibration is needed. If calibration is performed automatically at the first profiler invocation - it will break the ability to profile the application even for the first run.
*** This issue has been marked as a duplicate of 105244 ***
Verified the scenario with Profiler 1.2 070703 Product Version: NetBeans IDE Dev (Build 200707031200) Java: 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)