java.lang.NullPointerException at org.netbeans.modules.db.sql.loader.SQLCloneableEditor$SQLExecutionImpl$3.run(SQLCloneableEditor.java:773) at org.netbeans.modules.db.sql.loader.SQLCloneableEditor$SQLExecutionImpl$3.run(SQLCloneableEditor.java:769) at org.openide.util.Mutex.doEventAccess(Mutex.java:1363) at org.openide.util.Mutex.readAccess(Mutex.java:273) at org.netbeans.modules.db.sql.loader.SQLCloneableEditor$SQLExecutionImpl.isSelection(SQLCloneableEditor.java:769) at org.netbeans.modules.db.sql.editor.ui.actions.RunSQLSelectionAction.getDisplayName(RunSQLSelectionAction.java:80) at org.netbeans.modules.db.sql.editor.ui.actions.SQLExecutionBaseAction$ContextAwareDelegate$3.run(SQLExecutionBaseAction.java:190) at org.openide.util.Mutex.doEvent(Mutex.java:1343) at org.openide.util.Mutex.readAccess(Mutex.java:350) at org.netbeans.modules.db.sql.editor.ui.actions.SQLExecutionBaseAction$ContextAwareDelegate.propertyChanged(SQLExecutionBaseAction.java:183) at org.netbeans.modules.db.sql.editor.ui.actions.SQLExecutionBaseAction$ContextAwareDelegate.resultChanged(SQLExecutionBaseAction.java:169) at org.netbeans.modules.db.sql.editor.ui.actions.SQLExecutionBaseAction$ContextAwareDelegate.(SQLExecutionBaseAction.java:144) at org.netbeans.modules.db.sql.editor.ui.actions.RunSQLSelectionAction$SelectionContextAwareDelegate.(RunSQLSelectionAction.java:106) at org.netbeans.modules.db.sql.editor.ui.actions.RunSQLSelectionAction.createContextAwareInstance(RunSQLSelectionAction.java:100) at org.netbeans.modules.editor.NbEditorToolBar.addPresenters(NbEditorToolBar.java:487) at org.netbeans.modules.editor.NbEditorToolBar.checkPresentersAdded(NbEditorToolBar.java:385) at org.netbeans.modules.editor.NbEditorToolBar.access$400(NbEditorToolBar.java:129) at org.netbeans.modules.editor.NbEditorToolBar$4$1.run(NbEditorToolBar.java:274) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1082) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1076) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1126) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1098) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:128) at org.openide.util.Mutex.doEventAccess(Mutex.java:1363) at org.openide.util.Mutex.readAccess(Mutex.java:273) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1083) at java.awt.Component.show(Component.java:1651) at java.awt.Component.setVisible(Component.java:1603) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at org.netbeans.core.NotifyExcPanel.updateState(NotifyExcPanel.java:412) at org.netbeans.core.NotifyExcPanel.access$400(NotifyExcPanel.java:98) at org.netbeans.core.NotifyExcPanel$2.run(NotifyExcPanel.java:343) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1082) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1076) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1126) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1098) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:128) at org.openide.util.Mutex.doEventAccess(Mutex.java:1363) at org.openide.util.Mutex.readAccess(Mutex.java:273) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1083) at java.awt.Component.show(Component.java:1651) at java.awt.Component.setVisible(Component.java:1603) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:260) at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.run(DialogDisplayerImpl.java:186) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)