This project has moved and is read-only. For the latest updates, please go here.
1
Vote

Receiving NullReferenceException when Internet connection is unavailable

description

When device has no Internet connection, the code produces NullReferenceException.
Following code in WatTmdb.V3.Tmdb.ProcessAsyncRequest method
Data = resp.Data,
should be replaced with
Data = resp != null ? resp.Data : default(T),

comments

watway wrote Oct 29, 2012 at 1:57 PM

This has been fixed in changeset 20363....thanks

wrote Feb 14, 2013 at 7:53 PM