Extend class A with your default constructor On Tue, Jan 26, 2016 at 3:27 PM, Sandesh Hegde <[email protected]> wrote:
> Hello Team, > > I am using class A, which doesn't have a default constructor, in an > operator. > Also, class A depends on few other classes which doesn't have a default > constructor. > > While running the app, I get the Kryo no-arg constructor exception. > > I looked at the following link, > > http://docs.datatorrent.com/troubleshooting/#application-throwing-following-kryo-exception > > Is there a simple way to handle this scenario? > > Class A > * > > https://github.com/yahoo/streaming-benchmarks/blob/master/streaming-benchmark-common/src/main/java/benchmark/common/advertising/CampaignProcessorCommon.java > > Thanks > Sandesh >
