[ 
https://issues.apache.org/jira/browse/BEAM-10265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149587#comment-17149587
 ] 

Ahmet Altay commented on BEAM-10265:
------------------------------------

/cc [~tysonjh] [~kenn] - For adding a proper error when a recursive schema or a 
recursive POJO is used.

> GetterBasedSchemaProvider#schemaFor stack overflows when given a recursive 
> schema
> ---------------------------------------------------------------------------------
>
>                 Key: BEAM-10265
>                 URL: https://issues.apache.org/jira/browse/BEAM-10265
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>    Affects Versions: 2.21.0, 2.22.0
>            Reporter: Reza ardeshir rokni
>            Priority: P3
>
> Proto:
> message TSFoo {
>  string a = 1;
>  string b = 2;
>  TSFoo theOlderMe = 3;
> }
> new ProtoMessageSchema().schemaFor(TypeDescriptor.of(Foo.TSFoo.class));
> Causes a stackoverflow. 
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to