Error if USB plug inserted while podcast is playing

Go here if you're having an issue with Podtrapper.

Error if USB plug inserted while podcast is playing

New postby bigjosh on Thu Nov 27, 2008 12:21 am

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
bigjosh
 
Posts: 8
Joined: Wed Nov 26, 2008 10:54 pm

Re: Error if USB plug inserted while podcast is playing

New postby marwatk on Fri Nov 28, 2008 4:16 pm

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
Versatile Monkey
For more/quicker help make sure to check out the user manuals
marwatk
Lead (and only) Monkey
 
Posts: 2596
Joined: Sun Nov 02, 2008 9:20 pm

Re: Error if USB plug inserted while podcast is playing

New postby bigjosh on Wed Dec 03, 2008 10:46 am

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
bigjosh
 
Posts: 8
Joined: Wed Nov 26, 2008 10:54 pm


Return to Bugs and help

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron