修复RMI NULLPOINTEREXCEPTION