[
https://issues.apache.org/jira/browse/BEAM-6589?focusedWorklogId=194641&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-194641
]
ASF GitHub Bot logged work on BEAM-6589:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Feb/19 16:18
Start Date: 05/Feb/19 16:18
Worklog Time Spent: 10m
Work Description: dmvk commented on pull request #7732: [BEAM-6589]
include org.objenesis into shaded jar
URL: https://github.com/apache/beam/pull/7732
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 194641)
Time Spent: 20m (was: 10m)
> 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
> 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)