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.

Bug 194076 - Profiling fails with 'JVMTI Redefinition failed with error 60' for ArgumentManager
Summary: Profiling fails with 'JVMTI Redefinition failed with error 60' for ArgumentMa...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-01-06 10:24 UTC by Tomas Hurka
Modified: 2011-01-09 06:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2011-01-06 10:24:11 UTC
Steps to reproduce:
1) Register Glassfishv3 server.
2) Create LotteryAnnotation sample project
3) Start profiling LotteryAnnotation (CPU, all classes)
4) Profiling fails with 'JVMTI Redefinition failed with error 60' for classes:
com.sun.enterprise.module.bootstrap.ArgumentManager
com.sun.enterprise.glassfish.bootstrap.ASMainHelper
com.sun.enterprise.glassfish.bootstrap.ClassPathBuilder
Comment 1 Tomas Hurka 2011-01-06 10:28:01 UTC
LocalVariableTypeTable attribute needs to be updated together with LocalVariableType attribute.

This is regression caused by work on issue #191297.
Comment 2 Tomas Hurka 2011-01-06 14:54:22 UTC
Fixed in profiler-main.

changeset:   185112:3ae4f288a8b5
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Jan 06 15:52:19 2011 +0100
summary:     bugfix #194076, #191297, update LocalVariableTypeTable attribute when a class is instrumented
Comment 3 Quality Engineering 2011-01-09 06:17:57 UTC
Integrated into 'main-golden', will be available in build *201101090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3ae4f288a8b5
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #194076, #191297, update LocalVariableTypeTable attribute when a class is instrumented