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.

0

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.

0

请先登录再写评论。