This code seems to be passing a non-serializable object to the ObjectOutput.writeObject method. If the object is, indeed, non-serializable, an error will result.

This rule is deprecated, use {rule:squid:S2118} instead.