TheRealFalcon / Prestissimo

Drop-in replacement for the Presto service on Android
57 stars 10 forks source link

NPE when playing M4A file #22

Open svenwiegand opened 10 years ago

svenwiegand commented 10 years ago

At first: Thanks for providing prestissimo as open source. It works great for me and many others.

Unfortunately one user reports a crash when playing M4A files (http://traffic.libsyn.com/theanfieldwrap/PODCAST_-_MAMA_SAID_KNOCK_YOU_OUT.m4a) in uPod (https://play.google.com/store/apps/details?id=mobi.upod.app) with Prestissimo installed. This is the stack trace from my logs:

java.lang.NullPointerException: null
at android.os.Parcel.readException(Parcel.java:1471) ~[na:0.0]
at android.os.Parcel.readException(Parcel.java:1419) ~[na:0.0]
at com.a.b.a.ad.l(IPlayMedia_0_8.java:793) ~[na:0.0]
at com.a.a.y.h(ServiceBackedMediaPlayer.java:502) ~[na:0.0]
at com.a.a.h.a(MediaPlayer.java:527) ~[na:0.0]
at com.a.a.h.a(MediaPlayer.java:442) ~[na:0.0]
at com.a.a.m.run(MediaPlayer.java:353) ~[na:0.0]
at java.lang.Thread.run(Thread.java:841) ~[na:0.0]

The crash does not occur when playing the same file in uPod without Prestissimo.

Any idea?

TheRealFalcon commented 10 years ago

The obfuscation makes it hard to figure out whats going on. Is it a local file that already exists or is it being streamed?

svenwiegand commented 10 years ago

Sorry regarding the obfuscation, but file names and line numbers are still available. I've tested it with a fully downloaded file.