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 Build 1 (070222) NetBeans IDE Dev (Build 200702201900) 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 Sun Java System Application Server 9.1 (build b33) Steps to reproduce: - Delete calibration data - Right-click GlassFish in IDE and select Start in Profile Mode - Perform Attach to it - Information message is shown that calibration will be performed. Click OK - RESULT: Error dialog is shown: "Failed to establish connection to target JVM". Profiling session fails.
Profiler 070322 Calibration also fails on dynamic attach to applet in browser
And in case of dynamic attach to browser it will cause browser to shut down. This is a data lost justification, so raising the priority.
We already discussed it. There is no data lost.
But the crash still exist. Please, review the priority guidelines.
There is no NetBeans IDE crash.
*** Issue 94314 has been marked as a duplicate of this issue. ***
Consider the following scenario: - User runs an application - Tries to perform dynamic attach - Application is shut down due to the absence of calibration data
fixed the part with the dynamic attach - this is the real problem because usually a user tries to attach dynamically to a running application and he doesn't expect the app will be shut down by profiler. this behavior is now fixed - when attaching dynamically without the calibration data the profiler just detaches from the target VM instead of shutting it down things are a bit different for the direct attach though. user usually starts the application with special switch and that application awaits the profiler client to connect. since there is no real work done by the application shutting down the waiting JVM sounds good to me