linux-china / zookeeper-intellij

IntelliJ IDEA ZooKeeper Plugin
62 stars 36 forks source link

Crash after delete and refresh #16

Open sergluka opened 7 years ago

sergluka commented 7 years ago

Index: 1, Size: 1 java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at org.mvnsearch.intellij.plugin.zookeeper.ui.ZkTreeModel.getChild(ZkTreeModel.java:35) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1494) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1288) at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:743) at javax.swing.tree.VariableHeightLayoutCache.setModel(VariableHeightLayoutCache.java:109) at javax.swing.plaf.basic.BasicTreeUI.configureLayoutCache(BasicTreeUI.java:1821) at javax.swing.plaf.basic.BasicTreeUI.completeUIInstall(BasicTreeUI.java:689) at com.intellij.util.ui.tree.WideSelectionTreeUI.completeUIInstall(WideSelectionTreeUI.java:127) at javax.swing.plaf.basic.BasicTreeUI.installUI(BasicTreeUI.java:649) at javax.swing.JComponent.setUI(JComponent.java:666) at javax.swing.JTree.setUI(JTree.java:700) at com.intellij.ui.treeStructure.Tree.setUI(Tree.java:95) at javax.swing.JTree.updateUI(JTree.java:716) at org.mvnsearch.intellij.plugin.zookeeper.actions.ZkTreeRefreshAction.actionPerformed(ZkTreeRefreshAction.java:20) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:199) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:215) at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:188) at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:154) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:325) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:843) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:675) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)