genghaizhou/json-tool-plugin

java.lang.StackOverflowError

Opened this issue · 0 comments

class Department {
Long id;
String name;
List children;
}

java.lang.StackOverflowError
at com.intellij.psi.impl.source.resolve.ResolveCache$2.get(ResolveCache.java:110)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:226)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:184)
at com.intellij.psi.impl.PsiImplUtil.multiResolveImpl(PsiImplUtil.java:789)
at com.intellij.psi.impl.PsiImplUtil.multiResolveImpl(PsiImplUtil.java:781)
at com.intellij.psi.impl.PsiImplUtil.multiResolveImpl(PsiImplUtil.java:757)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:429)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:423)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:177)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolve(PsiClassReferenceType.java:121)
at com.intellij.psi.util.PsiUtil.resolveClassInType(PsiUtil.java:485)
at com.hardy.action.JsonSchemaAction.genField(JsonSchemaAction.java:150)
at com.hardy.action.JsonSchemaAction.genField(JsonSchemaAction.java:134)
at com.hardy.action.JsonSchemaAction.getFields(JsonSchemaAction.java:89)
at com.hardy.action.JsonSchemaAction.lambda$classParser$0(JsonSchemaAction.java:76)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
...
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at com.hardy.action.JsonSchemaAction.classParser(JsonSchemaAction.java:76)
at com.hardy.action.JsonSchemaAction.genField(JsonSchemaAction.java:151)
at com.hardy.action.JsonSchemaAction.genField(JsonSchemaAction.java:134)
at com.hardy.action.JsonSchemaAction.getFields(JsonSchemaAction.java:89)
at com.hardy.action.JsonSchemaAction.lambda$classParser$0(JsonSchemaAction.java:76)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)