ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Caused by: class org.apache.ignite.binary.BinaryInvalidTypeException:
Date Tue, 19 Apr 2016 20:39:57 GMT

Anonymous classes in Java hold the reference to the external class with all
its fields. When your entry processor is serialized, it fetches everything
around it. I recommend to replace anonymous class with a static inner class.
This is a recommend way for Serializable classes in Java, because it gives
you more control on what is serialized and what is not.

Can you try this and let us know if it works?


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Caused-by-class-org-apache-ignite-binary-BinaryInvalidTypeException-tp4311p4338.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message