FileBrowser plugin exception

Assertion failed: Event cannot be raised when dispatching another event is in progress. Dispatching beforeFileDeletion
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:36)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:18)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:0)
at $Proxy10.beforeFileDeletion(Unknown Source)
at com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(VirtualFileSystem.java:227)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.fireBeforeFileDeletion(LocalFileSystemImpl.java:165)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl$9.run(VirtualFileImpl.java:0)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2$1.run(VirtualFileManagerImpl.java:35)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2.run(VirtualFileManagerImpl.java:13)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.afterRefreshFinish(VirtualFileManagerImpl.java:22)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl$4.run(VirtualFileImpl.java:9)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:5)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:330)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplayBare(FolderDisplayManagerImpl.java:153)
at net.beeger.filebrowser.FolderDisplayManagerImpl.access$000(FolderDisplayManagerImpl.java:40)
at net.beeger.filebrowser.FolderDisplayManagerImpl$1.run(FolderDisplayManagerImpl.java:139)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplay(FolderDisplayManagerImpl.java:135)
at net.beeger.filebrowser.FolderDisplayManagerImpl.showFolderContents(FolderDisplayManagerImpl.java:94)
at net.beeger.filebrowser.FileBrowserImpl.onCurrentlyEditedFileChanged(FileBrowserImpl.java:209)
at net.beeger.filebrowser.FileBrowserImpl.access$000(FileBrowserImpl.java:72)
at net.beeger.filebrowser.FileBrowserImpl$1.selectionChanged(FileBrowserImpl.java:114)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:85)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:144)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:136)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:19)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:84)
at $Proxy57.selectionChanged(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:364)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:57)
at com.intellij.openapi.fileEditor.impl.EditorWindow.setEditor(EditorWindow.java:465)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:204)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane$1.run(EditorTabbedContainer.java:6)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane.setSelectedIndex(EditorTabbedContainer.java:61)
at com.intellij.ui.TabbedPaneWrapper.setSelectedIndex(TabbedPaneWrapper.java:54)
at com.intellij.openapi.fileEditor.impl.EditorWindow.closeFile(EditorWindow.java:241)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.d(FileEditorManagerImpl.java:9)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.access$800(FileEditorManagerImpl.java:385)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.closeFile(FileEditorManagerImpl.java:10)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$MyVirtualFileListener.beforeFileDeletion(FileEditorManagerImpl.java:12)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:74)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:45)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:18)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:0)
at $Proxy10.beforeFileDeletion(Unknown Source)
at com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(VirtualFileSystem.java:227)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.fireBeforeFileDeletion(LocalFileSystemImpl.java:165)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.deleteFile(LocalFileSystemImpl.java:552)
at com.intellij.openapi.vfs.VirtualFile.delete(VirtualFile.java:356)
at com.intellij.psi.impl.file.PsiFileImplUtil.doDelete(PsiFileImplUtil.java:0)
at com.intellij.psi.impl.source.PsiFileImpl.delete(PsiFileImpl.java:82)
at com.intellij.psi.impl.source.tree.java.JavaFileElement.deleteChildInternal(JavaFileElement.java:11)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.delete(TreeWrapperPsiElement.java:35)
at com.intellij.refactoring.safeDelete.SafeDeleteProcessor.performRefactoring(SafeDeleteProcessor.java:298)
at com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringProcessor.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:12)
at com.intellij.refactoring.BaseRefactoringProcessor.access$000(BaseRefactoringProcessor.java:36)
at com.intellij.refactoring.BaseRefactoringProcessor$3$1.run(BaseRefactoringProcessor.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor$3.run(BaseRefactoringProcessor.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:126)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.refactoring.BaseRefactoringProcessor.execute(BaseRefactoringProcessor.java:31)
at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:82)
at com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:131)
at com.intellij.ide.util.DeleteHandler$1.run(DeleteHandler.java:0)
at com.intellij.ide.util.DeleteDialog.doOKAction(DeleteDialog.java:53)
at com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrapper.java:856)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:38)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:108)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1089)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:54)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:64)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:748)
at com.intellij.ide.util.DeleteHandler.deletePsiElement(DeleteHandler.java:35)
at com.intellij.ide.projectView.impl.ProjectViewImpl$MyDeletePSIElementProvider.deleteElement(ProjectViewImpl.java:5)
at com.intellij.ide.actions.DeleteAction.actionPerformed(DeleteAction.java:17)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:119)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:1)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:73)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.openapi.editor.impl.DocumentImpl.removeDocumentListener(DocumentImpl.java:334)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.dispose(TextEditorComponent.java:51)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.dispose(TextEditorImpl.java:23)
at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:20)
at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:94)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:38)
at com.intellij.openapi.fileEditor.impl.text.TextEditorProvider.disposeEditor(TextEditorProvider.java:37)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.disposeComposite(FileEditorManagerImpl.java:230)
at com.intellij.openapi.fileEditor.impl.EditorWindow.closeFile(EditorWindow.java:135)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.d(FileEditorManagerImpl.java:9)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.access$800(FileEditorManagerImpl.java:385)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.closeFile(FileEditorManagerImpl.java:10)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$MyVirtualFileListener.beforeFileDeletion(FileEditorManagerImpl.java:12)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:74)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:45)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:18)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:0)
at $Proxy10.beforeFileDeletion(Unknown Source)
at com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(VirtualFileSystem.java:227)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.fireBeforeFileDeletion(LocalFileSystemImpl.java:165)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl$9.run(VirtualFileImpl.java:0)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2$1.run(VirtualFileManagerImpl.java:35)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2.run(VirtualFileManagerImpl.java:13)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.afterRefreshFinish(VirtualFileManagerImpl.java:22)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl$4.run(VirtualFileImpl.java:9)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:5)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:330)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplayBare(FolderDisplayManagerImpl.java:153)
at net.beeger.filebrowser.FolderDisplayManagerImpl.access$000(FolderDisplayManagerImpl.java:40)
at net.beeger.filebrowser.FolderDisplayManagerImpl$1.run(FolderDisplayManagerImpl.java:139)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplay(FolderDisplayManagerImpl.java:135)
at net.beeger.filebrowser.FolderDisplayManagerImpl.showFolderContents(FolderDisplayManagerImpl.java:94)
at net.beeger.filebrowser.FileBrowserImpl.onCurrentlyEditedFileChanged(FileBrowserImpl.java:209)
at net.beeger.filebrowser.FileBrowserImpl.access$000(FileBrowserImpl.java:72)
at net.beeger.filebrowser.FileBrowserImpl$1.selectionChanged(FileBrowserImpl.java:114)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:85)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:144)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:136)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:19)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:84)
at $Proxy57.selectionChanged(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:364)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:57)
at com.intellij.openapi.fileEditor.impl.EditorWindow.setEditor(EditorWindow.java:465)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:204)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane$1.run(EditorTabbedContainer.java:6)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane.setSelectedIndex(EditorTabbedContainer.java:61)
at com.intellij.ui.TabbedPaneWrapper.setSelectedIndex(TabbedPaneWrapper.java:54)
at com.intellij.openapi.fileEditor.impl.EditorWindow.closeFile(EditorWindow.java:241)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.d(FileEditorManagerImpl.java:9)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.access$800(FileEditorManagerImpl.java:385)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.closeFile(FileEditorManagerImpl.java:10)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$MyVirtualFileListener.beforeFileDeletion(FileEditorManagerImpl.java:12)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:74)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:45)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:18)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:0)
at $Proxy10.beforeFileDeletion(Unknown Source)
at com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(VirtualFileSystem.java:227)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.fireBeforeFileDeletion(LocalFileSystemImpl.java:165)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.deleteFile(LocalFileSystemImpl.java:552)
at com.intellij.openapi.vfs.VirtualFile.delete(VirtualFile.java:356)
at com.intellij.psi.impl.file.PsiFileImplUtil.doDelete(PsiFileImplUtil.java:0)
at com.intellij.psi.impl.source.PsiFileImpl.delete(PsiFileImpl.java:82)
at com.intellij.psi.impl.source.tree.java.JavaFileElement.deleteChildInternal(JavaFileElement.java:11)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.delete(TreeWrapperPsiElement.java:35)
at com.intellij.refactoring.safeDelete.SafeDeleteProcessor.performRefactoring(SafeDeleteProcessor.java:298)
at com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringProcessor.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:12)
at com.intellij.refactoring.BaseRefactoringProcessor.access$000(BaseRefactoringProcessor.java:36)
at com.intellij.refactoring.BaseRefactoringProcessor$3$1.run(BaseRefactoringProcessor.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor$3.run(BaseRefactoringProcessor.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:126)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.refactoring.BaseRefactoringProcessor.execute(BaseRefactoringProcessor.java:31)
at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:82)
at com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:131)
at com.intellij.ide.util.DeleteHandler$1.run(DeleteHandler.java:0)
at com.intellij.ide.util.DeleteDialog.doOKAction(DeleteDialog.java:53)
at com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrapper.java:856)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:38)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:108)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1089)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:54)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:64)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:748)
at com.intellij.ide.util.DeleteHandler.deletePsiElement(DeleteHandler.java:35)
at com.intellij.ide.projectView.impl.ProjectViewImpl$MyDeletePSIElementProvider.deleteElement(ProjectViewImpl.java:5)
at com.intellij.ide.actions.DeleteAction.actionPerformed(DeleteAction.java:17)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:119)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:1)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:73)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.openapi.editor.impl.DocumentImpl.removeDocumentListener(DocumentImpl.java:334)
at com.intellij.openapi.editor.impl.EditorImpl.release(EditorImpl.java:912)
at com.intellij.openapi.editor.impl.EditorFactoryImpl.releaseEditor(EditorFactoryImpl.java:6)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.a(TextEditorComponent.java:24)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.dispose(TextEditorComponent.java:119)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.dispose(TextEditorImpl.java:23)
at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:20)
at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:94)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:38)
at com.intellij.openapi.fileEditor.impl.text.TextEditorProvider.disposeEditor(TextEditorProvider.java:37)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.disposeComposite(FileEditorManagerImpl.java:230)
at com.intellij.openapi.fileEditor.impl.EditorWindow.closeFile(EditorWindow.java:135)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.d(FileEditorManagerImpl.java:9)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.access$800(FileEditorManagerImpl.java:385)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.closeFile(FileEditorManagerImpl.java:10)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$MyVirtualFileListener.beforeFileDeletion(FileEditorManagerImpl.java:12)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:74)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:45)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:18)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:0)
at $Proxy10.beforeFileDeletion(Unknown Source)
at com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(VirtualFileSystem.java:227)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.fireBeforeFileDeletion(LocalFileSystemImpl.java:165)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl$9.run(VirtualFileImpl.java:0)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2$1.run(VirtualFileManagerImpl.java:35)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2.run(VirtualFileManagerImpl.java:13)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.afterRefreshFinish(VirtualFileManagerImpl.java:22)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl$4.run(VirtualFileImpl.java:9)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:5)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:330)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplayBare(FolderDisplayManagerImpl.java:153)
at net.beeger.filebrowser.FolderDisplayManagerImpl.access$000(FolderDisplayManagerImpl.java:40)
at net.beeger.filebrowser.FolderDisplayManagerImpl$1.run(FolderDisplayManagerImpl.java:139)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplay(FolderDisplayManagerImpl.java:135)
at net.beeger.filebrowser.FolderDisplayManagerImpl.showFolderContents(FolderDisplayManagerImpl.java:94)
at net.beeger.filebrowser.FileBrowserImpl.onCurrentlyEditedFileChanged(FileBrowserImpl.java:209)
at net.beeger.filebrowser.FileBrowserImpl.access$000(FileBrowserImpl.java:72)
at net.beeger.filebrowser.FileBrowserImpl$1.selectionChanged(FileBrowserImpl.java:114)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:85)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:144)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:136)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:19)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:84)
at $Proxy57.selectionChanged(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:364)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:57)
at com.intellij.openapi.fileEditor.impl.EditorWindow.setEditor(EditorWindow.java:465)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:204)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane$1.run(EditorTabbedContainer.java:6)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane.setSelectedIndex(EditorTabbedContainer.java:61)
at com.intellij.ui.TabbedPaneWrapper.setSelectedIndex(TabbedPaneWrapper.java:54)
at com.intellij.openapi.fileEditor.impl.EditorWindow.closeFile(EditorWindow.java:241)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.d(FileEditorManagerImpl.java:9)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.access$800(FileEditorManagerImpl.java:385)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.closeFile(FileEditorManagerImpl.java:10)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$MyVirtualFileListener.beforeFileDeletion(FileEditorManagerImpl.java:12)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:74)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:45)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:18)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:0)
at $Proxy10.beforeFileDeletion(Unknown Source)
at com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(VirtualFileSystem.java:227)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.fireBeforeFileDeletion(LocalFileSystemImpl.java:165)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.deleteFile(LocalFileSystemImpl.java:552)
at com.intellij.openapi.vfs.VirtualFile.delete(VirtualFile.java:356)
at com.intellij.psi.impl.file.PsiFileImplUtil.doDelete(PsiFileImplUtil.java:0)
at com.intellij.psi.impl.source.PsiFileImpl.delete(PsiFileImpl.java:82)
at com.intellij.psi.impl.source.tree.java.JavaFileElement.deleteChildInternal(JavaFileElement.java:11)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.delete(TreeWrapperPsiElement.java:35)
at com.intellij.refactoring.safeDelete.SafeDeleteProcessor.performRefactoring(SafeDeleteProcessor.java:298)
at com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringProcessor.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:12)
at com.intellij.refactoring.BaseRefactoringProcessor.access$000(BaseRefactoringProcessor.java:36)
at com.intellij.refactoring.BaseRefactoringProcessor$3$1.run(BaseRefactoringProcessor.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor$3.run(BaseRefactoringProcessor.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:126)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.refactoring.BaseRefactoringProcessor.execute(BaseRefactoringProcessor.java:31)
at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:82)
at com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:131)
at com.intellij.ide.util.DeleteHandler$1.run(DeleteHandler.java:0)
at com.intellij.ide.util.DeleteDialog.doOKAction(DeleteDialog.java:53)
at com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrapper.java:856)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:38)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:108)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1089)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:54)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:64)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:748)
at com.intellij.ide.util.DeleteHandler.deletePsiElement(DeleteHandler.java:35)
at com.intellij.ide.projectView.impl.ProjectViewImpl$MyDeletePSIElementProvider.deleteElement(ProjectViewImpl.java:5)
at com.intellij.ide.actions.DeleteAction.actionPerformed(DeleteAction.java:17)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:119)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:1)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:73)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.NullPointerException
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2$1.run(VirtualFileManagerImpl.java:31)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl$2.run(VirtualFileManagerImpl.java:13)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.afterRefreshFinish(VirtualFileManagerImpl.java:22)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl$4.run(VirtualFileImpl.java:9)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:5)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.refresh(VirtualFileImpl.java:330)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplayBare(FolderDisplayManagerImpl.java:153)
at net.beeger.filebrowser.FolderDisplayManagerImpl.access$000(FolderDisplayManagerImpl.java:40)
at net.beeger.filebrowser.FolderDisplayManagerImpl$1.run(FolderDisplayManagerImpl.java:139)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at net.beeger.filebrowser.FolderDisplayManagerImpl.refreshCurrentFolderDisplay(FolderDisplayManagerImpl.java:135)
at net.beeger.filebrowser.FolderDisplayManagerImpl.showFolderContents(FolderDisplayManagerImpl.java:94)
at net.beeger.filebrowser.FileBrowserImpl.onCurrentlyEditedFileChanged(FileBrowserImpl.java:209)
at net.beeger.filebrowser.FileBrowserImpl.access$000(FileBrowserImpl.java:72)
at net.beeger.filebrowser.FileBrowserImpl$1.selectionChanged(FileBrowserImpl.java:114)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:85)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:144)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:136)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:19)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:84)
at $Proxy57.selectionChanged(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:364)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:57)
at com.intellij.openapi.fileEditor.impl.EditorWindow.setEditor(EditorWindow.java:465)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:204)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane$1.run(EditorTabbedContainer.java:6)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane.setSelectedIndex(EditorTabbedContainer.java:61)
at com.intellij.ui.TabbedPaneWrapper.setSelectedIndex(TabbedPaneWrapper.java:54)
at com.intellij.openapi.fileEditor.impl.EditorWindow.closeFile(EditorWindow.java:241)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.d(FileEditorManagerImpl.java:9)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.access$800(FileEditorManagerImpl.java:385)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.closeFile(FileEditorManagerImpl.java:10)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$MyVirtualFileListener.beforeFileDeletion(FileEditorManagerImpl.java:12)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:74)
at com.intellij.util.PendingEventDispatcher.a(PendingEventDispatcher.java:45)
at com.intellij.util.PendingEventDispatcher.access$100(PendingEventDispatcher.java:18)
at com.intellij.util.PendingEventDispatcher$1.invoke(PendingEventDispatcher.java:0)
at $Proxy10.beforeFileDeletion(Unknown Source)
at com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(VirtualFileSystem.java:227)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.fireBeforeFileDeletion(LocalFileSystemImpl.java:165)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.deleteFile(LocalFileSystemImpl.java:552)
at com.intellij.openapi.vfs.VirtualFile.delete(VirtualFile.java:356)
at com.intellij.psi.impl.file.PsiFileImplUtil.doDelete(PsiFileImplUtil.java:0)
at com.intellij.psi.impl.source.PsiFileImpl.delete(PsiFileImpl.java:82)
at com.intellij.psi.impl.source.tree.java.JavaFileElement.deleteChildInternal(JavaFileElement.java:11)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.delete(TreeWrapperPsiElement.java:35)
at com.intellij.refactoring.safeDelete.SafeDeleteProcessor.performRefactoring(SafeDeleteProcessor.java:298)
at com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringProcessor.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:12)
at com.intellij.refactoring.BaseRefactoringProcessor.access$000(BaseRefactoringProcessor.java:36)
at com.intellij.refactoring.BaseRefactoringProcessor$3$1.run(BaseRefactoringProcessor.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:187)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.refactoring.BaseRefactoringProcessor$3.run(BaseRefactoringProcessor.java)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:126)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:112)
at com.intellij.refactoring.BaseRefactoringProcessor.execute(BaseRefactoringProcessor.java:31)
at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:82)
at com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:131)
at com.intellij.ide.util.DeleteHandler$1.run(DeleteHandler.java:0)
at com.intellij.ide.util.DeleteDialog.doOKAction(DeleteDialog.java:53)
at com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrapper.java:856)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:38)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:108)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1089)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:54)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:64)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:748)
at com.intellij.ide.util.DeleteHandler.deletePsiElement(DeleteHandler.java:35)
at com.intellij.ide.projectView.impl.ProjectViewImpl$MyDeletePSIElementProvider.deleteElement(ProjectViewImpl.java:5)
at com.intellij.ide.actions.DeleteAction.actionPerformed(DeleteAction.java:17)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:119)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:1)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:73)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:22)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

1 comment
Comment actions Permalink

Hi Nikita,

Thanks for the bug report. I can reproduce this bug and will try to fix it.
There are three workarounds - till I fix it - for this bug:

  • Temporarily disable "autoscroll from source" in FileBrowser before deleting a file in IDEA.

  • Close the file before deleting it in IDEA.

  • Make sure that an editor with a file other than the one to be deleted is active before deleting the file in IDEA.


Cheers,
Robert

0

Please sign in to leave a comment.