Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对象中有该对象的List集合就会报栈溢出 #8

Open
jiewang-2023 opened this issue Mar 28, 2023 · 0 comments
Open

对象中有该对象的List集合就会报栈溢出 #8

jiewang-2023 opened this issue Mar 28, 2023 · 0 comments

Comments

@jiewang-2023
Copy link

@DaTa
@NoArgsConstructor
@AllArgsConstructor
@builder
public class User implements Serializable {
private static final long serialVersionUID = -1840831686851699943L;

List<User> userList;

private Long id;

private String name;

private String password; 

}

java.lang.StackOverflowError
at java.base/java.lang.StringConcatHelper.newArray(StringConcatHelper.java:494)
at java.base/java.lang.StringLatin1.replace(StringLatin1.java:313)
at java.base/java.lang.String.replace(String.java:2806)
at java.base/sun.reflect.generics.parser.SignatureParser.parsePackageNameAndSimpleClassTypeSignature(SignatureParser.java:328)
at java.base/sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(SignatureParser.java:304)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:283)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:277)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeArgument(SignatureParser.java:420)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeArguments(SignatureParser.java:380)
at java.base/sun.reflect.generics.parser.SignatureParser.parsePackageNameAndSimpleClassTypeSignature(SignatureParser.java:335)
at java.base/sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(SignatureParser.java:304)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:283)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:277)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeSignature(SignatureParser.java:469)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeSig(SignatureParser.java:188)
at java.base/sun.reflect.generics.repository.FieldRepository.parse(FieldRepository.java:53)
at java.base/sun.reflect.generics.repository.FieldRepository.parse(FieldRepository.java:42)
at java.base/sun.reflect.generics.repository.AbstractRepository.(AbstractRepository.java:74)
at java.base/sun.reflect.generics.repository.FieldRepository.(FieldRepository.java:49)
at java.base/sun.reflect.generics.repository.FieldRepository.make(FieldRepository.java:66)
at java.base/java.lang.reflect.Field.getGenericInfo(Field.java:109)
at java.base/java.lang.reflect.Field.getGenericType(Field.java:276)
at com.github.houbb.data.factory.core.api.data.aggregate.BeanData.buildContext(BeanData.java:106)
at com.github.houbb.data.factory.core.api.data.aggregate.BeanData.build(BeanData.java:44)
at com.github.houbb.data.factory.core.core.Data.build(Data.java:24)
at com.github.houbb.data.factory.core.util.DataUtil.build(DataUtil.java:37)
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant