[
https://issues.apache.org/jira/browse/BEAM-10199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126260#comment-17126260
]
Reza ardeshir rokni commented on BEAM-10199:
--------------------------------------------
The GSON autovalue object actually extends a base object, the base object looks
like the normal AutoValue generated object...
>From ErrorMsg class we get:
abstract class $AutoValue_ErrorMsg extends ErrorMsg
And then:
final class AutoValue_ErrorMsg extends $AutoValue_ErrorMsg
So this line of code in the Beam utils, wont work...:
return baseName.startsWith("AutoValue_") ? clazz.getSuperclass() : clazz;
> AutoValue Schema unable to work with auto-value-gson-annotations objects
> ------------------------------------------------------------------------
>
> Key: BEAM-10199
> URL: https://issues.apache.org/jira/browse/BEAM-10199
> Project: Beam
> Issue Type: New Feature
> Components: sdk-java-core
> Affects Versions: 2.21.0
> Reporter: Reza ardeshir rokni
> Priority: P2
>
> Objects created with the extension :
> com.ryanharter.auto.value:auto-value-gson-annotations:0.8.0
> Fail with NPE in Java pipelines.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)