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 # : 201306100004 ] [ JDK VERSION : 1.7.0_21 ] inside the editor on Right Click > Find Usages > Find the IDE Log shows tons of this Exception java.lang.IllegalStateException: This must happen in the event thread! at org.openide.awt.Actions$Bridge.propertyChange(Actions.java:929) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl .java:196) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:3 27) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:2 63) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:3 03) at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java :616) at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav a:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:458 ) at com.sun.proxy.$Proxy6.resultChanged(Unknown Source) at org.openide.util.lookup.AbstractLookup$NotifyListeners.run(AbstractLookup.java:5 42) at org.openide.util.lookup.AbstractLookup.notifyIn(AbstractLookup.java:314) at org.openide.util.lookup.AbstractLookup.addPairImpl(AbstractLookup.java:256) at org.openide.util.lookup.AbstractLookup.addPair(AbstractLookup.java:223) at org.openide.util.lookup.AbstractLookup$Content.addPair(AbstractLookup.java:1278) at org.openide.util.lookup.InstanceContent.add(InstanceContent.java:90) at org.netbeans.modules.java.navigation.ClassMemberPanelUI$7.run(ClassMemberPanelUI .java:726) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Unfortunately the ClassMemberPanelUI.propertyChange() has to modify the Lookup outside the EDT because the InstanceContent.add() may be expensive, see issue #223978 for details. It's questionable if the NodeAction$DelegateAction.resultChanged() should be prepared that events from lookup outside of the EDT.
*** Bug 231664 has been marked as a duplicate of this bug. ***
Created attachment 148092 [details] possible fix?
fix: http://hg.netbeans.org/core-main/rev/40975ade5d9f
Integrated into 'main-silver', will be available in build *201407240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/40975ade5d9f User: Jan Peska <JPESKA@netbeans.org> Log: Issue #231104 - java.lang.IllegalStateException: This must happen in the event thread! Ensure the NodeAction fires property change in EDT - Applying Ondra's patch
*** Bug 246218 has been marked as a duplicate of this bug. ***
*** Bug 235998 has been marked as a duplicate of this bug. ***
*** Bug 235537 has been marked as a duplicate of this bug. ***