Move class to another source folder...

Hi,

I cannot move a class to another source folder since Demetra. Can
anybody reproduce this problem?


Johannes Schneider

3 comments

works fine for me.
But i noticed the old "preserve source folder" option changed into the opposite : "Move to another source folder", and thus you now have to select it in order to be able to move your class

0

Yes, I've seen this change...
Hmm - I have also lost my error settings... I think there went something
really wrong....


Johannes Schneider

Thibaut wrote:

works fine for me.
But i noticed the old "preserve source folder" option changed into the opposite : "Move to another source folder", and thus you now have to select it in order to be able to move your class

0

Okay, I have tried it one more time. The following exception is thrown:


Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:90)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)
at
com.intellij.ide.util.DirectoryChooserModuleTreeView.addItem(DirectoryChooserModuleTreeView.java:37)
at
com.intellij.ide.util.DirectoryChooser.fillList(DirectoryChooser.java:83)
at
com.intellij.ide.util.DirectoryChooser.fillList(DirectoryChooser.java:80)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesUtil.chooseDirectory(MoveClassesOrPackagesUtil.java:141)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesUtil.chooseSourceRoot(MoveClassesOrPackagesUtil.java:7)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesDialog.b(MoveClassesOrPackagesDialog.java:109)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesDialog.doAction(MoveClassesOrPackagesDialog.java:6)
at
com.intellij.refactoring.ui.RefactoringDialog.doRefactorAction(RefactoringDialog.java:12)
at
com.intellij.refactoring.ui.RefactoringDialog$RefactorAction.actionPerformed(RefactoringDialog.java:5)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1957)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2280)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:377)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:232)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5957)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3284)
at java.awt.Component.processEvent(Component.java:5722)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:4365)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:4195)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4228)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:2299)
at java.awt.Component.dispatchEvent(Component.java:4195)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:11)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:76)
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:1038)
at java.awt.Dialog$2.run(Dialog.java:1084)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1082)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:19)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:103)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:730)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesImpl.doMove(MoveClassesOrPackagesImpl.java:147)
at com.intellij.refactoring.move.MoveHandler.doMove(MoveHandler.java:179)
at com.intellij.refactoring.move.MoveHandler.invoke(MoveHandler.java:197)
at
com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:19)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:86)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:38)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:43)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:76)
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.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at java.util.Vector.insertElementAt(Vector.java:563)
at
javax.swing.tree.DefaultMutableTreeNode.insert(DefaultMutableTreeNode.java:177)
at
com.intellij.ide.util.DirectoryChooserModuleTreeView.addItem(DirectoryChooserModuleTreeView.java:36)
at
com.intellij.ide.util.DirectoryChooser.fillList(DirectoryChooser.java:83)
at
com.intellij.ide.util.DirectoryChooser.fillList(DirectoryChooser.java:80)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesUtil.chooseDirectory(MoveClassesOrPackagesUtil.java:141)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesUtil.chooseSourceRoot(MoveClassesOrPackagesUtil.java:7)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesDialog.b(MoveClassesOrPackagesDialog.java:109)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesDialog.doAction(MoveClassesOrPackagesDialog.java:6)
at
com.intellij.refactoring.ui.RefactoringDialog.doRefactorAction(RefactoringDialog.java:12)
at
com.intellij.refactoring.ui.RefactoringDialog$RefactorAction.actionPerformed(RefactoringDialog.java:5)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1957)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2280)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:377)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:232)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5957)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3284)
at java.awt.Component.processEvent(Component.java:5722)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:4365)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:4195)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4228)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:2299)
at java.awt.Component.dispatchEvent(Component.java:4195)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:11)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:76)
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:1038)
at java.awt.Dialog$2.run(Dialog.java:1084)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1082)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:19)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:103)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:730)
at
com.intellij.refactoring.move.moveClassesOrPackages.MoveClassesOrPackagesImpl.doMove(MoveClassesOrPackagesImpl.java:147)
at com.intellij.refactoring.move.MoveHandler.doMove(MoveHandler.java:179)
at com.intellij.refactoring.move.MoveHandler.invoke(MoveHandler.java:197)
at
com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:19)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:86)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:38)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:43)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:76)
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)



0

Please sign in to leave a comment.