jemplode 42 bug.

Posted by: BAKup

jemplode 42 bug. - 22/10/2002 08:19

I've found that jemplode 42 can't deal with Mp3s that it doesn't have permission to read. If it doesn't have permission, it acts like everything is fine, unitl you do a sync, then it'll just reboot the player after dumping the database without uploading or rebuilding the database(forcing a long wait, and a resync to rebuild the database).
Posted by: mschrag

Re: jemplode 42 bug. - 22/10/2002 11:25

Now that's weird .. I would think that it would fail with an IOException when it tried to parse the MP3 to read its headers ... I wonder if that error gets swalled because it can't read the header to see that it's an MP3 and thus assumes that you're doing file taxiing. Interesting ...
Posted by: BAKup

Re: jemplode 42 bug. - 22/10/2002 21:19

Is there anything I can do to help? Is there a way to get JEmplode to dump a log that I could send to you?
Posted by: tms13

Re: jemplode 42 bug. - 23/10/2002 02:35

Don't you get SecurityException if you try to open a file for which you don't have sufficient permissions, rather than IOException?
Posted by: mschrag

Re: jemplode 42 bug. - 23/10/2002 05:16

I'm pretty sure that OS-level permission checks result in lame IOExceptions (sometimes with a string message "Permission Denied"). Whoever designed exception handling in the IO framework was on crack.
Posted by: mschrag

Re: jemplode 42 bug. - 23/10/2002 05:19

That's OK -- This should be a pretty easy scenario to setup here... I'll let you know if I can't reproduce it then I might get a log from you.
Posted by: mschrag

Re: jemplode 42 bug. - 27/10/2002 07:03

So the official closure for this = FileNotFoundException("Access Denied"). Not SecurityException . Oh well.. FileNotFoundException = good enough for me... I'm actually surprised it's not just a top level IOException.