Bug: ACG-Player [V, 2.6.9.4] The app crashed on first launch.

in utopian-io •  6 years ago 

Project Information

Describe the bug

After I had installed the app and launched I granted the permission and after a few seconds, the app crashed

To Reproduce

  1. Install the app

  2. Launch the app

  3. grant the permission

  4. wait a few seconds and see the error

Expected behavior

I expect to use the app without any crash.

Screenshots

Smartphone

  • Device: [itel]

  • OS: [6.1]

  • Version [2.6.9.4]

Log

06-23 08:24:24.367 26974 27233 E AndroidRuntime: Process: top.geek_studio.chenlongcould.musicplayer.Common, PID: 26974
06-23 08:24:24.367 26974 27233 E AndroidRuntime: org.litepal.exceptions.LitePalSupportException: no such table: artistartpath (code 1): , while compiling: SELECT * FROM artistartpath ORDER BY id
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at org.litepal.crud.DataHandler.query(SourceFile:22)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at org.litepal.crud.QueryHandler.onFindAll(SourceFile:6)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at org.litepal.Operator.findAll(SourceFile:6)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at org.litepal.Operator.findAll(SourceFile:1)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at top.geek_studio.chenlongcould.musicplayer.DBArtSync.handleActionSyncArtist(SourceFile:11)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at top.geek_studio.chenlongcould.musicplayer.DBArtSync.onHandleIntent(SourceFile:5)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.os.HandlerThread.run(HandlerThread.java:61)
06-23 08:24:24.367 26974 27233 E AndroidRuntime: Caused by: android.database.sqlite.SQLiteException: no such table: artistartpath (code 1): , while compiling: SELECT * FROM artistartpath ORDER BY id
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:498)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1163)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1034)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1240)
06-23 08:24:24.367 26974 27233 E AndroidRuntime:    at org.litepal.crud.DataHandler.query(SourceFile:6)```
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 @darewealth, thanks for making this contribution.

The log is pretty precise and can still be supported with a detailed explanation. I see the PO has self assigned the ticket. I am sure he is going to have a good look at the issue. Hopefully a fix is in the works

Good of you to have shared this. I look forward to more of your reports.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @fego! Keep up the good work!

Hi @darewealth!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @darewealth!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!