Can't create WebIDE plugin SDK in Intellij 9CE

Hello,

I'm trying to make the hg4idea work for WebIDE but I have strange errors (VCS menu entries are missing, but I have no error message to explain that) so I wanted to launch directly the plugin in WebIDE in the Intellij debugger. But I can't add WebIDE as a plugin SDK, the error is "The selected directory is not a valid home for Intellij IDEA Plugin SDK". This perfectly exact, but it doesn't help me.

How can I debug the plugin in WebIDE ?

Thanks,

Nico.



Attachment(s):
webide_plugin_SDK.png
5 comments

Sorry for inconvenience, but DevKit will recognize the Web IDE installation if the installation directory contains the file build.txt containing the build number, you can see one in IDEA dist. Please create this file manually and try again.

0

thank you ! I could create the the plugin SDK.

I used WI-94.149 as a version number.

Nico.

0

Hello again,

I'm stuck again, I can't start WebIDE in the debugger now.
First of all, I couldn't find a 94.149 tag in the git sources, so I just checked out the next available one : 94.151

then, when I launch WebIDE, I've that in the console :


2010-02-04 00:07:47,858 [    348]  ERROR - ation.impl.ApplicationInfoImpl - Argument 0 for @NotNull parameter of com/intellij/openapi/util/JDOMUtil.loadDocument must not be null
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/util/JDOMUtil.loadDocument must not be null
at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java)
at com.intellij.ui.AppUIUtil.getAppIconImages(AppUIUtil.java:50)
at com.intellij.ui.AppUIUtil.updateFrameIcon(AppUIUtil.java:39)
at com.intellij.idea.MainImpl._main(MainImpl.java:76)
at com.intellij.idea.MainImpl.start(MainImpl.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.ide.plugins.PluginManager$3.run(PluginManager.java:149)
at java.lang.Thread.run(Thread.java:637)
2010-02-04 00:07:47,866 [    356]  ERROR - ation.impl.ApplicationInfoImpl - JDK: 1.6.0_17
2010-02-04 00:07:47,866 [    356]  ERROR - ation.impl.ApplicationInfoImpl - VM: Java HotSpot(TM) 64-Bit Server VM
2010-02-04 00:07:47,871 [    361]  ERROR - ation.impl.ApplicationInfoImpl - Vendor: Apple Inc.
2010-02-04 00:07:47,871 [    361]  ERROR - ation.impl.ApplicationInfoImpl - OS: Mac OS X
com.intellij.openapi.util.InvalidDataException: java.util.zip.ZipException: error in opening zip file
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:112)
at com.intellij.ide.plugins.PluginManager.loadDescriptorFromJar(PluginManager.java:829)
at com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.java:779)
at com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(PluginManager.java:545)
at com.intellij.ide.plugins.PluginManager.loadDescriptors(PluginManager.java:489)
at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:169)
at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationComponents(ApplicationImpl.java:289)
at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:192)
at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
at com.intellij.idea.MainImpl.startApplication(MainImpl.java:132)
at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
at com.intellij.ide.license.impl.IdeaLicenseNew$1.run(IdeaLicenseNew.java:434)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:75)
at com.intellij.util.io.URLUtil.openJarStream(URLUtil.java:83)
at com.intellij.util.io.URLUtil.openStream(URLUtil.java:43)
at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:341)
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:104)
... 23 more
com.intellij.openapi.util.InvalidDataException: java.util.zip.ZipException: error in opening zip file
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:112)
at com.intellij.ide.plugins.PluginManager.loadDescriptorFromJar(PluginManager.java:829)
at com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.java:779)
at com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(PluginManager.java:545)
at com.intellij.ide.plugins.PluginManager.loadDescriptors(PluginManager.java:489)
at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:169)
at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationComponents(ApplicationImpl.java:289)
at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:192)
at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
at com.intellij.idea.MainImpl.startApplication(MainImpl.java:132)
at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
at com.intellij.ide.license.impl.IdeaLicenseNew$1.run(IdeaLicenseNew.java:434)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:75)
at com.intellij.util.io.URLUtil.openJarStream(URLUtil.java:83)
at com.intellij.util.io.URLUtil.openStream(URLUtil.java:43)
at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:341)
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:104)
... 23 more
com.intellij.openapi.util.InvalidDataException: java.util.zip.ZipException: error in opening zip file
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:112)
at com.intellij.ide.plugins.PluginManager.loadDescriptorFromJar(PluginManager.java:829)
at com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.java:779)
at com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(PluginManager.java:545)
at com.intellij.ide.plugins.PluginManager.loadDescriptors(PluginManager.java:489)
at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:169)
at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationComponents(ApplicationImpl.java:289)
at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:192)
at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
at com.intellij.idea.MainImpl.startApplication(MainImpl.java:132)
at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
at com.intellij.ide.license.impl.IdeaLicenseNew$1.run(IdeaLicenseNew.java:434)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:75)
at com.intellij.util.io.URLUtil.openJarStream(URLUtil.java:83)
at com.intellij.util.io.URLUtil.openStream(URLUtil.java:43)
at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:341)
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:104)
... 23 more
com.intellij.openapi.util.InvalidDataException: java.util.zip.ZipException: error in opening zip file
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:112)
at com.intellij.ide.plugins.PluginManager.loadDescriptorFromJar(PluginManager.java:829)
at com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.java:779)
at com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(PluginManager.java:545)
at com.intellij.ide.plugins.PluginManager.loadDescriptors(PluginManager.java:489)
at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:169)
at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationComponents(ApplicationImpl.java:289)
at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:192)
at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
at com.intellij.idea.MainImpl.startApplication(MainImpl.java:132)
at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
at com.intellij.ide.license.impl.IdeaLicenseNew$1.run(IdeaLicenseNew.java:434)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:75)
at com.intellij.util.io.URLUtil.openJarStream(URLUtil.java:83)
at com.intellij.util.io.URLUtil.openStream(URLUtil.java:43)
at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:341)
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:104)
... 23 more
2010-02-04 00:07:49,074 [   1564]  ERROR - llij.ide.plugins.PluginManager - null
java.lang.NullPointerException
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.insertDependency(IdeaPluginDescriptorImpl.java:504)
at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:203)
at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationComponents(ApplicationImpl.java:289)
at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:192)
at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
at com.intellij.idea.MainImpl.startApplication(MainImpl.java:132)
at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
at com.intellij.ide.license.impl.IdeaLicenseNew$1.run(IdeaLicenseNew.java:434)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
2010-02-04 00:07:49,075 [   1565]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.6.0_17
2010-02-04 00:07:49,075 [   1565]  ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) 64-Bit Server VM
2010-02-04 00:07:49,075 [   1565]  ERROR - llij.ide.plugins.PluginManager - Vendor: Apple Inc.
2010-02-04 00:07:49,075 [   1565]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X



and my lines in the editor don't match anyways, for example MainImpl.java:76 is a comment for me.

Is there something wrong in my trial ?

Thanks,

Nicolas.
0

Please add  -Didea.platform.prefix=Web  to VM Parameters in plugin run configuration.

0

Thanks, now I can start the WebIde in intellij.

Nicolas.

0

Please sign in to leave a comment.