Skip to content

Confusing IndexOutOfBounds Crash when running tests on Emulator 21 #108

@fknives

Description

@fknives

Describe the bug
Tests are not run properly and a weird IndexOutOfBounds crash happens

Logs:

*** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 1499): java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
E/AndroidRuntime( 1499): 	at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:117)
E/AndroidRuntime( 1499): 	at android.view.accessibility.AccessibilityManager.handleNotifyAccessibilityStateChanged(AccessibilityManager.java:645)
E/AndroidRuntime( 1499): 	at android.view.accessibility.AccessibilityManager.access$000(AccessibilityManager.java:68)
E/AndroidRuntime( 1499): 	at android.view.accessibility.AccessibilityManager$MyHandler.handleMessage(AccessibilityManager.java:693)
E/AndroidRuntime( 1499): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1499): 	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 1499): 	at com.android.server.SystemServer.run(SystemServer.java:269)
E/AndroidRuntime( 1499): 	at com.android.server.SystemServer.main(SystemServer.java:170)
E/AndroidRuntime( 1499): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1499): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1499): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 1499): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
D/gralloc_ranchu( 1128): gralloc_alloc: Creating ashmem region of size 819200

Additional context
Add any other context about the problem here.
It looks like the whole AndroidTesting process crashed, since not all tests are listed

Emulator-Test-Results-21.zip

Emulator-Logcat-Logs-21.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is neededneeds more informationThe issue doesn't have enough information to reliably reproduce

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions