Skip to content

Note editor crash if too many field #21289

Description

@Arthur-Milchior

Checked for duplicates?

  • This issue is not a duplicate

Does it also happen in the desktop version?

  • This bug does not occur in the latest version of Anki Desktop

What are the steps to reproduce this bug?

Use a note type with 400 fields such as this one
chanson.zip
open it in the note editor

Reduce ankidroid or open the previewer

Expected behaviour

no crash

Debug info

Build at HEAD dfbfb7b2939c6c5ee69a7878915230a04701214a

(Optional) Anything else you want to share?

2026-06-21 20:57:37.010  5926-5926  ACRA                    com.ichi2.anki.debug                 E  ACRA caught a RuntimeException for com.ichi2.anki.debug
                                                                                                    java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 583180 bytes
                                                                                                    Bundle stats:
                                                                                                      android:viewHierarchyState [size=1308]
                                                                                                        android:views [size=1200]
                                                                                                      androidx.lifecycle.BundlableSavedStateRegistry.key [size=581004]
                                                                                                        android:support:activity-result [size=2064]
                                                                                                          KEY_COMPONENT_ACTIVITY_REGISTERED_KEYS [size=1576]
                                                                                                        android:support:fragments [size=577940]
                                                                                                          fragment_272289ea-77e6-4242-9f2d-feaefb5b0826 [size=577516]
                                                                                                            viewState [size=572788]
                                                                                                              0x1 [size=1400]
                                                                                                              0x2 [size=1404]
                                                                                                              0x3 [size=1400]
                                                                                                              0x4 [size=1396]
                                                                                                              0x5 [size=1396]
                                                                                                              0x6 [size=1392]
                                                                                                              0x7 [size=1432]
                                                                                                              0x8 [size=1392]
                                                                                                              0x9 [size=1440]
                                                                                                              0xa [size=1392]
                                                                                                              0xb [size=1408]
                                                                                                              0xc [size=1392]
                                                                                                              0xd [size=1392]
                                                                                                              0xe [size=1392]
                                                                                                              0xf [size=1392]
                                                                                                              0x10 [size=1392]
                                                                                                              0x11 [size=1392]
                                                                                                              0x12 [size=1392]
                                                                                                              0x13 [size=1392]
                                                                                                              0x14 [size=1392]
                                                                                                              0x15 [size=1392]
                                                                                                              0x16 [size=1392]
                                                                                                              0x17 [size=1392]
                                                                                                              0x18 [size=1392]
                                                                                                              0x19 [size=1392]
                                                                                                              0x1a [size=1396]
                                                                                                              0x1b [size=1436]
                                                                                                              0x1c [size=1396]
                                                                                                              0x1d [size=1424]
                                                                                                              0x1e [size=1396]
                                                                                                              0x1f [size=1424]
                                                                                                              0x20 [size=1396]
                                                                                                              0x21 [size=1448]
                                                                                                              0x22 [size=1396]
                                                                                                              0x23 [size=1392]
                                                                                                              0x24 [size=1396]
                                                                                                              0x25 [size=1392]
                                                                                                              0x26 [size=1396]
                                                                                                              0x27 [size=1392]
                                                                                                              0x28 [size=1396]
                                                                                                              0x29 [size=1392]
                                                                                                              0x2a [size=1396]
                                                                                                              0x2b [size=1392]
                                                                                                              0x2c [size=1396]
                                                                                                              0x2d [size=1392]
                                                                                                              0x2e [size=1396]
                                                                                                              0x2f [size=1432]
                                                                                                              0x30 [size=1396]
                                                                                                              0x31 [size=1416]
                                                                                                              0x32 [size=1396]
                                                                                                              0x33 [size=1424]
                                                                                                              0x34 [size=1396]
                                                                                                              0x35 [size=1428]
                                                                                                              0x36 [size=1396]
                                                                                                              0x37 [size=1392]
                                                                                                              0x38 [size=1396]
                                                                                                              0x39 [size=1392]
                                                                                                              0x3a [size=1396]
                                                                                                              0x3b [size=1392]
                                                                                                              0x3c [size=1396]
                                                                                                              0x3d [size=1392]
                                                                                                              0x3e [size=1396]
                                                                                                              0x3f [size=1392]
                                                                                                              0x40 [size=1396]
                                                                                                              0x41 [size=1392]
                                                                                                              0x42 [size=1396]
                                                                                                              0x43 [size=1440]
                                                                                                              0x44 [size=1396]
                                                                                                              0x45 [size=1456]
                                                                                                              0x46 [size=1396]
                                                                                                              0x47 [size=1436]
                                                                                                              0x48 [size=1396]
                                                                                                              0x49 [size=1420]
                                                                                                              0x4a [size=1396]
                                                                                                              0x4b [size=1424]
                                                                                                              0x4c [size=1396]
                                                                                                              0x4d [size=1448]
                                                                                                              0x4e [size=1396]
                                                                                                              0x4f [size=1392]
                                                                                                              0x50 [size=1396]
                                                                                                              0x51 [size=1392]
                                                                                                              0x52 [size=1396]
                                                                                                              0x53 [size=1392]
                                                                                                              0x54 [size=1396]
                                                                                                              0x55 [size=1392]
                                                                                                              0x56 [size=1396]
                                                                                                              0x57 [size=1432]
                                                                                                              0x58 [size=1396]
                                                                                                              0x59 [size=1416]
                                                                                                              0x5a [size=1396]
                                                                                                              0x5b [size=1420]
                                                                                                              0x5c [size=1396]
                                                                                                              0x5d [size=1420]
                                                                                                              0x5e [size=1396]
                                                                                                              0x5f [size=1392]
                                                                                                              0x60 [size=1396]
                                                                                                              0x61 [size=1392]
                                                                                                              0x62 [size=1396]
                                                                                                              0x63 [size=1392]
                                                                                                              0x64 [size=1396]
                                                                                                              0x65 [size=1392]
                                                                                                              0x66 [size=1396]
                                                                                                              0x67 [size=1392]
                                                                                                              0x68 [size=1396]
                                                                                                              0x69 [size=1392]
                                                                                                              0x6a [size=1396]
                                                                                                              0x6b [size=1432]
                                                                                                              0x6c [size=1396]
                                                                                                              0x6d [size=1436]
                                                                                                              0x6e [size=1396]
                                                                                                              0x6f [size=1416]
                                                                                                              0x70 [size=1396]
                                                                                                              0x71 [size=1392]
                                                                                                              0x72 [size=1396]
                                                                                                              0x73 [size=1392]
                                                                                                              0x74 [size=1396]
                                                                                                              0x75 [size=1392]
                                                                                                              0x76 [size=1396]
                                                                                                              0x77 [size=1392]
                                                                                                              0x78 [size=1396]
                                                                                                              0x79 [size=1392]
                                                                                                              0x7a [size=1396]
                                                                                                              0x7b [size=1392]
                                                                                                              0x7c [size=1396]
                                                                                                              0x7d [size=1392]
                                                                                                              0x7e [size=1396]
                                                                                                              0x7f [size=1432]
                                                                                                              0x80 [size=1396]
                                                                                                              0x81 [size=1424]
2026-06-21 20:57:37.010  5926-5926  ACRA                    com.ichi2.anki.debug                 E            0x82 [size=1396]
                                                                                                              0x83 [size=1424]
                                                                                                              0x84 [size=1396]
                                                                                                              0x85 [size=1448]
                                                                                                              0x86 [size=1396]
                                                                                                              0x87 [size=1392]
                                                                                                              0x88 [size=1396]
                                                                                                              0x89 [size=1392]
                                                                                                              0x8a [size=1396]
                                                                                                              0x8b [size=1392]
                                                                                                              0x8c [size=1396]
                                                                                                              0x8d [size=1392]
                                                                                                              0x8e [size=1396]
                                                                                                              0x8f [size=1392]
                                                                                                              0x90 [size=1396]
                                                                                                              0x91 [size=1392]
                                                                                                              0x92 [size=1396]
                                                                                                              0x93 [size=1400]
                                                                                                              0x94 [size=1396]
                                                                                                              0x95 [size=1400]
                                                                                                              0x96 [size=1396]
                                                                                                              0x97 [size=1420]
                                                                                                              0x98 [size=1396]
                                                                                                              0x99 [size=1416]
                                                                                                              0x9a [size=1396]
                                                                                                              0x9b [size=1420]
                                                                                                              0x9c [size=1396]
                                                                                                              0x9d [size=1424]
                                                                                                              0x9e [size=1396]
                                                                                                              0x9f [size=1408]
                                                                                                              0xa0 [size=1396]
                                                                                                              0xa1 [size=1392]
                                                                                                              0xa2 [size=1396]
                                                                                                              0xa3 [size=1392]
                                                                                                              0xa4 [size=1396]
                                                                                                              0xa5 [size=1392]
                                                                                                              0xa6 [size=1396]
                                                                                                              0xa7 [size=1392]
                                                                                                              0xa8 [size=1396]
                                                                                                              0xa9 [size=1392]
                                                                                                              0xaa [size=1396]
                                                                                                              0xab [size=1392]
                                                                                                              0xac [size=1396]
                                                                                                              0xad [size=1392]
                                                                                                              0xae [size=1396]
                                                                                                              0xaf [size=1392]
                                                                                                              0xb0 [size=1396]
                                                                                                              0xb1 [size=1392]
                                                                                                              0xb2 [size=1396]
                                                                                                              0xb3 [size=1392]
                                                                                                              0xb4 [size=1396]
                                                                                                              0xb5 [size=1392]
                                                                                                              0xb6 [size=1396]
                                                                                                              0xb7 [size=1392]
                                                                                                              0xb8 [size=1396]
                                                                                                              0xb9 [size=1392]
                                                                                                              0xba [size=1396]
                                                                                                              0xbb [size=1392]
                                                                                                              0xbc [size=1396]
                                                                                                              0xbd [size=1392]
                                                                                                              0xbe [size=1396]
                                                                                                              0xbf [size=1392]
                                                                                                              0xc0 [size=1396]
                                                                                                              0xc1 [size=1392]
                                                                                                              0xc2 [size=1396]
                                                                                                              0xc3 [size=1392]
                                                                                                              0xc4 [size=1396]
                                                                                                              0xc5 [size=1392]
                                                                                                              0xc6 [size=1396]
                                                                                                              0xc7 [size=1392]
                                                                                                              0xc8 [size=1396]
                                                                                                              0xc9 [size=1392]
                                                                                                              0xca [size=1396]
                                                                                                              0xcb [size=1392]
                                                                                                              0xcc [size=1396]
                                                                                                              0xcd [size=1392]
                                                                                                              0xce [size=1396]
                                                                                                              0xcf [size=1392]
                                                                                                              0xd0 [size=1396]
                                                                                                              0xd1 [size=1392]
                                                                                                              0xd2 [size=1396]
                                                                                                              0xd3 [size=1392]
                                                                                                              0xd4 [size=1396]
                                                                                                              0xd5 [size=1392]
                                                                                                              0xd6 [size=1396]
                                                                                                              0xd7 [size=1392]
                                                                                                              0xd8 [size=1396]
                                                                                                              0xd9 [size=1392]
                                                                                                              0xda [size=1396]
                                                                                                              0xdb [size=1392]
                                                                                                              0xdc [size=1396]
                                                                                                              0xdd [size=1392]
                                                                                                              0xde [size=1396]
                                                                                                              0xdf [size=1392]
                                                                                                              0xe0 [size=1396]
                                                                                                              0xe1 [size=1392]
                                                                                                              0xe2 [size=1396]
                                                                                                              0xe3 [size=1392]
                                                                                                              0xe4 [size=1396]
                                                                                                              0xe5 [size=1392]
                                                                                                              0xe6 [size=1396]
                                                                                                              0xe7 [size=1392]
                                                                                                              0xe8 [size=1396]
                                                                                                              0xe9 [size=1392]
                                                                                                              0xea [size=1396]
                                                                                                              0xeb [size=1392]
                                                                                                              0xec [size=1396]
                                                                                                              0xed [size=1392]
                                                                                                              0xee [size=1396]
                                                                                                              0xef [size=1392]
                                                                                                              0xf0 [size=1396]
                                                                                                              0xf1 [size=1392]
                                                                                                              0xf2 [size=1396]
                                                                                                              0xf3 [size=1392]
                                                                                                              0xf4 [size=1396]
                                                                                                              0xf5 [size=1392]
                                                                                                              0xf6 [size=1396]
                                                                                                              0xf7 [size=1392]
                                                                                                              0xf8 [size=1396]
                                                                                                              0xf9 [size=1392]
                                                                                                              0xfa [size=1396]
                                                                                                              0xfb [size=1392]
                                                                                                              0xfc [size=1396]
                                                                                                              0xfd [size=1392]
                                                                                                              0xfe [size=1396]
                                                                                                              0xff [size=1392]
                                                                                                              0x100 [size=1396]
                                                                                                              0x101 [size=1392]
                                                                                                              0x102 [size=1396]
                                                                                                              0x103 [size=1392]
                                                                                                              0x104 [size=1396]
                                                                                                              0x105 [size=1392]
                                                                                                              0x106 [size=1396]
                                                                                                              0x107 [size=1392]
                                                                                                              0x108 [size=1396]
                                                                                                              0x109 [size=1392]
                                                                                                              0x10a [size=1396]
                                                                                                              0x10b [size=1392]
                                                                                                              0x10c [size=1396]
                                                                                                              0x10d [size=1392]
                                                                                                              0x10e [size=1396]
                                                                                                              0x10f [size=1392]
                                                                                                              0x110 [size=1396]
                                                                                                              0x111 [size=1392]
                                                                                                              0x112 [size=1396]
                                                                                                              0x113 [size=1392]
                                                                                                              0x114 [size=1396]
                                                                                                              0x115 [size=1392]
2026-06-21 20:57:37.010  5926-5926  ACRA                    com.ichi2.anki.debug                 E            0x116 [size=1396]
                                                                                                              0x117 [size=1392]
                                                                                                              0x118 [size=1396]
                                                                                                              0x119 [size=1392]
                                                                                                              0x11a [size=1396]
                                                                                                              0x11b [size=1392]
                                                                                                              0x11c [size=1396]
                                                                                                              0x11d [size=1392]
                                                                                                              0x11e [size=1396]
                                                                                                              0x11f [size=1392]
                                                                                                              0x120 [size=1396]
                                                                                                              0x121 [size=1392]
                                                                                                              0x122 [size=1396]
                                                                                                              0x123 [size=1392]
                                                                                                              0x124 [size=1396]
                                                                                                              0x125 [size=1392]
                                                                                                              0x126 [size=1396]
                                                                                                              0x127 [size=1392]
                                                                                                              0x128 [size=1396]
                                                                                                              0x129 [size=1392]
                                                                                                              0x12a [size=1396]
                                                                                                              0x12b [size=1392]
                                                                                                              0x12c [size=1396]
                                                                                                              0x12d [size=1392]
                                                                                                              0x12e [size=1396]
                                                                                                              0x12f [size=1392]
                                                                                                              0x130 [size=1396]
                                                                                                              0x131 [size=1392]
                                                                                                              0x132 [size=1396]
                                                                                                              0x133 [size=1392]
                                                                                                              0x134 [size=1396]
                                                                                                              0x135 [size=1392]
                                                                                                              0x136 [size=1396]
                                                                                                              0x137 [size=1392]
                                                                                                              0x138 [size=1396]
                                                                                                              0x139 [size=1392]
                                                                                                              0x13a [size=1396]
                                                                                                              0x13b [size=1392]
                                                                                                              0x13c [size=1396]
                                                                                                              0x13d [size=1392]
                                                                                                              0x13e [size=1396]
                                                                                                              0x13f [size=1392]
                                                                                                              0x140 [size=1396]
                                                                                                              0x141 [size=1392]
                                                                                                              0x142 [size=1396]
                                                                                                              0x143 [size=1392]
                                                                                                              0x144 [size=1396]
                                                                                                              0x145 [size=1392]
                                                                                                              0x146 [size=1396]
                                                                                                              0x147 [size=1392]
                                                                                                              0x148 [size=1396]
                                                                                                              0x149 [size=1392]
                                                                                                              0x14a [size=1396]
                                                                                                              0x14b [size=1392]
                                                                                                              0x14c [size=1396]
                                                                                                              0x14d [size=1392]
                                                                                                              0x14e [size=1396]
                                                                                                              0x14f [size=1392]
                                                                                                              0x150 [size=1396]
                                                                                                              0x151 [size=1392]
                                                                                                              0x152 [size=1396]
                                                                                                              0x153 [size=1392]
                                                                                                              0x154 [size=1396]
                                                                                                              0x155 [size=1392]
                                                                                                              0x156 [size=1396]
                                                                                                              0x157 [size=1392]
                                                                                                              0x158 [size=1396]
                                                                                                              0x159 [size=1392]
                                                                                                              0x15a [size=1396]
                                                                                                              0x15b [size=1392]
                                                                                                              0x15c [size=1396]
                                                                                                              0x15d [size=1392]
                                                                                                              0x15e [size=1396]
                                                                                                              0x15f [size=1392]
                                                                                                              0x160 [size=1396]
                                                                                                              0x161 [size=1392]
                                                                                                              0x162 [size=1396]
                                                                                                              0x163 [size=1392]
                                                                                                              0x164 [size=1396]
                                                                                                              0x165 [size=1392]
                                                                                                              0x166 [size=1396]
                                                                                                              0x167 [size=1392]
                                                                                                              0x168 [size=1396]
                                                                                                              0x169 [size=1392]
                                                                                                              0x16a [size=1396]
                                                                                                              0x16b [size=1392]
                                                                                                              0x16c [size=1396]
                                                                                                              0x16d [size=1392]
                                                                                                              0x16e [size=1396]
                                                                                                              0x16f [size=1392]
                                                                                                              0x170 [size=1396]
                                                                                                              0x171 [size=1392]
                                                                                                              0x172 [size=1396]
                                                                                                              0x173 [size=1392]
                                                                                                              0x174 [size=1396]
                                                                                                              0x175 [size=1392]
                                                                                                              0x176 [size=1396]
                                                                                                              0x177 [size=1392]
                                                                                                              0x178 [size=1396]
                                                                                                              0x179 [size=1392]
                                                                                                              0x17a [size=1396]
                                                                                                              0x17b [size=1392]
                                                                                                              0x17c [size=1396]
                                                                                                              0x17d [size=1392]
                                                                                                              0x17e [size=1396]
                                                                                                              0x17f [size=1392]
                                                                                                              0x180 [size=1396]
                                                                                                              0x181 [size=1392]
                                                                                                              0x182 [size=1396]
                                                                                                              0x183 [size=1392]
                                                                                                              0x184 [size=1396]
                                                                                                              0x185 [size=1392]
                                                                                                              0x186 [size=1396]
                                                                                                              0x187 [size=1392]
                                                                                                              0x188 [size=1396]
                                                                                                              0x189 [size=1392]
                                                                                                              0x18a [size=1396]
                                                                                                              0x18b [size=1392]
                                                                                                              0x18c [size=1396]
                                                                                                              0x18d [size=1392]
                                                                                                              0x18e [size=1396]
                                                                                                              0x18f [size=1392]
                                                                                                              0x190 [size=1396]
                                                                                                              0x191 [size=1392]
                                                                                                              0x192 [size=1396]
                                                                                                              0x193 [size=1392]
                                                                                                              0x194 [size=1396]
                                                                                                              0x195 [size=1392]
                                                                                                              0x196 [size=1396]
                                                                                                            savedInstanceState [size=3624]
                                                                                                              customViewIds [size=3260]
                                                                                                    PersistableBundle stats:
                                                                                                      [null]
                                                                                                    	at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:146)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:995)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:103)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:248)
2026-06-21 20:57:37.010  5926-5926  ACRA                    com.ichi2.anki.debug                 E  	at android.os.Looper.loop(Looper.java:338)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:9067)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
                                                                                                    Caused by: android.os.TransactionTooLargeException: data parcel size 583180 bytes
                                                                                                    	at android.os.BinderProxy.transactNative(Native Method)
                                                                                                    	at android.os.BinderProxy.transact(BinderProxy.java:592)
                                                                                                    	at android.app.IActivityClientController$Stub$Proxy.activityStopped(IActivityClientController.java:1504)
                                                                                                    	at android.app.ActivityClient.activityStopped(ActivityClient.java:100)
                                                                                                    	at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:135)
                                                                                                    	... 8 more

Research

  • I have checked the manual and the FAQ and could not find a solution to my issue
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

Metadata

Metadata

Assignees

Type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions