提交 fc50f2ca 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #1828 from AndrewKhitrin/fixlockmngr

Fix lock manager NPE
...@@ -69,10 +69,12 @@ public class LockManagerViewer { ...@@ -69,10 +69,12 @@ public class LockManagerViewer {
private Action killAction = new Action("Kill waiting session", UIUtils.getShardImageDescriptor(ISharedImages.IMG_ELCL_STOP)) { private Action killAction = new Action("Kill waiting session", UIUtils.getShardImageDescriptor(ISharedImages.IMG_ELCL_STOP)) {
@Override @Override
public void run() { public void run() {
DBAServerLock<?> root = graphManager.getGraph(curLock).getLockRoot(); if (curLock != null) {
alterSession(); DBAServerLock<?> root = graphManager.getGraph(curLock).getLockRoot();
refreshLocks(root); alterSession();
setTableLockSelect(root); refreshLocks(root);
setTableLockSelect(root);
}
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册