LPS-48224 NotSerializableException thrown on portal shutdown