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 77198

Summary: Warning: multiple instances of shared class ...avk.actions.StartInstrumentation created
Product: serverplugins Reporter: ea118769 <ea118769>
Component: AVKAssignee: _ bhavanishankar <bhavanishankar>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ea118769 2006-06-01 04:00:15 UTC
I installed NetBeans nightly builds 05/30 and 05/31 with AS 9.0 PE b48 on
Solaris, Linux and W2K machines. Then I installed AVK from the Update Center.
For all installations when I tried to run Dynamic  Verification I saw such error
messages in the NB messages.log file or at the terminal windows where NB was
started:


[org.openide.util.SharedClassObject] INFORMATIONAL *********** Exception occurre
d ************ at 7:42 PM on May 31, 2006
Annotation: (Run with -J-Dorg.openide.util.SharedClassObject=0 for more details.
)
java.lang.IllegalStateException: Warning: multiple instances of shared class org
.netbeans.modules.j2ee.sun.ide.avk.actions.StartInstrumentation created.
[catch] at org.openide.util.SharedClassObject.<init>(SharedClassObject.java:149)

        at org.openide.util.actions.SystemAction.<init>(SystemAction.java:45)
        at org.openide.util.actions.CallableSystemAction.<init>(CallableSystemAc
tion.java:33)
        at org.openide.util.actions.NodeAction.<init>(NodeAction.java:66)
        at org.netbeans.modules.j2ee.sun.ide.avk.actions.CommonNodeAction.<init>
(CommonNodeAction.java:35)
        at org.netbeans.modules.j2ee.sun.ide.avk.actions.StartInstrumentation.<i
nit>(StartInstrumentation.java:30)
        at org.netbeans.modules.j2ee.sun.ide.avk.AddAVKSupport$1.run(AddAVKSuppo
rt.java:291)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)

        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:926)
Comment 1 _ bhavanishankar 2006-06-06 09:31:36 UTC
Code changes:

Checking in src/org/netbeans/modules/j2ee/sun/ide/avk/AddAVKSupport.java;
/cvs/serverplugins/sun/avk/src/org/netbeans/modules/j2ee/sun/ide/avk/AddAVKSupport.java,v
 <--  AddAVKSupport.java
new revision: 1.1.6.1.2.2; previous revision: 1.1.6.1.2.1
done
Checking in
src/org/netbeans/modules/j2ee/sun/ide/avk/actions/StartInstrumentation.java;
/cvs/serverplugins/sun/avk/src/org/netbeans/modules/j2ee/sun/ide/avk/actions/Attic/StartInstrumentation.java,v
 <--  StartInstrumentation.java
new revision: 1.1.4.2; previous revision: 1.1.4.1
done