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

Crash after removing image while viewing image #2239

Open
TheLastProject opened this issue Dec 19, 2024 · 0 comments
Open

Crash after removing image while viewing image #2239

TheLastProject opened this issue Dec 19, 2024 · 0 comments
Labels
common: uncommon Most users are unlikely to come across this or unexpected workflow severity: minor Impairs non-critical functionality or suitable workarounds exist type: bug Something isn't working

Comments

@TheLastProject
Copy link
Member

I finally found it! By pure chance! The bug I've been seeing in Google Play Console for years that nobody ever reported! It finally makes sense!

  1. Ensure the card has a front image
  2. Open the card
  3. Press right to switch the main image display to front image
  4. Edit card
  5. Remove front image
  6. Save
  7. Catima crashes
FATAL EXCEPTION: main
Process: me.hackerchick.catima, PID: 2132
java.lang.RuntimeException: Unable to resume activity {me.hackerchick.catima/protect.card_locker.LoyaltyCardViewActivity}: java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5244)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5277)
	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
	at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:60)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:282)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:150)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2595)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8592)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Caused by: java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
	at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
	at java.util.Objects.checkIndex(Objects.java:359)
	at java.util.ArrayList.get(ArrayList.java:434)
	at protect.card_locker.LoyaltyCardViewActivity.drawMainImage(LoyaltyCardViewActivity.java:968)
	at protect.card_locker.LoyaltyCardViewActivity.setFullscreen(LoyaltyCardViewActivity.java:1169)
	at protect.card_locker.LoyaltyCardViewActivity.onResume(LoyaltyCardViewActivity.java:763)
	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1722)
	at android.app.Activity.performResume(Activity.java:9118)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5234)
	... 14 more
@TheLastProject TheLastProject added type: bug Something isn't working severity: minor Impairs non-critical functionality or suitable workarounds exist common: uncommon Most users are unlikely to come across this or unexpected workflow labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common: uncommon Most users are unlikely to come across this or unexpected workflow severity: minor Impairs non-critical functionality or suitable workarounds exist type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant