[ https://issues.apache.org/jira/browse/BEAM-6589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769083#comment-16769083 ]
David Moravek commented on BEAM-6589: ------------------------------------- yes, closing > SDKs::Java::Extensions::Kryo is incorrectly shaded > -------------------------------------------------- > > Key: BEAM-6589 > URL: https://issues.apache.org/jira/browse/BEAM-6589 > Project: Beam > Issue Type: Bug > Components: dsl-euphoria > Affects Versions: 2.9.0 > Reporter: Jan Lukavský > Assignee: David Moravek > Priority: Major > Labels: triaged > Fix For: 2.11.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Under certain conditions using {{KryoCoder}} results in > {code} > java.lang.NoClassDefFoundError: org/objenesis/strategy/InstantiatorStrategy > at > org.apache.beam.sdk.extensions.kryo.KryoState.<clinit>(KryoState.java:30) > at > org.apache.beam.sdk.extensions.kryo.KryoCoder.encode(KryoCoder.java:195) > at org.apache.beam.sdk.coders.Coder.encode(Coder.java:136) > at > org.apache.beam.sdk.util.CoderUtils.encodeToSafeStream(CoderUtils.java:82) > at > org.apache.beam.sdk.util.CoderUtils.encodeToByteArray(CoderUtils.java:66) > at > org.apache.beam.sdk.util.CoderUtils.encodeToByteArray(CoderUtils.java:51) > {code} > The extension jar is missing {{objenesis}} dependency. -- This message was sent by Atlassian JIRA (v7.6.3#76005)