You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrei Gurau (Jira)" <ji...@apache.org> on 2022/05/04 14:45:00 UTC

[jira] [Updated] (BEAM-10265) GetterBasedSchemaProvider#schemaFor stack overflows when given a recursive schema

     [ https://issues.apache.org/jira/browse/BEAM-10265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Gurau updated BEAM-10265:
--------------------------------
    Fix Version/s: 2.39.0
       Resolution: Fixed
           Status: Resolved  (was: Open)

Resolved as per this PR: https://github.com/apache/beam/pull/17477

> 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
>            Assignee: Andrei Gurau
>            Priority: P3
>              Labels: Clarified, starter
>             Fix For: 2.39.0
>
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> 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.20.7#820007)