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

Reza ardeshir rokni commented on BEAM-10265:
--------------------------------------------

Speaking to [~reuvenlax] issue is with any PoJO not just Proto, changing title. 
This is essentially not supported for now... But we should add a decent error 
message.

> POJO which has self in message causes ProtoMessageSchema().schemaFor to 
> stackoverflow
> -------------------------------------------------------------------------------------
>
>                 Key: BEAM-10265
>                 URL: https://issues.apache.org/jira/browse/BEAM-10265
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-core
>    Affects Versions: 2.21.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