You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Michael Jay <84...@qq.com> on 2018/03/29 00:37:13 UTC

Re: Getting "BinaryObjectException: Failed to deserialize object" while trying to execute the application using multi node

Hi, val. I just met with the same problem. Would you mind giving more
detailed solutions? thanks



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Getting "BinaryObjectException: Failed to deserialize object" while trying to execute the application using multi node

Posted by vkulichenko <va...@gmail.com>.
Michael,

There is no much detail to add. Although it's technically possible to
serialize lambdas and anonymous classes, it's usually not recommended, as
they can reference some objects from outside. If these objects are not
serializable (or not intended to be serialized), you're likely to get errors
and performance issues that are not easy to isolate.

To be on safe side it's better to use static classes instead for anything
that is serialized and sent across network. That gives you full control and
therefore this approach is less error-prone.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/