eclipse-archived/ceylon-ide-intellij

It is possible to obtain StackOverflowError om dependencies

MikhailMalyutin opened this issue · 3 comments

null
java.lang.StackOverflowError
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$ModuleWeakReference.hashCode(ModuleDependencies.java:125)
	at java.util.HashMap.hash(HashMap.java:338)
	at java.util.HashMap.get(HashMap.java:556)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:479)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)
	at com.redhat.ceylon.ide.common.model.ModuleDependencies$1DependencyAnalyzer.isRootExportedBy(ModuleDependencies.java:498)

Do you have a way to reproduce this problem on a simple module.ceylon that could could attach to this issue?

This is not easy. This is happened after I try to use com.vasileff.ceylon.structures "1.0.0" module, and additionally I have overrides.xml file. And additionally 2 instances of IDEA was runned with different projects.

And this is floating bug. Then I restart IDEA - all works fine. But later (may be after one hour), then I edit the code, this error is thrown and all code looks invalid. Then I have to restart IDEA again.