java.lang.IllegalArgumentException

unable to serialize tmp.dataflow.experimental.TestSideOutput$Filter@6986852

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6086

  • via Stack Overflow by Haden Hooyeon Lee
    , 9 months ago
    unable to serialize tmp.dataflow.experimental.TestSideOutput$Filter@6986852
  • unable to serialize [my DoFn]
  • unable to serialize com.spotify.scio.util.Functions$$anon$7@23b04081
  • Stack trace

    • java.lang.IllegalArgumentException: unable to serialize tmp.dataflow.experimental.TestSideOutput$Filter@6986852 at com.google.cloud.dataflow.sdk.util.SerializableUtils.serializeToByteArray(SerializableUtils.java:54) at com.google.cloud.dataflow.sdk.util.SerializableUtils.clone(SerializableUtils.java:91) at com.google.cloud.dataflow.sdk.transforms.ParDo$BoundMulti.<init>(ParDo.java:959) at com.google.cloud.dataflow.sdk.transforms.ParDo$UnboundMulti.of(ParDo.java:912) at com.google.cloud.dataflow.sdk.transforms.ParDo$UnboundMulti.of(ParDo.java:908) at tmp.dataflow.experimental.TestSideOutput.execute(TestSideOutput.java:41) at com.moloco.dataflow.Main.main(Main.java:152) Caused by: java.io.NotSerializableException: tmp.dataflow.experimental.TestSideOutput at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at com.google.cloud.dataflow.sdk.util.SerializableUtils.serializeToByteArray(SerializableUtils.java:50) ... 6 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    11 times, 1 month ago
    Unknown user
    Once, 2 months ago
    6 times, 2 months ago
    84 more bugmates