Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android app crashed with NullPointerException #144

Open
daoshenjay opened this issue Jan 30, 2018 · 0 comments
Open

android app crashed with NullPointerException #144

daoshenjay opened this issue Jan 30, 2018 · 0 comments

Comments

@daoshenjay
Copy link

Hi.I got a crash log in google play:
java.lang.NullPointerException: (Attempt to invoke virtual method 'android.os.Message android.os.Handler.obtainMessage(int)' on a null object reference)
at android.media.SubtitleController.selectDefaultTrack (SubtitleController.java:266)
at android.media.MediaPlayer.scanInternalSubtitleTracks (MediaPlayer.java:2485)
at android.media.MediaPlayer.prepare (MediaPlayer.java:1184)
at com.rjfun.cordova.plugin.nativeaudio.NativeAudioAssetComplex. (NativeAudioAssetComplex.java:41)
at com.rjfun.cordova.plugin.nativeaudio.NativeAudioAsset. (NativeAudioAsset.java:31)
at com.rjfun.cordova.plugin.nativeaudio.NativeAudio.executePreload (NativeAudio.java:91)
at com.rjfun.cordova.plugin.nativeaudio.NativeAudio.access$100 (NativeAudio.java:32)
at com.rjfun.cordova.plugin.nativeaudio.NativeAudio$2.run (NativeAudio.java:233)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)
at java.lang.Thread.run (Thread.java:818)

The plugin version is 3.0.9.
Please help me with this.Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant