We cannot reproduce the problem with renaming properties. Could you please create a bug report here: http://youtrack.jetbrains.net/issues/OC#newissue=yes and attach a sample project that shows the problem or steps to reproduce?
17:08:35 PicoInitializationException: Either do the specified parameters not match any of the following constructors: [edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor()] or the constructors were not accessible for 'class edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor': Either do the specified parameters not match any of the following constructors: [edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor()] or the constructors were not accessible for 'class edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor' 17:09:07 PsiInvalidElementAccessException: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR
That's strange. Try redounloading and reinstalling AppCode from http://eap.jetbrains.com/objc. If this doesn''t solve the problem, disable all third-party plugins, if you have any.
ClassName refactor-rename is working very well. But, Property And Instance Variable renaming doesn't work. After editing, press Enter. Then old name still remains.
2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR com.intellij.psi.PsiInvalidElementAccessException: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR at com.intellij.psi.impl.source.tree.LeafPsiElement.invalid(LeafPsiElement.java:107) at com.intellij.psi.impl.source.tree.LeafPsiElement.getContainingFile(LeafPsiElement.java:91) at com.jetbrains.objc.lang.OCCodeInsightUtil.getCppTokenType(OCCodeInsightUtil.java:72) at com.jetbrains.objc.psi.impl.OCDeclaratorImpl.getName(OCDeclaratorImpl.java:324) at com.jetbrains.objc.refactoring.OCRenameProcessor.validateUsages(OCRenameProcessor.java:622) at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.preprocessUsages(OCInplaceRenamer.java:338) at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:204) at com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:117) at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.doRun(OCInplaceRenamer.java:384) at com.intellij.refactoring.BaseRefactoringProcessor$9.run(BaseRefactoringProcessor.java:520) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:643) at java.awt.EventQueue$1.run(EventQueue.java:641) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:652) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:718) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:543) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:421) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) 2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - JetBrains AppCode (AppCode) OC-121.35 Build #OC-121.35 2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - JDK: 1.6.0_33 2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) 64-Bit Server VM 2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - Vendor: Apple Inc. 2012-08-13 17:42:19,688 [ 417715] ERROR - pplication.impl.LaterInvocator - OS: Mac OS X 2012-08-13 17:42:19,688 [ 417715] ERROR - pplication.impl.LaterInvocator - Last Action: NextTemplateVariable
I delete the previous AppCode and reinstall it, as you mentioned. But there is no effect. I got same result. When I tried to refactor a local variable with shift-F6, the red box appeared. I typed new variable name, it looked app code changed others. But, as soon as I entered, the following exception occurred, and failed to refactor. I use mountain lion, jdk 1.6.0_33 64bit.
com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR com.intellij.psi.PsiInvalidElementAccessException: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR at com.intellij.psi.impl.source.tree.LeafPsiElement.invalid(LeafPsiElement.java:107) at com.intellij.psi.impl.source.tree.LeafPsiElement.getContainingFile(LeafPsiElement.java:91) at com.jetbrains.objc.lang.OCCodeInsightUtil.getCppTokenType(OCCodeInsightUtil.java:72) at com.jetbrains.objc.psi.impl.OCDeclaratorImpl.getName(OCDeclaratorImpl.java:324) at com.jetbrains.objc.refactoring.OCRenameProcessor.validateUsages(OCRenameProcessor.java:622) at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.preprocessUsages(OCInplaceRenamer.java:338) at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:204) at com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:117) at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.doRun(OCInplaceRenamer.java:384) at com.intellij.refactoring.BaseRefactoringProcessor$9.run(BaseRefactoringProcessor.java:520) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:643) at java.awt.EventQueue$1.run(EventQueue.java:641) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:652) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:718) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:543) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:421) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
We cannot reproduce the problem with renaming properties.
Could you please create a bug report here: http://youtrack.jetbrains.net/issues/OC#newissue=yes and attach a sample project that shows the problem or steps to reproduce?
I have same problems. It sucks.
The Exception Log Like This:
17:08:35 PicoInitializationException: Either do the specified parameters not match any of the following constructors: [edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor()] or the constructors were not accessible for 'class edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor': Either do the specified parameters not match any of the following constructors: [edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor()] or the constructors were not accessible for 'class edu.jetbrains.completionWithLiveTemplates.LiveTemplatesCompletionContributor'
17:09:07 PsiInvalidElementAccessException: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR
That's strange.
Try redounloading and reinstalling AppCode from http://eap.jetbrains.com/objc.
If this doesn''t solve the problem, disable all third-party plugins, if you have any.
Let us know if this fixes the problem or not.
Oh. I found same issue already created.
http://youtrack.jetbrains.com/issue/OC-4983
Maybe this one should be same with mine.
ClassName refactor-rename is working very well.
But, Property And Instance Variable renaming doesn't work. After editing, press Enter. Then old name still remains.
Please to create a sample project, then, as directed in the comment http://youtrack.jetbrains.com/issue/OC-4983#comment=27-368750
2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR
com.intellij.psi.PsiInvalidElementAccessException: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR
at com.intellij.psi.impl.source.tree.LeafPsiElement.invalid(LeafPsiElement.java:107)
at com.intellij.psi.impl.source.tree.LeafPsiElement.getContainingFile(LeafPsiElement.java:91)
at com.jetbrains.objc.lang.OCCodeInsightUtil.getCppTokenType(OCCodeInsightUtil.java:72)
at com.jetbrains.objc.psi.impl.OCDeclaratorImpl.getName(OCDeclaratorImpl.java:324)
at com.jetbrains.objc.refactoring.OCRenameProcessor.validateUsages(OCRenameProcessor.java:622)
at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.preprocessUsages(OCInplaceRenamer.java:338)
at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:204)
at com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:117)
at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.doRun(OCInplaceRenamer.java:384)
at com.intellij.refactoring.BaseRefactoringProcessor$9.run(BaseRefactoringProcessor.java:520)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:652)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:543)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:421)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - JetBrains AppCode (AppCode) OC-121.35 Build #OC-121.35
2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - JDK: 1.6.0_33
2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) 64-Bit Server VM
2012-08-13 17:42:19,687 [ 417714] ERROR - pplication.impl.LaterInvocator - Vendor: Apple Inc.
2012-08-13 17:42:19,688 [ 417715] ERROR - pplication.impl.LaterInvocator - OS: Mac OS X
2012-08-13 17:42:19,688 [ 417715] ERROR - pplication.impl.LaterInvocator - Last Action: NextTemplateVariable
I delete the previous AppCode and reinstall it, as you mentioned. But there is no effect. I got same result. When I tried to refactor a local variable with shift-F6, the red box appeared. I typed new variable name, it looked app code changed others. But, as soon as I entered, the following exception occurred, and failed to refactor.
I use mountain lion, jdk 1.6.0_33 64bit.
com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR
com.intellij.psi.PsiInvalidElementAccessException: com.intellij.psi.impl.source.tree.LeafPsiElement:IDENTIFIER / com.intellij.psi.impl.source.tree.CompositeElement:DECLARATOR
at com.intellij.psi.impl.source.tree.LeafPsiElement.invalid(LeafPsiElement.java:107)
at com.intellij.psi.impl.source.tree.LeafPsiElement.getContainingFile(LeafPsiElement.java:91)
at com.jetbrains.objc.lang.OCCodeInsightUtil.getCppTokenType(OCCodeInsightUtil.java:72)
at com.jetbrains.objc.psi.impl.OCDeclaratorImpl.getName(OCDeclaratorImpl.java:324)
at com.jetbrains.objc.refactoring.OCRenameProcessor.validateUsages(OCRenameProcessor.java:622)
at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.preprocessUsages(OCInplaceRenamer.java:338)
at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:204)
at com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:117)
at com.jetbrains.objc.refactoring.OCInplaceRenamer$4.doRun(OCInplaceRenamer.java:384)
at com.intellij.refactoring.BaseRefactoringProcessor$9.run(BaseRefactoringProcessor.java:520)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:652)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:543)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:421)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I unchecked all plugins (including bundles plugin), but it didn't work.
Please Fix it. The OC121.35 version only has this problem.
me too.
Everyone affected, please follow and watch http://youtrack.jetbrains.com/issue/OC-4983.
We'll publish a build with a fix shortly.
sweet..
I'm renaming with all properties and instance variables using find and replace. That is how much I love 1.6 :D
We have uploaded a build to test the fix: http://youtrack.jetbrains.com/issue/OC-4983. Please leave your comment in the issue
OC121-49 works. Thanks a lot.
That works! Thank you. :)