By "relaunches" I assume you mean you're launching with the previous
application ID ?

When you do that, the platform attempts to restore state from the
previously saved serialized form.
To do that, it needs to firstcreate the object with a no-arg constructor
and then populate it.
If that constructor is absent, you get the exception.

Please see the section entitled "Application throwing following Kryo
exception"
at
http://docs.datatorrent.com/troubleshooting/#application-throwing-following-kryo-exception

Ram

On Mon, Jun 20, 2016 at 1:32 PM, Raja.Aravapalli <[email protected]
> wrote:

>
> Hi,
>
> During application relaunches I am getting serialization exceptions like
> below, but not when launching the application for the first time ….
>
> Caused by: com.esotericsoftware.kryo.KryoException: Class cannot be created 
> (missing no-arg constructor): org.joda.time.chrono.ISOChronology
> Serialization trace:
> iChronology (org.joda.time.DateTime)
>
>
>
> I am seeing these exception only when doing relaunches not for the first time 
> launching!! Relaunch can be any of the scenario like, KILLED or SHUTDOWN!!
>
>
> Please share you thoughts….
>
>
>
> Regards,
>
> Raja.
>
>

Reply via email to