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

ArrayIndexOutOfBoundsException: length=13; index=13 #13390

Closed
sentry-io bot opened this issue Jan 24, 2025 · 1 comment · Fixed by #13393
Closed

ArrayIndexOutOfBoundsException: length=13; index=13 #13390

sentry-io bot opened this issue Jan 24, 2025 · 1 comment · Fixed by #13393
Assignees
Labels
feature: order list Related to the order list. type: bug A confirmed bug. type: crash The worst kind of bug.

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 24, 2025

Sentry Issue: WOOCOMMERCE-ANDROID-H7C

ArrayIndexOutOfBoundsException: length=13; index=13
    at com.woocommerce.android.util.DateUtils.getYearMonthDayStringFromDate(DateUtils.kt:240)
    fun getYearMonthDayStringFromDate(date: Date): String = yyyyMMddFormat.format(date)
    at com.woocommerce.android.ui.orders.list.OrderListItemDataSource.getFormattedDateWithSiteTimeZone(OrderListItemDataSource.kt:192)
    val iso8601DateString = dateUtils.getYearMonthDayStringFromDate(siteDate)
    at com.woocommerce.android.ui.orders.list.OrderListItemDataSource.getItemsAndFetchIfNecessary$lambda$5(OrderListItemDataSource.kt:77)
    dateCreated = getFormattedDateWithSiteTimeZone(order.dateCreated),
    at com.woocommerce.android.ui.orders.list.OrderListItemDataSource.$r8$lambda$LrK86bcwtYBkEVLikTv0WFcgI-U(OrderListItemDataSource.kt:0)
    at com.woocommerce.android.ui.orders.list.OrderListItemDataSource$$ExternalSyntheticLambda1.invoke(OrderListItemDataSource:0)
...
(20 additional frame(s) were not displayed)
@sentry-io sentry-io bot added the type: bug A confirmed bug. label Jan 24, 2025
@dangermattic
Copy link
Collaborator

dangermattic commented Jan 24, 2025

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: order list Related to the order list. type: bug A confirmed bug. type: crash The worst kind of bug.
Projects
None yet
3 participants