Selena chokes on Maven generated project files

Starting with build 7016, Selena chokes on Maven generated project files. I created the multi-module project files via "mvn idea:idea" (command line). At the beginning of the *.iml project file right after the Apache copyright note is a commented section (syntactically correct) with some stuff related to war files. This comment section causes a stacktrace when IDEA opens the project. I had to manually remove the comments.

Thanks,
Peter

7 comments
Comment actions Permalink

Peter, apply the patch from http://jira.codehaus.org/browse/MIDEA-96

Of course, it would ideally be handled on IDEA's side, but I think this discussion resolved as won't fix.

0
Comment actions Permalink

Peter, apply the patch from
http://jira.codehaus.org/browse/MIDEA-96

Of course, it would ideally be handled on IDEA's
side, but I think this discussion resolved as won't
fix.


Thanks, Andrew.

Peter

0
Comment actions Permalink

Niiiice :) Will we see the fix in the next build ? Right now 7027 doesn't work for me (Java 6 U1, WinXP SP2)

0
Comment actions Permalink

Btw, I hope we're talking about the same thing:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``

      
    
    -->]
java.lang.IllegalArgumentException: Wrong node: [Comment: ]
	at com.intellij.openapi.util.JDOMUtil.internElement(JDOMUtil.java:181)
	at com.intellij.openapi.util.JDOMUtil.internElement(JDOMUtil.java:174)
	at com.intellij.openapi.components.impl.stores.XmlElementStorage.loadState(XmlElementStorage.java:51)
	at com.intellij.openapi.components.impl.stores.FileBasedStorage.loadState(FileBasedStorage.java:15)
	at com.intellij.openapi.components.impl.stores.XmlElementStorage.a(XmlElementStorage.java:6)
	at com.intellij.openapi.components.impl.stores.XmlElementStorage.getStorageData(XmlElementStorage.java:46)
	at com.intellij.openapi.components.impl.stores.BaseFileConfigurableStoreImpl.getMainStorageData(BaseFileConfigurableStoreImpl.java:12)
	at com.intellij.openapi.components.impl.stores.BaseFileConfigurableStoreImpl.load(BaseFileConfigurableStoreImpl.java:9)
	at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:148)
	at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:275)
	at com.intellij.openapi.project.impl.ProjectManagerImpl.access$100(ProjectManagerImpl.java:262)
	at com.intellij.openapi.project.impl.ProjectManagerImpl$5.run(ProjectManagerImpl.java:16)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:8)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:71)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:44)
	at com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:5)
	at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:4)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
	at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:4)
]]>

0
Comment actions Permalink

Yes, we are :)

Evgeny Goldin wrote:

Btw, I hope we're talking about the same thing:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``

 Wrong node: [Comment: ]
> java.lang.IllegalArgumentException: Wrong node: [Comment: ]
> 	at com.intellij.openapi.util.JDOMUtil.internElement(JDOMUtil.java:181)
> 	at com.intellij.openapi.util.JDOMUtil.internElement(JDOMUtil.java:174)
> 	at com.intellij.openapi.components.impl.stores.XmlElementStorage.loadState(XmlElementStorage.java:51)
> 	at com.intellij.openapi.components.impl.stores.FileBasedStorage.loadState(FileBasedStorage.java:15)
> 	at com.intellij.openapi.components.impl.stores.XmlElementStorage.a(XmlElementStorage.java:6)
> 	at com.intellij.openapi.components.impl.stores.XmlElementStorage.getStorageData(XmlElementStorage.java:46)
> 	at com.intellij.openapi.components.impl.stores.BaseFileConfigurableStoreImpl.getMainStorageData(BaseFileConfigurableStoreImpl.java:12)
> 	at com.intellij.openapi.components.impl.stores.BaseFileConfigurableStoreImpl.load(BaseFileConfigurableStoreImpl.java:9)
> 	at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:148)
> 	at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:275)
> 	at com.intellij.openapi.project.impl.ProjectManagerImpl.access$100(ProjectManagerImpl.java:262)
> 	at com.intellij.openapi.project.impl.ProjectManagerImpl$5.run(ProjectManagerImpl.java:16)
> 	at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:8)
> 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:71)
> 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:44)
> 	at com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:5)
> 	at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:4)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> 	at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:4)
> ]]>


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

0
Comment actions Permalink

Great, thank you ! Cleaning up some comments from *.ipr file did the job. Now I'm back to the latest build :)

0

Please sign in to leave a comment.