Page 1 of 1

Error if USB plug inserted while podcast is playing

New postPosted: Thu Nov 27, 2008 12:21 am
by bigjosh
I can reliably cause an uncaught null pointer exception if I plug in the USB while a podcast is playing on my Verizon Curve running OS 4.5.

Thanks!

-josh

Re: Error if USB plug inserted while podcast is playing

New postPosted: Fri Nov 28, 2008 4:16 pm
by marwatk
Hi bigjosh,

Can you tell me if you have Automatic Mass Storage Mode enabled?

This can be determined in Settings -> Media Card -> Auto Enable Mass Storage Mode When Connected

If this is set to 'Yes', that would cause this issue. The problem is that only one device can see the media card at a time (either the blackberry or your desktop). So when mass storage mode kicks on, the blackberry can no longer read the media card (which it's using the play the podcast), and it's freaking out. (It probably shouldn't freak out, which I'll fix later, but it will have to stop the player at a minimum).

Podtrapper detects mass storage mode and disables downloading already, so I'll add code to stop the player as well without dieing. Until then, though, the easy solution is to switch that setting to 'Prompt' for mass storage mode, that way if you don't need it you can let Podtrapper keep operating.

Hope this helps, let me know if I got incoherent anywhere :)

-Marcus

Re: Error if USB plug inserted while podcast is playing

New postPosted: Wed Dec 03, 2008 10:46 am
by bigjosh
I do have mass storage mode on- this makes it so my PC can autorun the photo importer when I connect my BB and download any pictures I've taken.

Maybe at some point catching this situation more gracefully would be nice, but not critical.

Thanks again for the quick reply and great product!

-josh