Compare Directories plugin exception


This is reported against CompareDirectory plugin

null
java.lang.AssertionError
at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invoke(CodeCompletionHandlerBase.java:112)
at com.intellij.codeInsight.editorActions.XmlAutoPopupHandler$1$1.run(XmlAutoPopupHandler.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:2)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:52)
at com.intellij.codeInsight.editorActions.XmlAutoPopupHandler$1.run(XmlAutoPopupHandler.java:5)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:213)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:16)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1051)
at java.awt.Dialog$3.run(Dialog.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1101)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:116)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:6)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:889)
at com.intellij.openapi.ui.DialogBuilder.showImpl(DialogBuilder.java:66)
at com.intellij.openapi.ui.DialogBuilder.show(DialogBuilder.java:46)
at com.intellij.openapi.ui.DialogBuilder.showModal(DialogBuilder.java:135)
at com.intellij.openapi.diff.impl.external.FrameDiffTool.a(FrameDiffTool.java:64)
at com.intellij.openapi.diff.impl.external.FrameDiffTool.show(FrameDiffTool.java:6)
at org.intellij.idea.dirdiff.action.PopupMenuAction$OpenDiffRunnable.run(PopupMenuAction.java:326)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:365)
at org.intellij.idea.dirdiff.model.Commands$WriteCommandRunnable.run(Commands.java:129)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:2)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:52)
at org.intellij.idea.dirdiff.model.Commands.runWriteCommand(Commands.java:40)
at org.intellij.idea.dirdiff.action.PopupMenuAction.openFileDiffs(PopupMenuAction.java:143)
at org.intellij.idea.dirdiff.action.PopupMenuAction.openNodeDiffs(PopupMenuAction.java:131)
at org.intellij.idea.dirdiff.view.CompareDirectoryPanel$UI$MouseAdapter.mouseClicked(CompareDirectoryPanel.java:527)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6219)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at com.intellij.util.ui.Tree.processMouseEvent(Tree.java:76)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4229)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)



4 comments
Comment actions Permalink

another exception, picked in idea.log


2009-04-22 13:18:15,125 [182554470]   WARN - tellij.ide.HackyRepaintManager - Access to realized (ever shown) UI components should be done only from the AWT event dispatch thread, revalidate(), invalidate() & repaint() is ok from any thread
java.lang.Exception
at com.intellij.ide.IdeRepaintManager.a(IdeRepaintManager.java:15)
at com.intellij.ide.IdeRepaintManager.addDirtyRegion(IdeRepaintManager.java:44)
at javax.swing.JComponent.repaint(JComponent.java:4732)
at java.awt.Component.repaint(Component.java:3034)
at javax.swing.JTree.treeDidChange(JTree.java:2834)
at javax.swing.plaf.basic.BasicTreeUI.updateSize(BasicTreeUI.java:1801)
at javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged(BasicTreeUI.java:3748)
at org.intellij.idea.dirdiff.model.FileTreeModel.valueForPathChanged(FileTreeModel.java:173)
at org.intellij.idea.dirdiff.model.FileTreeModel.treeChanged(FileTreeModel.java:161)
at org.intellij.idea.dirdiff.view.CompareDirectoryPanel.refreshTreeStructure(CompareDirectoryPanel.java:128)
at org.intellij.idea.dirdiff.action.CopyAsAction$CopyThread.run(CopyAsAction.java:322)
at java.lang.Thread.run(Thread.java:619)


edit : actually this is completely flooding my idea.log files with hundreds of it in < 1H

0
Comment actions Permalink

Last : there seem to be a failure while trying to copy files from one side of the comparison to the other side.
The file concerned exist only in one side, and directories for it have been correctly created, but the file itself wasn't.

When trying to copy I get the following message "Erreur inattendue pendant la copie de fichier : certains fichiers n'ont pas pu être écrasés.", however the destination folder is empty

0
Comment actions Permalink

Hello Thibaut,

I couldn't reproduce all these issues on my machine, but I think I could fix them all.

Can you please download this next plugin version and check if it does indeed? Then I can publish it on the IDEA plugin repository.

Thanks,
Olivier.

0
Comment actions Permalink

I actually did solve most of them too, but our changes are quite different.

I attach the sources of my patched up version



Attachment(s):
src.zip
0

Please sign in to leave a comment.