24 Jan 2014, 18:50

Mike Kabala (2 posts)

I get an error in getLastSavedTimelineItem() when I use the Chapter 5 code.

TimelineItem timelineItem = timeline.get( id ).execute();

throws an exception if called with an ID = null. To fix this, I have replaced it with the following 2 lines:

TimelineItem timelineItem = null;
if (id != null) timelineItem = timeline.get( id ).execute();
26 Jan 2014, 03:58

Eric Redmond (19 posts)


Good catch, I appreciate the patch. I’d updated the github code as per your suggestion (it’ll appear in the later prints of the book).


Thanks for the errata, Eric

  You must be logged in to comment