There is a non-serializable anonymous class that you have declared within the plugin. You should check what is actually serialized there and whether it's supposed to be serialized or not.
-Val On Fri, Aug 31, 2018 at 10:27 AM wt <waynethe...@gmail.com> wrote: > How can i make my custom plugin serializable? > > > Caused by: class org.apache.ignite.spi.IgniteSpiException: Failed to > authenticate local node (will shutdown local node). > at > > org.apache.ignite.spi.discovery.tcp.ServerImpl.localAuthentication(ServerImpl.java:1008) > at > > org.apache.ignite.spi.discovery.tcp.ServerImpl.joinTopology(ServerImpl.java:879) > at > > org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:373) > at > > org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:1948) > at > > org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297) > ... 10 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to > serialize object: plugins.CustomSecurityProcessor$1@350b3a17 > at > > org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal0(JdkMarshaller.java:103) > at > > org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.marshal(AbstractNodeNameAwareMarshaller.java:70) > at > > org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal0(JdkMarshaller.java:117) > at > > org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.marshal(AbstractNodeNameAwareMarshaller.java:58) > at > org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10044) > at > > org.apache.ignite.spi.discovery.tcp.ServerImpl.localAuthentication(ServerImpl.java:1002) > ... 14 more > Caused by: java.io.NotSerializableException: > plugins.CustomSecurityProcessor$1 > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > at > > org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal0(JdkMarshaller.java:98) > ... 19 more > > > > -- > Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/ >