Exception during rename refactor

IDEA 5.0 build #3448

JDK 1.5.0_04

Windows XP

Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(229,147),button=1,modifiers=Button1,clickCount=1]
on dialog81:
com.intellij.refactoring.RefactoringSettings.isToSearchInNonJavaFilesForRename(Lcom/intellij/psi/PsiElement;)Z
java.lang.NoSuchMethodError:
com.intellij.refactoring.RefactoringSettings.isToSearchInNonJavaFilesForRename(Lcom/intellij/psi/PsiElement;)Z
at
org.intellij.plugins.util.Refactorer.createRenameRefactoring(Refactorer.java:54)
at org.intellij.plugins.util.Refactorer.rename(Refactorer.java:64)
at
org.intellij.plugins.junit.MethodRefactoringListener.handleMethodsRenamed(MethodRefactoringListener.java:98)
at
org.intellij.plugins.junit.MethodRefactoringListener.access$200(MethodRefactoringListener.java:26)
at
org.intellij.plugins.junit.MethodRefactoringListener$1.run(MethodRefactoringListener.java:79)
at org.intellij.plugins.util.CommandUtil$4.run(CommandUtil.java:122)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:392)
at org.intellij.plugins.util.CommandUtil.runAction(CommandUtil.java:113)
at
org.intellij.plugins.util.CommandUtil.runWriteAction(CommandUtil.java:61)
at
org.intellij.plugins.junit.MethodRefactoringListener.elementRenamed(MethodRefactoringListener.java:83)
at
com.intellij.refactoring.listeners.impl.impl.RefactoringTransactionImpl$MyRefactoringElementListener$2.run(RefactoringTransactionImpl.java:4)
at
com.intellij.refactoring.listeners.impl.impl.RefactoringTransactionImpl.commit(RefactoringTransactionImpl.java:6)
at
com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringProcessor.java:3)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:392)
at
com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:15)
at
com.intellij.refactoring.BaseRefactoringProcessor.access$000(BaseRefactoringProcessor.java:99)
at
com.intellij.refactoring.BaseRefactoringProcessor$3$1.run(BaseRefactoringProcessor.java)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:392)
at
com.intellij.refactoring.BaseRefactoringProcessor$3.run(BaseRefactoringProcessor.java)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:14)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:83)
at
com.intellij.refactoring.BaseRefactoringProcessor.execute(BaseRefactoringProcessor.java:74)
at
com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:163)
at
com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:252)
at
com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:137)
at
com.intellij.refactoring.ui.RefactoringDialog.invokeRefactoring(RefactoringDialog.java:25)
at
com.intellij.refactoring.rename.RenameDialog.doAction(RenameDialog.java:25)
at
com.intellij.refactoring.ui.RefactoringDialog.doRefactorAction(RefactoringDialog.java:0)
at
com.intellij.refactoring.ui.RefactoringDialog$RefactorAction.actionPerformed(RefactoringDialog.java:5)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
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:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:9)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:20)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:106)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:14)
at
com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:46)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:722)
at
com.intellij.refactoring.rename.PsiElementRenameHandler.a(PsiElementRenameHandler.java:38)
at
com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:47)
at
com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:69)
at
com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:25)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:58)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:212)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:98)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:44)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:106)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

1 comment
Comment actions Permalink

Hello Ted,

This exception is caused by the JUnitTest plugin, which hasn't yet been updated
to be compatible with the final IDEA 5.0 API. Please uninstall the plugin
and wait until the new version (which is already being worked on) is released.


TH> IDEA 5.0 build #3448
TH>
TH> JDK 1.5.0_04
TH>
TH> Windows XP
TH>
TH> Error during dispatching of
TH> java.awt.event.MouseEvent[MOUSE_RELEASED,(229,147),button=1,modifier
TH> s=Button1,clickCount=1]
TH> on dialog81:
TH> com.intellij.refactoring.RefactoringSettings.isToSearchInNonJavaFile
TH> sForRename(Lcom/intellij/psi/PsiElement;)Z
TH> java.lang.NoSuchMethodError:
TH> com.intellij.refactoring.RefactoringSettings.isToSearchInNonJavaFile
TH> sForRename(Lcom/intellij/psi/PsiElement;)Z
TH> at
TH> org.intellij.plugins.util.Refactorer.createRenameRefactoring(Refacto
TH> rer.java:54)

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.