amorenew / linkedin-j

Automatically exported from code.google.com/p/linkedin-j
0 stars 0 forks source link

BaseSchemaEntity throws exception when serializing because logger is not Serializable #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
BaseSchemaEntity is marked as Serializable but throws exception when trying to 
serialize because the logger is not Serializable:
protected final Logger LOG = Logger.getLogger(getClass().getCanonicalName());

FIX for this is to make the logger transient:
protected transient final Logger LOG = 
Logger.getLogger(getClass().getCanonicalName());

Please incorporate the fix in the next release.

Thanks

Original issue reported on code.google.com by a...@callapp.com on 29 Apr 2012 at 12:56

GoogleCodeExporter commented 9 years ago

Original comment by nabeelmukhtar on 8 May 2012 at 5:44