projects getting corrupted

Hi,

It seems that for the last 2-3 EAPs my config and project files have gotten less and less compatible with IDEA.

I can not open the Project Settings anymore on projects created before 7020 or so. I can still use them... just not change any settings.

is this normal? I realize that at some point old project files can get in bad shape if they have been updated in many EAPs. Is my only solution to re-create my projects?

Florian Hehlen

6 comments
Comment actions Permalink

Hello,

As it was mentioned in the forum we are working on the new Project Structure.
Unfortunately the work is still in progress. You are face UI problems with
this dialog.

Sorry for inconvenience

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Hi,

It seems that for the last 2-3 EAPs my config and project files have
gotten less and less compatible with IDEA.

I can not open the Project Settings anymore on projects created before
7020 or so. I can still use them... just not change any settings.

is this normal? I realize that at some point old project files can get
in bad shape if they have been updated in many EAPs. Is my only
solution to re-create my projects?

Florian Hehlen



0
Comment actions Permalink

thanks for the response.

I missed that posting on the forums.

When is the new structure expected to be final? Will there be smooth migration of old projects to new?

Florian

0
Comment actions Permalink

So I take it the answer to Florian's question
> Is my only solution to re-create my projects?
is yes?!

Isn't it possible to patch project/module files in any way to prevent this exception when opening the settings:

java.lang.NullPointerException
at com.intellij.openapi.roots.ui.configuration.projectRoot.LibraryConfigurable.getDisplayName(LibraryConfigurable.java:25)
at com.intellij.openapi.ui.MasterDetailsComponent$MyNode.getDisplayName(MasterDetailsComponent.java:625)
at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable$2.customizeCellRenderer(BaseStructureConfigurable.java:7)
at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:93)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2699)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1469)

I don't really want to go through the hassle of recreating the complete project.

0
Comment actions Permalink

Ok, after digging around a bit:

  • It's not a problem of conversion from earlier EAP builds. Happens also for freshly created projects.

  • You can get around this particular issue by running Idea on JDK 1.5 (instead of 1.6).


Phew, at least I can work again...

0
Comment actions Permalink

Hello,

Sorry it was discussed that it is problems with JDK 1.6 at least twice thus
I forgot to mention it again

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Ok, after digging around a bit:

  • It's not a problem of conversion from earlier EAP builds. Happens

also for freshly created projects.

  • You can get around this particular issue by running Idea on JDK 1.5

(instead of 1.6).

Phew, at least I can work again...



0

Please sign in to leave a comment.