ATTEMPTING TO OPEN AN MP3 OR MP4 FILE WITHIN OPENARCHIVE CAUSES A FATAL EXCEPTION.

in utopian-io •  6 years ago  (edited)

Project Information

  • Title: Opening an mp4 or mp3 file within openarchive crashes the app.

Expected behavior

It is possible to open .wav files and .jpg files without errors, hence I expected the same behavior when attempting to open .mp3 and .mp4 files.

Actual behavior

Openarchive crashes and quits the upload page when attempting to open .mp3 or .mp4 extension files.

How to reproduce

  • Launch OpenArchive.

  • Click on the floating action button, to reveal the import media icon.

  • Click the import media icon and import mp4 and mp3extension files.

  • After importing, click on any of the files from the home page to access it.

  • Then click on the thumbnail within the upload page.

  • The app should crash and quit the upload page.

TESTING ENVIRONMENT

  • Browser/App version: v0.0.17 beta 5

  • Operating system: Android v6.0 marshmallow

  • Device: Itel p12

Recording Of The Bug

Proof of work done

https://github.com/organik1

Log

05-27 15:32:20.282 E/AndroidRuntime(17376): java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/sdcard1/bluetooth/Sia - Freeze You Out.mp3
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:738)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:417)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at net.opendasharchive.openarchive.ReviewMediaActivity.showMedia(ReviewMediaActivity.java:403)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at net.opendasharchive.openarchive.ReviewMediaActivity.access$100(ReviewMediaActivity.java:55)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at net.opendasharchive.openarchive.ReviewMediaActivity$4.onClick(ReviewMediaActivity.java:366)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.view.View.performClick(View.java:4222)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.view.View$PerformClick.run(View.java:17628)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.os.Handler.handleCallback(Handler.java:800)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.os.Handler.dispatchMessage(Handler.java:100)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.os.Looper.loop(Looper.java:194)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at android.app.ActivityThread.main(ActivityThread.java:5370)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at java.lang.reflect.Method.invokeNative(Native Method)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at java.lang.reflect.Method.invoke(Method.java:525)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
05-27 15:32:20.282 E/AndroidRuntime(17376):     at dalvik.system.NativeStart.main(Native Method)`
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi @organik , the issue could not be replicated in Android 6.0 and 8.0 as you can see the below gif :
GIF.gif
Pls check if there is anything wrong with the setting or the source file .
Thank you anyway !


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

  ·  6 years ago (edited)

No at all, the app has no settings related to that.. It may interest you that I was able to replicate the issue on android 4.2 jellybean for music files (.mp3) although, some files worked and others crashed.
However, the experience with my v6.0 is a crash with every file.

If you want a recording I will be glad to make it available.