java.lang.IllegalStateException: This must happen in the event thread! at org.openide.awt.Actions$Bridge.propertyChange(Actions.java:341) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup port.java:252) at org.openide.util.SharedClassObject.firePropertyChange(SharedClassObje ct.java:386) at org.openide.util.SharedClassObject.putProperty(SharedClassObject.java :276) at org.openide.util.actions.SystemAction.setEnabled(SystemAction.java:10 1) at org.openide.util.actions.CallbackSystemAction.updateEnabled(CallbackS ystemAction.java:126) at org.openide.util.actions.CallbackSystemAction.access$200(CallbackSyst emAction.java:53) at org.openide.util.actions.CallbackSystemAction$ActionDelegateListener. propertyChange(CallbackSystemAction.java:386) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(Swing PropertyChangeSupport.java:264) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(Swing PropertyChangeSupport.java:232) at javax.swing.AbstractAction.firePropertyChange(AbstractAction.java:178 ) at javax.swing.AbstractAction.setEnabled(AbstractAction.java:138) at org.openide.explorer.ExplorerActionsImpl$OwnPaste.setPasteTypes(Explo rerActionsImpl.java:405) at org.openide.explorer.ExplorerActionsImpl.updatePasteTypes(ExplorerAct ionsImpl.java:292) at org.openide.explorer.ExplorerActionsImpl.updatePasteAction(ExplorerAc tionsImpl.java:280) at org.openide.explorer.ExplorerActionsImpl.access$300(ExplorerActionsIm pl.java:48) at org.openide.explorer.ExplorerActionsImpl$ActionStateUpdater.clipboard Changed(ExplorerActionsImpl.java:619) at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerIm pl.java:383) at $Proxy9.clipboardChanged(Unknown Source) at org.openide.util.datatransfer.ExClipboard.fireClipboardChange(ExClipb oard.java:60) at org.netbeans.core.NbClipboard.run(NbClipboard.java:149) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java :686) Warning - org.netbeans.modules.text.ConvertToTextAction should override Callable SystemAction.asynchronous() to return false