-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
android app🤖 Related to the Android application🤖 Related to the Android applicationbug🪳 Something isn't working🪳 Something isn't workinghelp wanted🛟 Extra attention is needed🛟 Extra attention is needed
Description
Describe the bug
???
Fatal Exception: java.lang.IndexOutOfBoundsException
index=1949528919 out of bounds (limit=4999536, nb=4)
It involves emojis somehow…
Redmi Note 10S on Android 15 🤷♂
To Reproduce
Steps to reproduce the behavior:
- ?
Fatal Exception: java.lang.IndexOutOfBoundsException: index=1949528919 out of bounds (limit=4999536, nb=4)
at java.nio.Buffer.checkIndex(Buffer.java:764)
at java.nio.DirectByteBuffer.getInt(DirectByteBuffer.java:601)
at androidx.emoji2.text.flatbuffer.Table.__indirect(Table.java:68)
at androidx.emoji2.text.flatbuffer.MetadataList.list(MetadataList.java:37)
at androidx.emoji2.text.TypefaceEmojiRasterizer.getMetadataItem(TypefaceEmojiRasterizer.java:162)
at androidx.emoji2.text.TypefaceEmojiRasterizer.isDefaultEmoji(TypefaceEmojiRasterizer.java:286)
at androidx.emoji2.text.EmojiProcessor$ProcessorSm.shouldUseEmojiPresentationStyleForSingleCodepoint(EmojiProcessor.java:738)
at androidx.emoji2.text.EmojiProcessor$ProcessorSm.check(EmojiProcessor.java:669)
at androidx.emoji2.text.EmojiProcessor.process(EmojiProcessor.java:374)
at androidx.emoji2.text.EmojiProcessor.process(EmojiProcessor.java:346)
at androidx.emoji2.text.EmojiCompat$CompatInternal19.process(EmojiCompat.java:1772)
at androidx.emoji2.text.EmojiCompat.process(EmojiCompat.java:1130)
at androidx.compose.ui.text.platform.AndroidParagraphHelper_androidKt.createCharSequence(AndroidParagraphHelper.android.kt:70)
at androidx.compose.ui.text.platform.AndroidParagraphIntrinsics.<init>(AndroidParagraphIntrinsics.android.kt:134)
at androidx.compose.ui.text.platform.AndroidParagraphIntrinsics_androidKt.ActualParagraphIntrinsics(AndroidParagraphIntrinsics.android.kt:183)
at androidx.compose.ui.text.ParagraphIntrinsicsKt.ParagraphIntrinsics(ParagraphIntrinsics.kt:126)
at androidx.compose.foundation.text.modifiers.ParagraphLayoutCache.setLayoutDirection(ParagraphLayoutCache.kt:237)Expected behavior
No crash
Metadata
Metadata
Assignees
Labels
android app🤖 Related to the Android application🤖 Related to the Android applicationbug🪳 Something isn't working🪳 Something isn't workinghelp wanted🛟 Extra attention is needed🛟 Extra attention is needed