beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Mills (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-359) AvroCoder should be able to handle anonymous classes as schemas
Date Mon, 20 Jun 2016 18:22:58 GMT
Daniel Mills created BEAM-359:
---------------------------------

             Summary: AvroCoder should be able to handle anonymous classes as schemas
                 Key: BEAM-359
                 URL: https://issues.apache.org/jira/browse/BEAM-359
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
    Affects Versions: 0.1.0-incubating, 0.2.0-incubating
            Reporter: Daniel Mills
            Assignee: Ben Chambers


Currently, the determinism checker NPEs with:
java.lang.IllegalArgumentException: Unable to get field id from class null
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.getField(AvroCoder.java:710)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.checkRecord(AvroCoder.java:548)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.doCheck(AvroCoder.java:477)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.recurse(AvroCoder.java:453)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.checkRecord(AvroCoder.java:567)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.doCheck(AvroCoder.java:477)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.recurse(AvroCoder.java:453)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder$AvroDeterminismChecker.check(AvroCoder.java:430)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder.<init>(AvroCoder.java:189)
    at com.google.cloud.dataflow.sdk.coders.AvroCoder.of(AvroCoder.java:144)
    at mypackage.GenericsTest$1.create(GenericsTest.java:102)
    at com.google.cloud.dataflow.sdk.coders.CoderRegistry.getDefaultCoderFromFactory(CoderRegistry.java:797)
    at com.google.cloud.dataflow.sdk.coders.CoderRegistry.getDefaultCoder(CoderRegistry.java:748)
    at com.google.cloud.dataflow.sdk.coders.CoderRegistry.getDefaultCoder(CoderRegistry.java:719)
    at com.google.cloud.dataflow.sdk.coders.CoderRegistry.getDefaultCoder(CoderRegistry.java:696)
    at com.google.cloud.dataflow.sdk.coders.CoderRegistry.getDefaultCoder(CoderRegistry.java:178)
    at com.google.cloud.dataflow.sdk.values.TypedPValue.inferCoderOrFail(TypedPValue.java:147)
    at com.google.cloud.dataflow.sdk.values.TypedPValue.getCoder(TypedPValue.java:48)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message