Can't create screen with the studio

Hi,
I already reported the issue through intelliJ but I can add details.
it happens when I try to create a browser screen in an addon.
snippet of the entity:

@Entity(name = "bar_foo")
open class Foo : BaseAddress(), BaseSoftDelete {

more infos:
kotlin projet, jmix1.6.2, studio verison 2.4.3-243 (previous version also don’t work), , IntelliJ IDEA 2024.3.2.1 (Community Edition)

the call stack
java.lang.StackOverflowError
	at com.intellij.openapi.util.UserDataHolderBase.getUserData(UserDataHolderBase.java:47)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:162)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:136)
	at com.intellij.psi.impl.source.xml.XmlTagImpl.getNamespace(XmlTagImpl.java:193)
	at com.intellij.util.xml.impl.DomImplUtil.isNameSuitable(DomImplUtil.java:174)
	at com.intellij.util.xml.impl.DomImplUtil.lambda$findSubTags$0(DomImplUtil.java:143)
	at com.intellij.util.containers.ContainerUtil.findAll(ContainerUtil.java:1098)
	at com.intellij.util.xml.impl.DomImplUtil.findSubTags(DomImplUtil.java:140)
	at com.intellij.util.xml.impl.CollectionChildDescriptionImpl.getCollectionSubTags(CollectionChildDescriptionImpl.java:37)
	at com.intellij.util.xml.impl.DomInvocationHandler.getCollectionSubTags(DomInvocationHandler.java:809)
	at com.intellij.util.xml.impl.DomInvocationHandler.getCollectionChildren(DomInvocationHandler.java:786)
	at com.intellij.util.xml.impl.DomInvocationHandler.getCollectionChildren(DomInvocationHandler.java:753)
	at com.intellij.util.xml.impl.GetCollectionChildInvocation.invoke(GetCollectionChildInvocation.java:27)
	at com.intellij.util.xml.impl.DomInvocationHandler$MyInvocationHandler.invoke(DomInvocationHandler.java:865)
	at com.haulmont.jmixstudio.backend.dom.fetchplan.FetchPlanItem$$EnhancerByJetBrainsMainCglib$$da1938b9.getProperties(<generated>)
	at com.haulmont.jmixstudio.backend.model.FetchPlanPsi.lambda$getProperties$13(FetchPlanPsi.java:173)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction$lambda$4(AnyThreadWriteThreadingSupport.kt:260)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:272)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:260)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:859)
	at com.haulmont.jmixstudio.util.EntityUtil.ra(EntityUtil.java:824)
	at com.haulmont.jmixstudio.backend.model.FetchPlanPsi.getProperties(FetchPlanPsi.java:171)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.getDisplayProperties(FetchPlanBuilder.java:588)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:608)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)
	at com.haulmont.jmixstudio.intellij.ui.fetchplan.FetchPlanBuilder.buildTreeProperty(FetchPlanBuilder.java:619)

Thanks

Hi,

It looks like you have a cyclical relationship in your fetch plans.
Can you please attach sample project or your fetch plans config file and related entity file?

Regards,
Mikhail

Hi,
Luckily, the issues seams to have magically disappeared. I can’t reproduce it anymore (same project/same screen). Let’s hope it doesn’t show again.

Regards