null2264 / yokai

Free and open source manga reader for Android
Apache License 2.0
721 stars 17 forks source link

NullPointerException when trying to get Library from Database #101

Open Himx18 opened 4 months ago

Himx18 commented 4 months ago

Steps to reproduce

Screenshot_20240616-125454_Ykai Nightly

Expected behavior

.

Actual behavior

Crashing while using the app

Crash logs

No response

Yōkai version

App version: 1.8.4-r5287 (standard, 11145cf71, 137, 2024-06-16T05:41:52Z) Android version: 12 (SDK 31) Android build ID: SP1A.210812.016.F415FXXS3CXD1 Device brand: samsung Device manufacturer: samsung Device name: f41 Device model: SM-F415F Device product name: f41dd

Android version

12

Device

Samsung F41

Other details

REF:

Acknowledgements

null2264 commented 4 months ago

It is a known issue, mostly happened in Samsung devices for some reason.

null2264 commented 4 months ago

Could be related to https://github.com/cashapp/sqldelight/issues/4194.

Himx18 commented 4 months ago

It is a known issue, mostly happened in Samsung devices for some reason.

Could it be becuz of the excessive amount of manga i have?. I have a total of 12,000+ at the time

null2264 commented 4 months ago

Oh, yea... I think that's what caused it

Himx18 commented 4 months ago

Oh, yea... I think that's what caused it

So what's the limit. Like till what amount can Yokai handle the manga smoothly?

null2264 commented 4 months ago

Oh, yea... I think that's what caused it

So what's the limit. Like till what amount can Yokai handle the manga smoothly?

Not sure, ideally it'd just works... I know that in J2K from my experience 200+ already cause significant slowdown on the app...

null2264 commented 4 months ago

Seems to be a known issue across Tachi when you have tons of entries. Might need to wait for SQLDelight to fix the issue.