AbstractMethodError in PHPStorm 4 (it was working in PHPStorm 3)
Hi, I've developed a plugin for PHPStorm, and it was working fine in PHPStorm, but now I'm testing on PHPStorm 4 and I'm getting an error like this:
AbstractMethodError: com.magic.extensions.MagicGotoDeclarationHandler@528353: com.magic.extensions.MagicGotoDeclarationHandler.getActionText(Lcom/intellij/openapi/actionSystem/DataContext;)Ljava/lang/String;
I don't understand that error, has the definition for GotoDeclarationHandler changed?
I can't find any reference to getActionText()
Please can you give some hint for solving this?
Thanks !!
Enrique.
Please sign in to leave a comment.
Yes, the declaration has changed. You can find javadocs for the new method in the appropriate version of the IntelliJ IDEA Community Edition source code.
In your plugin, you can simply return null from the method - it won't change the behavior.
I couldnt't find the new definition, I'm seeing this:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.jetbrains/intellij-idea/11.0/com/intellij/codeInsight/navigation/actions/GotoDeclarationHandler.java#GotoDeclarationHandler
EDIT: I found it here, thanks:
http://git.jetbrains.org/?p=idea/community.git;a=blob;f=platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoDeclarationHandler.java;hb=HEAD