wix / Detox

Gray box end-to-end testing and automation framework for mobile apps
https://wix.github.io/Detox/
MIT License
11.15k stars 1.92k forks source link

Detox 19.4.1 crash on Android app #3168

Closed sandeep-bastola closed 2 years ago

sandeep-bastola commented 2 years ago

Describe the bug

The detox crashes with error message "DetoxRuntimeError: Test Failed: java.lang.Integer cannot be cast to java.lang.String" while trying to tap a button in the app. Crashes after tapping the RESTART button on the OS overlay as shown in attached recording.

Expected behavior

Detox Trace-Logs

Detox logs detox[27111] TRACE: [WS_SEND] {"type":"invoke","params":{"target":{"type":"Class","value":"com.wix.detox.espresso.EspressoDetox"},"method":"perform","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"androidx.test.espresso.Espresso"},"method":"onView","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForText","args":["Restart"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]},"messageId":33} detox[27111] TRACE: [WSS_GET_FROM, #tester] {"type":"invoke","params":{"target":{"type":"Class","value":"com.wix.detox.espresso.EspressoDetox"},"method":"perform","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"androidx.test.espresso.Espresso"},"method":"onView","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForText","args":["Restart"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]},"messageId":33} detox[27111] TRACE: [WSS_SEND_TO, #app] {"type":"invoke","params":{"target":{"type":"Class","value":"com.wix.detox.espresso.EspressoDetox"},"method":"perform","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"androidx.test.espresso.Espresso"},"method":"onView","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForText","args":["Restart"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]},"messageId":33} detox[27111] TRACE: [WSS_GET_FROM, #app] {"messageId":33,"type":"testFailed","params":{"details":"java.lang.Integer cannot be cast to java.lang.String"}} detox[27111] TRACE: [WSS_SEND_TO, #tester] {"messageId":33,"type":"testFailed","params":{"details":"java.lang.Integer cannot be cast to java.lang.String"}} detox[27111] TRACE: [WS_MESSAGE] {"messageId":33,"type":"testFailed","params":{"details":"java.lang.Integer cannot be cast to java.lang.String"}} detox[27111] INFO: SW-TPL-2.5_REQ_DRAWER_MENU: [15.5_REQ_DRAWER_MENU_064] [FAIL]

Device logs (adb logcat)

Device logs 01-07 17:14:44.869 9670 9775 D DetoxWSClient: Received action 'invoke' (ID #39, params={"target":{"type":"Class","value":"com.wix.detox.espresso.EspressoDetox"},"method":"perform","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"androidx.test.espresso.Espresso"},"method":"onView","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForText","args":["Restart"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]}) 01-07 17:14:44.869 9670 9773 I DetoxDispatcher: Handling action 'invoke' (ID #39)... 01-07 17:14:44.870 9670 9773 D Detox : class com.wix.detox.espresso.DetoxMatcher, matcherForText, [Restart] 01-07 17:14:44.871 9670 9773 D Detox : class androidx.test.espresso.Espresso, onView, [(an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Restart" and view has effective visibility )] 01-07 17:14:44.872 9670 9773 D Detox : class com.wix.detox.espresso.DetoxViewActions, click, [] 01-07 17:14:44.872 9670 9773 D Detox : class com.wix.detox.espresso.EspressoDetox, perform, [androidx.test.espresso.ViewInteraction@34fb959, com.wix.detox.espresso.action.RNClickAction@741391e] 01-07 17:14:44.877 9670 9670 I ViewInteraction: Performing 'com.wix.detox.espresso.action.detoxsingletap@160a5ff click' action on view (an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Restart" and view has effective visibility ) 01-07 17:14:44.885 2005 2108 V InputDispatcher: Asynchronous input event injection succeeded. 01-07 17:14:44.922 9670 9756 D EGL_emulation: eglMakeCurrent: 0xc667f300: ver 3 0 (tinfo 0xde7b07f0) 01-07 17:14:44.973 9670 9756 D EGL_emulation: eglMakeCurrent: 0xc667f300: ver 3 0 (tinfo 0xde7b07f0) 01-07 17:14:45.006 2005 4351 E InputDispatcher: Window handle Window{b8a713c u0 world.smokeless.android.stage/world.smokeless.android.MainActivity} has no registered input channel 01-07 17:14:45.034 2005 2421 E InputDispatcher: Window handle Window{b8a713c u0 world.smokeless.android.stage/world.smokeless.android.MainActivity} has no registered input channel 01-07 17:14:45.056 9670 9756 D EGL_emulation: eglMakeCurrent: 0xc667f300: ver 3 0 (tinfo 0xde7b07f0) 01-07 17:14:45.127 9670 9683 I s.android.stag: Background concurrent copying GC freed 196364(8839KB) AllocSpace objects, 5(164KB) LOS objects, 39% free, 9493KB/15MB, paused 28us total 249.850ms 01-07 17:14:45.161 1811 2458 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property 01-07 17:14:45.168 9670 10158 W DynamiteModule: Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. 01-07 17:14:45.177 2636 4316 W ProviderHelper: Unknown dynamite feature providerinstaller.dynamite 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: Test exception 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: java.lang.reflect.InvocationTargetException 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at java.lang.reflect.Method.invoke(Native Method) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at org.apache.commons.lang3.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:443) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at org.apache.commons.lang3.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:405) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.invoke.types.ClassTarget.execute(ClassTarget.java:23) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.invoke.types.Target.invoke(Target.java:59) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:35) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:26) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:20) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.adapters.server.InvokeActionHandler.handle(DetoxActionHandlers.kt:54) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.adapters.server.ActionsExecutor$executeAction$$inlined$let$lambda$1.run(DetoxActionsDispatcher.kt:64) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at android.os.Handler.handleCallback(Handler.java:883) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at android.os.Handler.dispatchMessage(Handler.java:100) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at android.os.Looper.loop(Looper.java:214) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.adapters.server.ActionsExecutor$1.run(DetoxActionsDispatcher.kt:50) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at java.lang.Thread.run(Thread.java:919) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: Caused by: androidx.test.espresso.PerformException: Error performing 'com.wix.detox.espresso.action.detoxsingletap@160a5ff click - At Coordinates: 1158, 1413 and precision: 16, 16' on view '(an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Restart" and view has effective visibility )'. 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.PerformException$Builder.build(PerformException.java:1) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:9) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:7) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:8) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction.desugaredPerform(ViewInteraction.java:11) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction.perform(ViewInteraction.java:4) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.espresso.EspressoDetox.perform(EspressoDetox.java:35) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: ... 15 more 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.reactnative.idlingresources.uimodule.DispatchCommandOperationReflected.getViewCommand(DispatchCommandOperationReflected.kt:31) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.reactnative.idlingresources.uimodule.RN66Workaround.isScarceUISwitchCommandStuckInQueue(RN66Workaround.kt:29) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.reactnative.idlingresources.uimodule.UIModuleIdlingResource.checkIdle(UIModuleIdlingResource.kt:47) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.reactnative.idlingresources.DetoxBaseIdlingResource.isIdleNow(DetoxBaseIdlingResource.java:22) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.base.IdlingResourceRegistry.allResourcesAreIdle(IdlingResourceRegistry.java:4) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.base.IdlingResourceRegistry$6.isIdleNow(IdlingResourceRegistry.java:1) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:11) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.base.UiControllerImpl.injectMotionEventSequence(UiControllerImpl.java:13) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.espresso.action.DetoxMultiTap.injectEvents(DetoxMultiTap.kt:83) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.espresso.action.DetoxMultiTap.sendTap(DetoxMultiTap.kt:55) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:6) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.wix.detox.espresso.action.RNClickAction.perform(RNClickAction.java:55) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:2) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:22) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction.access$100(ViewInteraction.java:1) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:2) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at android.os.Handler.handleCallback(Handler.java:883) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at android.os.Handler.dispatchMessage(Handler.java:100) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at android.os.Looper.loop(Looper.java:214) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at android.app.ActivityThread.main(ActivityThread.java:7356) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at java.lang.reflect.Method.invoke(Native Method) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 01-07 17:14:45.177 9670 9773 I DetoxActionHandlers: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) 01-07 17:14:45.178 9670 9773 I DetoxWSClient: Sending out action 'testFailed' (ID #39) 01-07 17:14:45.184 9670 9773 I DetoxDispatcher: Done with action 'invoke' 01-07 17:14:45.189 9670 10158 I DynamiteModule: Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0 01-07 17:14:45.189 9670 10158 W ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. 01-07 17:14:45.203 9670 10158 W ProviderInstaller: Failed to report request stats: com.google.android.gms.common.security.ProviderInstallerImpl.reportRequestStats [class android.content.Context, long] 01-07 17:14:45.339 2005 2049 D KernelCpuUidUserSysTimeReader: Removing uids 10151-10151 01-07 17:14:45.340 2005 2049 D KernelCpuUidUserSysTimeReader: Removing uids 10152-10152 01-07 17:14:45.446 1858 6554 W GraphicBufferSource: released unpopulated slots: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] 01-07 17:14:45.685 10293 10293 D MPEG4Writer: Video track stopping. Stop source 01-07 17:14:45.685 10293 10293 D MPEG4Writer: Video track source stopping 01-07 17:14:45.685 10293 10293 D MPEG4Writer: Video track source stopped 01-07 17:14:45.685 10293 10310 I MPEG4Writer: Received total/0-length (77/0) buffers and encoded 77 frames. - Video 01-07 17:14:45.686 10293 10293 D MPEG4Writer: Video track stopped. Stop source 01-07 17:14:45.686 10293 10293 D MPEG4Writer: Stopping writer thread 01-07 17:14:45.686 10293 10309 D MPEG4Writer: 0 chunks are written in the last batch 01-07 17:14:45.686 10293 10293 D MPEG4Writer: Writer thread stopped 01-07 17:14:45.686 10293 10293 I MPEG4Writer: Ajust the moov start time from 541948201 us -> 541948201 us 01-07 17:14:45.693 10293 10293 D MPEG4Writer: Video track stopping. Stop source 01-07 17:14:45.743 1781 8088 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 14749696 01-07 17:14:45.764 1651 1651 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest. 01-07 17:14:45.764 10560 10560 W Gralloc3: mapper 3.x is not supported 01-07 17:14:45.766 3465 10579 I MediaProvider: Begin Intent { act=android.intent.action.MEDIA_SCANNER_SCAN_FILE dat=file:///sdcard/171224412_4.mp4 flg=0x1400010 cmp=com.android.providers.media/.MediaService } 01-07 17:14:45.772 10293 10293 D ScreenRecord: success 01-07 17:14:45.788 10560 10560 D HostConnection: createUnique: call 01-07 17:14:45.788 10560 10560 D HostConnection: HostConnection::get() New Host Connection established 0xf7312d70, tid 10560 01-07 17:14:45.791 10560 10560 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0 01-07 17:14:45.791 10560 10560 D eglCodecCommon: allocate: Ask for block of size 0x1000 01-07 17:14:45.792 10560 10560 D eglCodecCommon: allocate: ioctl allocate returned offset 0x3ff1dc000 size 0x2000 01-07 17:14:45.847 10560 10560 D eglCodecCommon: allocate: Ask for block of size 0xe11000 01-07 17:14:45.848 10560 10560 D eglCodecCommon: allocate: ioctl allocate returned offset 0x3fc7aa000 size 0xe12000 01-07 17:14:45.859 3465 10579 W IsoInterface: Invalid box at 152 of length 1751411826 reached beyond end of parent 258 01-07 17:14:45.872 3465 10579 I MediaProvider: End Intent { act=android.intent.action.MEDIA_SCANNER_SCAN_FILE dat=file:///sdcard/171224412_4.mp4 flg=0x1400010 cmp=com.android.providers.media/.MediaService } 01-07 17:14:45.891 1754 6585 W audio_hw_generic: Not supplying enough data to HAL, expected position 4158364 , only wrote 4158351 01-07 17:14:45.934 1754 6585 W audio_hw_generic: Not supplying enough data to HAL, expected position 4160259 , only wrote 4159012 01-07 17:14:46.009 2636 7588 I NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.ipa.base.IpaGcmTaskService started execution. cause:9 exec_start_elapsed_seconds: 560 [CONTEXT service_id=218 ] 01-07 17:14:46.018 2636 9655 I NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.ipa.base.IpaGcmTaskService finished executing. cause:9 result: 1 elapsed_millis: 38 uptime_millis: 38 exec_start_elapsed_seconds: 560 [CONTEXT service_id=218 ] 01-07 17:14:46.501 3465 10591 I MediaProvider: Begin Intent { act=android.intent.action.MEDIA_SCANNER_SCAN_FILE dat=file:///sdcard/171224412_5.png flg=0x1400010 cmp=com.android.providers.media/.MediaService } 01-07 17:14:46.510 3465 10591 W ExifInterface: Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface. 01-07 17:14:46.510 3465 10591 W ExifInterface: java.io.IOException: Invalid byte order: ffff8950 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.media.ExifInterface.readByteOrder(ExifInterface.java:3121) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.media.ExifInterface.isOrfFormat(ExifInterface.java:2437) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.media.ExifInterface.getMimeType(ExifInterface.java:2315) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.media.ExifInterface.loadAttributes(ExifInterface.java:1753) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.media.ExifInterface.(ExifInterface.java:1447) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner.scanItemImage(ModernMediaScanner.java:729) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner.scanItem(ModernMediaScanner.java:502) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner.access$500(ModernMediaScanner.java:118) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner$Scan.visitFile(ModernMediaScanner.java:406) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner$Scan.visitFile(ModernMediaScanner.java:207) 01-07 17:14:46.510 3465 10591 W ExifInterface: at java.nio.file.Files.walkFileTree(Files.java:2670) 01-07 17:14:46.510 3465 10591 W ExifInterface: at java.nio.file.Files.walkFileTree(Files.java:2742) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner$Scan.walkFileTree(ModernMediaScanner.java:267) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner$Scan.run(ModernMediaScanner.java:245) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.scan.ModernMediaScanner.scanFile(ModernMediaScanner.java:174) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.MediaService.onScanFile(MediaService.java:164) 01-07 17:14:46.510 3465 10591 W ExifInterface: at com.android.providers.media.MediaService.onHandleIntent(MediaService.java:90) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.os.Handler.dispatchMessage(Handler.java:107) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.os.Looper.loop(Looper.java:214) 01-07 17:14:46.510 3465 10591 W ExifInterface: at android.os.HandlerThread.run(HandlerThread.java:67)

Screenshots / Video

https://user-images.githubusercontent.com/8292099/148579094-2e5ab321-11c4-4b53-9752-713a40daf6fc.mp4

Environment

jonathanmos commented 2 years ago

@sandeep-bastola please try with the new version (19.4.2) and check if it solves the issue

sandeep-bastola commented 2 years ago

@jonathanmos , the issue is resolved in Android. thanks for that. But in iOS, I have seen the signal 11 crash issue more than earlier versions even though the V19.4.2 has resolution for it.

asafkorem commented 2 years ago

@sandeep-bastola are you using Firebase-Performance in your project? If so, you'll need to upgrade your GoogleUtilities to v7.7 for this fix to work. See https://github.com/wix/Detox/pull/3167 If not, please open a designated issue for this problem with iOS 🙂

asafkorem commented 2 years ago

We'll continue the iOS crash discussion in this issue: https://github.com/wix/Detox/issues/3176 Thanks @jonathanmos for fixing the Android issue 🙏🏼 🚀