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 061025, jdk 1.6.0 b102 Steps to reproduce: 1. set analyze performance, entire application 2. attach to a running application using dynamic attach 3. Error message dialog occurs with message '0' The profiler agent stay running in attached application but profiler (in ide) doesn't recognize it. It allows to attach to the application again. The profiled application than throws: Profiler Agent Error: Exception when trying to establish connection with client: java.net.BindException: Address already in use
It seems strange error '0' is caused by exception found in ide log: java.lang.ArrayIndexOutOfBoundsException: 0 com.sun.tools.profiler.wireprotocol.InitiateInstrumentationCommand.<init>(InitiateInstrumentationCommand.java:49) com.sun.tools.profiler.ProfilerClient.initiateRecursiveCPUProfInstrumentation(ProfilerClient.java:393) org.netbeans.modules.profiler.NetBeansProfiler.instrumentSelectedRoots(NetBeansProfiler.java:1045) org.netbeans.profiler.common.Profiler.performInstrumentation(Profiler.java:154) org.netbeans.modules.profiler.NetBeansProfiler.attachToApp(NetBeansProfiler.java:850) org.netbeans.modules.profiler.actions.ProfilingSupport.doAttach(ProfilingSupport.java:445) org.netbeans.modules.profiler.actions.AttachAction.actionPerformed(AttachAction.java:56) javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Fixed in trunk.
verified