Using proper classloader to unmarshal joining node data. Fixes
@@ -1258,7 +1258,7 @@ public class GridClusterStateProcessor extends GridProcessorAdapter implements I
DiscoveryDataClusterState joiningNodeState;
try {
- joiningNodeState = marsh.unmarshal((byte[])discoData.joiningNodeData(), Thread.currentThread().getContextClassLoader());
+ joiningNodeState = marsh.unmarshal((byte[])discoData.joiningNodeData(), U.resolveClassLoader(ctx.config()));
}
catch (IgniteCheckedException e) {
String msg = "Error on unmarshalling discovery data " +
