Hi, Non-static nested classes that implement Serializable must be defined in an enclosing class that is also serializable. Non-static nested classes retain an implicit reference to an instance of their enclosing class. If the enclosing class is not serializable, the Java serialization mechanism fails with a java.io.NotSerializableException.
It's java rules, you can read about it here: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html Evgenii -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
