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.
Build: NetBeans IDE Dev (Build 091122-fa8b12981306) VM: OpenJDK 64-Bit Server VM, 14.0-b08, OpenJDK Runtime Environment, 1.6.0_0-b14 OS: Linux, 2.6.28-16-generic, amd64 User Comments: ca-nb: - created an SVG image - opened it in SVG editor - switched to source - right-clicked source and invoked 'All XML Actions' popup menu command Stacktrace: java.lang.IllegalStateException: Warning: multiple instances of shared class org.netbeans.modules.xml.actions.CollectXMLAction created. at org.openide.util.SharedClassObject.<init>(SharedClassObject.java:185) at org.openide.util.actions.SystemAction.<init>(SystemAction.java:84) at org.netbeans.modules.xml.actions.CollectSystemAction.<init>(CollectSystemAction.java:58) at org.netbeans.modules.xml.actions.CollectXMLAction.<init>(CollectXMLAction.java:53) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
Created attachment 91489 [details] stacktrace
for now exception is not 100% reproducible but the main problem is existing 'All XML Actions' menu item for xml node that do nothing and missed XML actions (Check XML, Validate XML, Generate DTD, XSL Transformation) steps to reproduce: - create Java Application - add XML Document - right click on created document
Fixed in trunk: http://hg.netbeans.org/main/rev/c7be2e3fa280
Created attachment 91566 [details] stacktrace
IMO, this should be resolved for NB68 FCS - the exception itself is not a problem but fact that action "All XML actions" is shown in any XML popup (in my case it is web.xml) without having any sense these and the fact that actions which you would expect there are missing is serious enough to justify it.
Agreed - rising to P1 ... please proceed with integration into release68
verified with trunk build NetBeans IDE Dev (Build 200911240305)
Integrated into 'main-golden', will be available in build *200911241400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c7be2e3fa280 User: Alex Petrov <alexpetrov@netbeans.org> Log: Fix for issue [#177382]. IllegalStateException: multiple instances of shared class org.netbeans.modules.xml.actions.CollectXMLAction created (see issue [#173031]).
Fixed in release68: http://hg.netbeans.org/release68/rev/41123c04fc74
verified with NetBeans IDE 6.8 RC1 (Build 200911252200)
*** Bug 177825 has been marked as a duplicate of this bug. ***