NoSuchMethodError caused by IDEA forms generated $$setupUI$$ ??

I'm getting this exception for my plugin:

Error message: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(62,447),button=1,modifiers=Button1,clickCount=1] on dialog0
java.lang.NoSuchMethodError: com.intellij.uiDesigner.core.GridLayoutManager.(IILjava/awt/Insets;IIZZ)V at net.kano.modmod.prefs.PrefsBox.$$$setupUI$$$(PrefsBox.java) at net.kano.modmod.prefs.PrefsBox.]]>(PrefsBox.java:58)
at net.kano.modmod.ModModComponent.createComponent(ModModComponent.java:108)
at com.intellij.openapi.j.a.c.createCenterPanel(c.java:14)


Does anyone know why this would happen? Shouldn't IDEA generate code that works? Is IDEA bundled with a different version of forms_rt.jar than I have?

2 comments

Keith Lea wrote:

Is IDEA bundled with a different version of forms_rt.jar than I have?

Exactly. The signature of the method have been changed between 4.0 and
4.5 release.


--
Maxim Shafirov
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

I am compiling with 4.5.2 EAP and running as a plugin within that same IDEA 4.5.2 EAP. How could this happen, shouldn't the same version be used for each?

0

Please sign in to leave a comment.