Comunity Edition build failed

Hi,


I have downloaded community edition project from git repository and tried to launch IDEA according to instructions: http://www.jetbrains.org/pages/viewpage.action?pageId=983225


Then I rebuilded project using "Build->Rebuild Project" command and tried to run the code using provided shared run configuration "IDEA", but I get the following exception:

[    184]  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.openapi.application.impl.ApplicationInfoImpl.getShadowInstance(ApplicationInfoImpl.java:274)
     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:80)
     at com.intellij.idea.MainImpl.start(MainImpl.java:72)
     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:619)
[    187]  ERROR - ation.impl.ApplicationInfoImpl - JDK: 1.6.0_13
[    187]  ERROR - ation.impl.ApplicationInfoImpl - VM: Java HotSpot(TM) Client VM
[    188]  ERROR - ation.impl.ApplicationInfoImpl - Vendor: Sun Microsystems Inc.
[    188]  ERROR - ation.impl.ApplicationInfoImpl - OS: Windows Vista
Cannot load: D:\Development\IntelliJIDEA\idea\out\production\resources\META-INF\IdeaPlugin.xml
com.intellij.util.xmlb.XIncludeException: java.io.FileNotFoundException: \META-INF\RegExpPlugin.xml (The system cannot find the path specified)
     at com.intellij.util.xmlb.JDOMXIncluder.parseRemote(JDOMXIncluder.java:316)
     at com.intellij.util.xmlb.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:215)
     at com.intellij.util.xmlb.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:334)
     at com.intellij.util.xmlb.JDOMXIncluder.resolve(JDOMXIncluder.java:158)
     at com.intellij.util.xmlb.JDOMXIncluder.resolve(JDOMXIncluder.java:138)
     at com.intellij.util.xmlb.JDOMXIncluder.resolve(JDOMXIncluder.java:60)
     at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:105)
     at com.intellij.ide.plugins.PluginManager.loadDescriptorFromDir(PluginManager.java:803)
     at com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.java:741)
     at com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(PluginManager.java:538)
     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.MainImpl.startApplication(MainImpl.java:103)
     at com.intellij.idea.MainImpl._main(MainImpl.java:99)
     at com.intellij.idea.MainImpl.start(MainImpl.java:72)
     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:619)
Caused by: java.io.FileNotFoundException: \META-INF\RegExpPlugin.xml (The system cannot find the path specified)
     at java.io.FileInputStream.open(Native Method)
     at java.io.FileInputStream.<init>(FileInputStream.java:106)
     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
     at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
     at java.net.URL.openStream(URL.java:1009)
     at com.intellij.util.io.URLUtil.openStream(URLUtil.java:46)
     at com.intellij.util.io.URLUtil.openResourceStream(URLUtil.java:52)
     at com.intellij.openapi.util.JDOMUtil.loadResourceDocument(JDOMUtil.java:345)
     at com.intellij.util.xmlb.JDOMXIncluder.parseRemote(JDOMXIncluder.java:298)
     ... 25 more
Error loading plugins from classpath:
java.lang.NullPointerException
     at com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.java:782)
     at com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(PluginManager.java:538)
     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.MainImpl.startApplication(MainImpl.java:103)
     at com.intellij.idea.MainImpl._main(MainImpl.java:99)
     at com.intellij.idea.MainImpl.start(MainImpl.java:72)
     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:619)
java.lang.reflect.InvocationTargetException
     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:619)
Caused by: java.lang.AssertionError
     at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:200)
     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.MainImpl.startApplication(MainImpl.java:103)
     at com.intellij.idea.MainImpl._main(MainImpl.java:99)
     at com.intellij.idea.MainImpl.start(MainImpl.java:72)
     ... 6 more
[    777]  ERROR - llij.ide.plugins.PluginManager - Error while accessing com.intellij.idea.MainImpl.start with arguments: []
java.lang.reflect.InvocationTargetException
     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:619)
Caused by: java.lang.AssertionError
     at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:200)
     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.MainImpl.startApplication(MainImpl.java:103)
     at com.intellij.idea.MainImpl._main(MainImpl.java:99)
     at com.intellij.idea.MainImpl.start(MainImpl.java:72)
     ... 6 more
[    778]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.6.0_13
[    778]  ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) Client VM
[    778]  ERROR - llij.ide.plugins.PluginManager - Vendor: Sun Microsystems Inc.
[    778]  ERROR - llij.ide.plugins.PluginManager - OS: Windows Vista
[    778]  ERROR - llij.ide.plugins.PluginManager - Original exception:  
java.lang.AssertionError
     at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:200)
     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.MainImpl.startApplication(MainImpl.java:103)
     at com.intellij.idea.MainImpl._main(MainImpl.java:99)
     at com.intellij.idea.MainImpl.start(MainImpl.java:72)
     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:619)



Please advise what can be wrong?



Regards,
Vladimir

3 comments
Comment actions Permalink

Hello Ikryanov,

Please make sure that your run configuration uses the classpath of the community-main
module, there's a dependency from community-main to RegExpSupport, and that
RegExpPlugin.xml file was copied to out/release/RegExpSupport/META-INF directory
during compilation.

I have downloaded community edition project from git repository and
tried to launch IDEA according to instructions:
http://www.jetbrains.org/pages/viewpage.action?pageId=983225

Then I rebuilded project using "Build->Rebuild Project" command and
tried to run the code using provided shared run configuration "IDEA",
but I get the following exception:

 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.openapi.application.impl.ApplicationInfoImpl.getShadowIns
> tance(ApplicationInfoImpl.java:274)
> 
>      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:80)
> 
>      at
> com.intellij.idea.MainImpl.start(MainImpl.java:72)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> 
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.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:619)
> 
> [    187]  ERROR - ation.impl.ApplicationInfoImpl - JDK: 1.6.0_13
> 
> [    187]  ERROR - ation.impl.ApplicationInfoImpl - VM: Java
> HotSpot(TM) Client VM
> 
> [    188]  ERROR - ation.impl.ApplicationInfoImpl - Vendor: Sun
> Microsystems Inc.
> 
> [    188]  ERROR - ation.impl.ApplicationInfoImpl - OS: Windows Vista
> 
> Cannot load:
> D:\Development\IntelliJIDEA\idea\out\production\resources\META-INF\Ide
> aPlugin.xml
> 
> com.intellij.util.xmlb.XIncludeException:
> java.io.FileNotFoundException: \META-INF\RegExpPlugin.xml (The system
> cannot find the path specified)
> 
>      at
> com.intellij.util.xmlb.JDOMXIncluder.parseRemote(JDOMXIncluder.java:31
> 6)
> 
>      at
> com.intellij.util.xmlb.JDOMXIncluder.resolveXIncludeElement(JDOMXInclu
> der.java:215)
> 
>      at
> com.intellij.util.xmlb.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIn
> cluder.java:334)
> 
>      at
> com.intellij.util.xmlb.JDOMXIncluder.resolve(JDOMXIncluder.java:158)
> 
>      at
> com.intellij.util.xmlb.JDOMXIncluder.resolve(JDOMXIncluder.java:138)
> 
>      at
> com.intellij.util.xmlb.JDOMXIncluder.resolve(JDOMXIncluder.java:60)
> 
>      at
> com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPlu
> ginDescriptorImpl.java:105)
> 
>      at
> com.intellij.ide.plugins.PluginManager.loadDescriptorFromDir(PluginMan
> ager.java:803)
> 
>      at
> com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.ja
> va:741)
> 
>      at
> com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(Pl
> uginManager.java:538)
> 
>      at
> com.intellij.ide.plugins.PluginManager.loadDescriptors(PluginManager.j
> ava:489)
> 
>      at
> com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager
> .java:169)
> 
>      at
> com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:1
> 03)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationC
> omponents(ApplicationImpl.java:289)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.(Applicati
> onImpl.java:192)
> 
>      at
> com.intellij.openapi.application.ex.ApplicationManagerEx.createApplica
> tion(ApplicationManagerEx.java:35)
> 
>      at
> com.intellij.idea.IdeaApplication.(IdeaApplication.java:72)
> 
>      at
> com.intellij.idea.MainImpl.startApplication(MainImpl.java:103)
> 
>      at
> com.intellij.idea.MainImpl._main(MainImpl.java:99)
> 
>      at
> com.intellij.idea.MainImpl.start(MainImpl.java:72)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> 
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.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:619)
> 
> Caused by: java.io.FileNotFoundException: \META-INF\RegExpPlugin.xml
> (The system cannot find the path specified)
> 
>      at java.io.FileInputStream.open(Native
> Method)
> 
>      at
> java.io.FileInputStream.(FileInputStream.java:106)
> 
>      at
> java.io.FileInputStream.(FileInputStream.java:66)
> 
>      at
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.
> java:70)
> 
>      at
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConn
> ection.java:161)
> 
>      at
> java.net.URL.openStream(URL.java:1009)
> 
>      at
> com.intellij.util.io.URLUtil.openStream(URLUtil.java:46)
> 
>      at
> com.intellij.util.io.URLUtil.openResourceStream(URLUtil.java:52)
> 
>      at
> com.intellij.openapi.util.JDOMUtil.loadResourceDocument(JDOMUtil.java:
> 345)
> 
>      at
> com.intellij.util.xmlb.JDOMXIncluder.parseRemote(JDOMXIncluder.java:29
> 8)
> 
>      ... 25 more
> 
> Error loading plugins from classpath:
> 
> java.lang.NullPointerException
> 
>      at
> com.intellij.ide.plugins.PluginManager.loadDescriptor(PluginManager.ja
> va:782)
> 
>      at
> com.intellij.ide.plugins.PluginManager.loadDescriptorsFromClassPath(Pl
> uginManager.java:538)
> 
>      at
> com.intellij.ide.plugins.PluginManager.loadDescriptors(PluginManager.j
> ava:489)
> 
>      at
> com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager
> .java:169)
> 
>      at
> com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:1
> 03)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationC
> omponents(ApplicationImpl.java:289)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.(Applicati
> onImpl.java:192)
> 
>      at
> com.intellij.openapi.application.ex.ApplicationManagerEx.createApplica
> tion(ApplicationManagerEx.java:35)
> 
>      at
> com.intellij.idea.IdeaApplication.(IdeaApplication.java:72)
> 
>      at
> com.intellij.idea.MainImpl.startApplication(MainImpl.java:103)
> 
>      at
> com.intellij.idea.MainImpl._main(MainImpl.java:99)
> 
>      at
> com.intellij.idea.MainImpl.start(MainImpl.java:72)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> 
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.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:619)
> 
> java.lang.reflect.InvocationTargetException
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> 
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.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:619)
> 
> Caused by: java.lang.AssertionError
> 
>      at
> com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager
> .java:200)
> 
>      at
> com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:1
> 03)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationC
> omponents(ApplicationImpl.java:289)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.(Applicati
> onImpl.java:192)
> 
>      at
> com.intellij.openapi.application.ex.ApplicationManagerEx.createApplica
> tion(ApplicationManagerEx.java:35)
> 
>      at
> com.intellij.idea.IdeaApplication.(IdeaApplication.java:72)
> 
>      at
> com.intellij.idea.MainImpl.startApplication(MainImpl.java:103)
> 
>      at
> com.intellij.idea.MainImpl._main(MainImpl.java:99)
> 
>      at
> com.intellij.idea.MainImpl.start(MainImpl.java:72)
> 
>      ... 6 more
> 
> [    777]  ERROR - llij.ide.plugins.PluginManager - Error while
> accessing com.intellij.idea.MainImpl.start with arguments: []
> 
> java.lang.reflect.InvocationTargetException
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> 
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.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:619)
> 
> Caused by: java.lang.AssertionError
> 
>      at
> com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager
> .java:200)
> 
>      at
> com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:1
> 03)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationC
> omponents(ApplicationImpl.java:289)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.(Applicati
> onImpl.java:192)
> 
>      at
> com.intellij.openapi.application.ex.ApplicationManagerEx.createApplica
> tion(ApplicationManagerEx.java:35)
> 
>      at
> com.intellij.idea.IdeaApplication.(IdeaApplication.java:72)
> 
>      at
> com.intellij.idea.MainImpl.startApplication(MainImpl.java:103)
> 
>      at
> com.intellij.idea.MainImpl._main(MainImpl.java:99)
> 
>      at
> com.intellij.idea.MainImpl.start(MainImpl.java:72)
> 
>      ... 6 more
> 
> [    778]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.6.0_13
> 
> [    778]  ERROR - llij.ide.plugins.PluginManager - VM: Java
> HotSpot(TM) Client VM
> 
> [    778]  ERROR - llij.ide.plugins.PluginManager - Vendor: Sun
> Microsystems Inc.
> 
> [    778]  ERROR - llij.ide.plugins.PluginManager - OS: Windows Vista
> 
> [    778]  ERROR - llij.ide.plugins.PluginManager - Original
> exception:
> 
> java.lang.AssertionError
> 
>      at
> com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager
> .java:200)
> 
>      at
> com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:1
> 03)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationC
> omponents(ApplicationImpl.java:289)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.(Applicati
> onImpl.java:192)
> 
>      at
> com.intellij.openapi.application.ex.ApplicationManagerEx.createApplica
> tion(ApplicationManagerEx.java:35)
> 
>      at
> com.intellij.idea.IdeaApplication.(IdeaApplication.java:72)
> 
>      at
> com.intellij.idea.MainImpl.startApplication(MainImpl.java:103)
> 
>      at
> com.intellij.idea.MainImpl._main(MainImpl.java:99)
> 
>      at
> com.intellij.idea.MainImpl.start(MainImpl.java:72)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> 
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.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:619)
> 
> ]]>


Please advise what can be wrong?

Regards,
Vladimir
---
Original message URL:
http://www.jetbrains.net/devnet/message/5252069#5252069

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitry,


Thanks. I did what you recommended and found the following things:


1. By default the Project's Compiler Resource Patterns are the following: !*.form;!*.java;!*.class;!*.groovy;
So it looks like by default *.xml files should not be copied to the out directory. As I understood I need to add pattern for *.xml and *.png file types?



2. By default the Project is configured to put the result of compilation into out/production and out/test directory, but not into out/release. Is that ok?


3. Please note that there's also compilation error for jetgroovy plugin module. There are no org.jetbrains.plugins.groovy.dsl.ClassDescriptor and org.jetbrains.plugins.groovy.dsl.ScriptDescriptor interfaces. Where can I get these interfaces? Now I had to remove this module from the Project.



4. I found the reson of the error:

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)


The reson in the following line of the com.intellij.openapi.application.impl.ApplicationInfoImpl class:

274. Document doc = JDOMUtil.loadDocument(ApplicationInfoImpl.class.getResourceAsStream(IDEA_PATH +
                                                                                           ApplicationNamesInfo.getComponentName() +
                                                                                           XML_EXTENSION));


As you may see during debugging the IDEA_PATH value is equals to "/idea/", so the required document should be "/idea/IdeaApplicationInfo.xml". Unfortunately passing this string to the ApplicationInfoImpl.class.getResourceAsStream() method always return null. What can be wrong?



Regards,
Vladimir

0
Comment actions Permalink

Hi Dmitry,

I could run project successfully! Thanks for your help.

Regards,
Vladimir

0

Please sign in to leave a comment.