akhilspillai / npr-android-app

Automatically exported from code.google.com/p/npr-android-app
0 stars 0 forks source link

Reproducible NPE when trying to play next entry for next-to-last playlist item when last item has already been played #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the application.
2. Select the last playlist item.
3. Select the next-to-last playlist item.
4. Use the "Next Playlist Item" button.  It doesn't matter whether the current 
item has completed loading or not.

What is the expected output? What do you see instead?
Application generates a null pointer exception.

What version of the product are you using? NPR News 2.2
On what operating system? Android 2.2.3

Please provide any additional information below.

This only occurs when the last playlist item has already been played.  A log 
file is attached, failure occurs at about 20:45:57.

Original issue reported on code.google.com by dcarn...@kdhsystems.com on 17 Jan 2012 at 4:52

Attachments:

GoogleCodeExporter commented 9 years ago
We'll look into this issue.

Original comment by jpenn...@gmail.com on 13 Feb 2012 at 8:47

GoogleCodeExporter commented 9 years ago

Original comment by jpenn...@gmail.com on 23 Feb 2012 at 6:41

GoogleCodeExporter commented 9 years ago
This appears to be a failure to mark the item as played in the playlist.  I've 
added protective code that should eliminate the error, but we should test that 
items are properly marked as read in this scenario.

Original comment by justinfr...@gmail.com on 15 Mar 2012 at 6:53

GoogleCodeExporter commented 9 years ago
Can't repo, so considering fixed.

Original comment by jpenn...@gmail.com on 5 Apr 2012 at 6:34