Closed Suresh-Xseed closed 4 years ago
@plutoless
Hi, I am trying to do a screen sharing functionality in my app by pulling the screen sharing module from https://github.com/AgoraIO/Advanced-Video/tree/dev/backup/Screensharing/Agora-Screen-Sharing-Android.
When I try to run this in my android emulator, The app keeps crashing. with error message:
2020-05-13 03:44:48.280 10238-10311/com.example.agoraflutterquickstart E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.put(java.lang.Object, java.lang.Object)' on a null object reference
Error logs:
2020-05-13 03:44:40.662 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@6bfa39e) 2020-05-13 03:44:40.663 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@6bfa39e) 2020-05-13 03:44:41.665 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@da6fe7f) 2020-05-13 03:44:41.668 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@da6fe7f) 2020-05-13 03:44:42.670 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@6df3e4c) 2020-05-13 03:44:42.671 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@6df3e4c) 2020-05-13 03:44:43.674 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@cd0de95) 2020-05-13 03:44:43.675 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@cd0de95) 2020-05-13 03:44:44.674 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@4fe5baa) 2020-05-13 03:44:44.676 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@4fe5baa) 2020-05-13 03:44:45.676 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@fb7039b) 2020-05-13 03:44:45.677 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@fb7039b) 2020-05-13 03:44:45.899 1839-1842/? D/hwcomposer: hw_composer sent 320 syncs in 62s 2020-05-13 03:44:45.981 1593-3918/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 21627461 , only wrote 21627360 2020-05-13 03:44:46.411 10238-10238/com.example.agoraflutterquickstart E/BluetoothAdapter: Bluetooth binder is null 2020-05-13 03:44:46.417 10238-10238/com.example.agoraflutterquickstart D/agora-jni: android bridge create done... --------- beginning of system 2020-05-13 03:44:46.493 1853-4124/? I/DisplayManagerService: Display device added: DisplayDeviceInfo{"flutter-vd": uniqueId="virtual:com.example.agoraflutterquickstart,10086,flutter-vd,0", 1080 x 1584, modeId 18, defaultModeId 18, supportedModes [{id=18, width=1080, height=1584, fps=60.0}], colorMode 0, supportedColorModes [0], HdrCapabilities null, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state ON, owner com.example.agoraflutterquickstart (uid 10086), FLAG_PRIVATE, FLAG_NEVER_BLANK, FLAG_OWN_CONTENT_ONLY} 2020-05-13 03:44:46.506 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing Display Root to Display Root#1 2020-05-13 03:44:46.508 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing Display Overlays to Display Overlays#1 2020-05-13 03:44:46.512 10238-10312/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns1" 2020-05-13 03:44:46.512 10238-10312/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns2" 2020-05-13 03:44:46.512 10238-10312/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns3" 2020-05-13 03:44:46.512 10238-10312/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns4" 2020-05-13 03:44:46.407 10238-10238/com.example.agoraflutterquickstart W/utterquickstart: type=1400 audit(0.0:96): avc: denied { getattr } for path="/dev/pmsg0" dev="tmpfs" ino=1334 scontext=u:r:untrusted_app:s0:c86,c256,c512,c768 tcontext=u:object_r:pmsg_device:s0 tclass=chr_file permissive=0 2020-05-13 03:44:46.563 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing mBelowAppWindowsContainers to mBelowAppWindowsContainers#1 2020-05-13 03:44:46.563 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 7753728 2020-05-13 03:44:46.616 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing animationLayer to animationLayer#1 2020-05-13 03:44:46.627 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing boostedAnimationLayer to boostedAnimationLayer#1 2020-05-13 03:44:46.629 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing homeAnimationLayer to homeAnimationLayer#1 2020-05-13 03:44:46.634 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing splitScreenDividerAnchor to splitScreenDividerAnchor#1 2020-05-13 03:44:46.651 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing mAboveAppWindowsContainers to mAboveAppWindowsContainers#1 2020-05-13 03:44:46.653 1701-1701/? D/SurfaceFlinger: duplicate layer name: changing mImeWindowsContainers to mImeWindowsContainers#1 2020-05-13 03:44:46.750 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@99c098b) 2020-05-13 03:44:46.751 1853-1911/? W/LocalDisplayAdapter: Unable to find color mode 0, ignoring request. 2020-05-13 03:44:46.761 1853-1929/? I/InputReader: Reconfiguring input devices. changes=0x00000004 2020-05-13 03:44:46.762 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@99c098b) 2020-05-13 03:44:46.795 1701-1701/? E/HWComposer: getHdrCapabilities failed for display -1: Invalid display 2020-05-13 03:44:46.797 1853-1853/? W/Looper: Slow dispatch took 163ms main h=android.os.Handler c=android.app.AlarmManager$ListenerWrapper@eda9a68 m=0 2020-05-13 03:44:46.814 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 6844416 2020-05-13 03:44:46.896 1701-1701/? E/HWComposer: getSupportedPerFrameMetadata failed for display -1: Invalid display 2020-05-13 03:44:46.900 1853-1875/? I/ActivityManager: Override config changes=20005df8 {0.0 ?mcc?mnc ?localeList ?layoutDir sw411dp w411dp h603dp 420dpi nrml port ?uimode ?night finger qwerty/v/v -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1584) mAppBounds=Rect(0, 0 - 1080, 1584) mWindowingMode=fullscreen mActivityType=undefined}} for displayId=17 2020-05-13 03:44:46.903 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:46.913 1853-1875/? W/LocalDisplayAdapter: Unable to find color mode 0, ignoring request. 2020-05-13 03:44:46.914 1853-1875/? I/WindowManager: Screen frozen for +135ms due to new-config 2020-05-13 03:44:46.920 1853-1866/? E/memtrack: Couldn't load memtrack module 2020-05-13 03:44:46.920 1853-1866/? W/android.os.Debug: failed to get memory consumption info: -1 2020-05-13 03:44:46.928 1853-1853/? W/Looper: Slow dispatch took 131ms main h=com.android.server.job.JobSchedulerService$JobHandler c=null m=1 2020-05-13 03:44:46.929 1853-1853/? W/Looper: Slow delivery took 270ms main h=android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate c=null m=2 2020-05-13 03:44:46.929 1853-1853/? W/Looper: Drained 2020-05-13 03:44:46.930 7334-7334/? I/Finsky: [2] JobSchedulerEngine$PhoneskyJobSchedulerJobService.onStartJob(3): SCH: onJobSchedulerWakeup with jobId 9001 2020-05-13 03:44:46.941 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 6844416 2020-05-13 03:44:46.958 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:46.991 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 4 lines 2020-05-13 03:44:47.001 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.009 1853-1929/? I/InputReader: Reconfiguring input devices. changes=0x00000004 2020-05-13 03:44:47.010 7334-7334/? I/Finsky: [2] vab.a(19): Scheduling fallback job with id: 9034, and delay: 43200000 ms 2020-05-13 03:44:47.014 7334-7334/? I/Finsky: [2] vab.a(9): Scheduling fallback in 64799998 (absolute: 74975068) 2020-05-13 03:44:47.020 10238-10238/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns1" 2020-05-13 03:44:47.020 10238-10238/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns2" 2020-05-13 03:44:47.020 10238-10238/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns3" 2020-05-13 03:44:47.020 10238-10238/com.example.agoraflutterquickstart E/libc: Access denied finding property "net.dns4" 2020-05-13 03:44:47.021 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.045 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:47.058 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.109 1593-3918/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 21681511 , only wrote 21680640 2020-05-13 03:44:47.138 1593-3918/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 21682017 , only wrote 21680640 2020-05-13 03:44:47.150 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.158 1593-3918/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 21681628 , only wrote 21681360 2020-05-13 03:44:47.199 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.200 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 6844416 2020-05-13 03:44:47.212 7334-7334/? I/Finsky: [2] vak.handleMessage(6): SCH: DeviceState: DeviceState{currentTime=1589321687203, isCharging=false, isIdle=false, netAny=true, netNotRoaming=true, netUnmetered=true, batteryPercent=100.0} 2020-05-13 03:44:47.234 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.244 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.250 10238-10315/com.example.agoraflutterquickstart D/HostConnection: HostConnection::get() New Host Connection established 0xd637bb80, tid 10315 2020-05-13 03:44:47.256 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.267 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.269 10238-10298/com.example.agoraflutterquickstart D/EGL_emulation: eglMakeCurrent: 0xe6e84600: ver 3 0 (tinfo 0xccd66a90) 2020-05-13 03:44:47.279 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.284 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 6844416 2020-05-13 03:44:47.294 7334-10203/? I/Finsky: [524] vcy.a(7): SCH: Jobs in database: 1-1337 2-48879 3-19 3-20 12-1 24-77777777 26-1414141414 2020-05-13 03:44:47.302 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.305 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.311 7334-7334/? I/Finsky: [2] val.a(18): SCH: Running job: 12-1 2020-05-13 03:44:47.316 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.317 7334-7334/? I/Finsky: [2] ContentSyncJob.a(15): ContentSyncJob started 2020-05-13 03:44:47.320 7334-7334/? I/Finsky: [2] vak.handleMessage(57): SCH: RunningQueue size: 1, PendingQueue size: 0 2020-05-13 03:44:47.320 7334-7334/? I/Finsky: [2] vak.handleMessage(60): SCH: Running queue: 12-1 2020-05-13 03:44:47.333 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.338 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.414 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 6844416 2020-05-13 03:44:47.426 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.460 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:47.471 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.625 10238-10315/com.example.agoraflutterquickstart 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_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0 2020-05-13 03:44:47.637 10238-10315/com.example.agoraflutterquickstart D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0 2020-05-13 03:44:47.637 10238-10315/com.example.agoraflutterquickstart D/EGL_emulation: eglCreateContext: 0xcbaadb20: maj 3 min 0 rcv 3 2020-05-13 03:44:47.644 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 3424256 2020-05-13 03:44:47.664 10238-10315/com.example.agoraflutterquickstart D/EGL_emulation: eglMakeCurrent: 0xcbaadb20: ver 3 0 (tinfo 0xcbd62760) 2020-05-13 03:44:47.672 10238-10315/com.example.agoraflutterquickstart I/AGORA_SDK: Surface changed to width 1080 height 1584 2020-05-13 03:44:47.679 1853-1911/? W/LocalDisplayAdapter: Unable to find color mode 0, ignoring request. 2020-05-13 03:44:47.680 1853-1929/? I/InputReader: Reconfiguring input devices. changes=0x00000004 2020-05-13 03:44:47.682 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@12fd2ac) 2020-05-13 03:44:47.683 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@12fd2ac) 2020-05-13 03:44:47.698 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.716 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:47.716 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.718 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:47.718 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:47.719 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.741 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:47.742 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.743 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:47.743 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:47.776 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 3424256 2020-05-13 03:44:47.787 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.810 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:47.811 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:47.812 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:47.812 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:47.872 1593-3918/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 21715649 , only wrote 21715200 2020-05-13 03:44:47.932 10238-10312/com.example.agoraflutterquickstart D/*WEBRTCN*: SetRenderAndroidVM 2020-05-13 03:44:47.972 10238-10312/com.example.agoraflutterquickstart W/VideoCapabilities: Unrecognized profile 4 for video/hevc 2020-05-13 03:44:47.983 10238-10312/com.example.agoraflutterquickstart I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es 2020-05-13 03:44:47.994 10238-10266/com.example.agoraflutterquickstart I/utterquickstar: Background concurrent copying GC freed 23036(6MB) AllocSpace objects, 0(0B) LOS objects, 49% free, 1583KB/3MB, paused 1.637ms total 415.027ms 2020-05-13 03:44:48.013 7334-10253/? I/Finsky: [531] ehz.a(29): Completed 0 account content syncs with 0 successful. 2020-05-13 03:44:48.014 7334-7334/? I/Finsky: [2] ContentSyncJob.a(13): Installation state replication succeeded. 2020-05-13 03:44:48.014 7334-7334/? I/Finsky: [2] vbv.a(16): SCH: jobFinished: 12-1. TimeElapsed: 703ms. 2020-05-13 03:44:48.017 7334-7334/? I/Finsky: [2] val.a(36): SCH: Job 12-1 finished. Not rescheduling. 2020-05-13 03:44:48.017 7334-7334/? I/Finsky: [2] vak.handleMessage(57): SCH: RunningQueue size: 0, PendingQueue size: 0 2020-05-13 03:44:48.018 7334-7334/? I/Finsky: [2] vak.handleMessage(23): Executor finished 2020-05-13 03:44:48.029 10238-10312/com.example.agoraflutterquickstart I/CameraManagerGlobal: Connecting to camera service 2020-05-13 03:44:48.061 7334-7334/? I/Finsky: [2] vcy.a(7): SCH: Jobs in database: 1-1337 2-48879 3-19 3-20 24-77777777 26-1414141414 2020-05-13 03:44:48.064 7334-7334/? I/Finsky: [2] uyt.a(58): SCH: ConstraintMapping: 24-77777777, -> L: 0ms, D: 63649260ms, C: false, I: true, N: 0 2020-05-13 03:44:48.064 7334-7334/? I/Finsky: [2] uyt.a(58): SCH: ConstraintMapping: 1-1337, -> L: 5866942ms, D: 49066942ms, C: false, I: false, N: 1 2020-05-13 03:44:48.064 7334-7334/? I/Finsky: [2] uyt.a(58): SCH: ConstraintMapping: 3-20, -> L: 0ms, D: 83800775ms, C: true, I: false, N: 2 2020-05-13 03:44:48.064 7334-7334/? I/Finsky: [2] uyt.a(58): SCH: ConstraintMapping: 3-19, -> L: 0ms, D: 83800755ms, C: false, I: true, N: 2 2020-05-13 03:44:48.064 7334-7334/? I/Finsky: [2] uyt.a(58): SCH: ConstraintMapping: 2-48879, -> L: 0ms, D: 67242545ms, C: true, I: true, N: 2 2020-05-13 03:44:48.073 7334-7334/? I/Finsky: [2] uyt.a(58): SCH: ConstraintMapping: 26-1414141414, -> L: 24042634ms, D: 24942634ms, C: false, I: false, N: 0 2020-05-13 03:44:48.090 7334-7334/? I/Finsky: [2] vbi.a(35): Cancelling existing jobscheduler jobs: 9009 9003 9010 9000 9002 2020-05-13 03:44:48.091 7334-7334/? I/Finsky: [2] vbi.a(12): Throttling wakeup for job 9004 (expected to run in 0 ms) due to recent wakeup 2020-05-13 03:44:48.091 7334-7334/? I/Finsky: [2] vbi.a(28): Scheduling job Id: 9004, L: 30000, D: 63649260, C: false, I: true, N: 0 2020-05-13 03:44:48.093 7334-7334/? I/Finsky: [2] vbi.a(28): Scheduling job Id: 9005, L: 5866942, D: 49066942, C: false, I: false, N: 1 2020-05-13 03:44:48.094 7334-7334/? I/Finsky: [2] vbi.a(12): Throttling wakeup for job 9006 (expected to run in 0 ms) due to recent wakeup 2020-05-13 03:44:48.095 7334-7334/? I/Finsky: [2] vbi.a(28): Scheduling job Id: 9006, L: 30000, D: 83800775, C: true, I: false, N: 2 2020-05-13 03:44:48.095 7334-7334/? I/Finsky: [2] vbi.a(12): Throttling wakeup for job 9007 (expected to run in 0 ms) due to recent wakeup 2020-05-13 03:44:48.096 7334-7334/? I/Finsky: [2] vbi.a(28): Scheduling job Id: 9007, L: 30000, D: 83800755, C: false, I: true, N: 2 2020-05-13 03:44:48.115 7334-7334/? I/Finsky: [2] vbi.a(12): Throttling wakeup for job 9008 (expected to run in 0 ms) due to recent wakeup 2020-05-13 03:44:48.122 7334-7334/? I/Finsky: [2] vbi.a(28): Scheduling job Id: 9008, L: 30000, D: 67242545, C: true, I: true, N: 2 2020-05-13 03:44:48.126 7334-7334/? I/Finsky: [2] vbi.a(28): Scheduling job Id: 9011, L: 24042634, D: 24942634, C: false, I: false, N: 0 2020-05-13 03:44:48.280 10238-10311/com.example.agoraflutterquickstart E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.put(java.lang.Object, java.lang.Object)' on a null object reference 2020-05-13 03:44:48.382 1703-2519/? I/CameraService: CameraService::connect call (PID -1 "com.example.agoraflutterquickstart", camera ID 1) for HAL version default and Camera API version 2 2020-05-13 03:44:48.383 1703-2519/? I/Camera2ClientBase: Camera 1: Opened. Client: com.example.agoraflutterquickstart (PID 10238, UID 10086) 2020-05-13 03:44:48.383 1703-2519/? I/CameraDeviceClient: CameraDeviceClient 1: Opened 2020-05-13 03:44:48.385 1595-1595/? E/libc: Access denied finding property "ro.camera.req.fmq.size" 2020-05-13 03:44:48.385 1595-1595/? E/libc: Access denied finding property "ro.camera.res.fmq.size" 2020-05-13 03:44:48.367 1595-1595/? W/provider@2.4-se: type=1400 audit(0.0:97): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=1097 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 2020-05-13 03:44:48.408 1703-2519/? E/Camera3-Device: configureStreams: Stream 0: DataSpace override not allowed for format 0x23 2020-05-13 03:44:48.409 1703-2519/? D/Camera3-Device: Set real time priority for request queue thread (tid 10333) 2020-05-13 03:44:48.412 1603-1646/? W/gralloc_ranchu: gralloc_alloc: Requested YCbCr_420_888, taking experimental path. usage: 640 x 480, usage 20003 2020-05-13 03:44:48.412 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 462848 2020-05-13 03:44:48.426 10238-10322/com.example.agoraflutterquickstart D/*WEBRTCN*: StartRender: thread started: 3217480048 2020-05-13 03:44:48.432 1603-1646/? W/gralloc_ranchu: gralloc_alloc: Requested YCbCr_420_888, taking experimental path. usage: 640 x 480, usage 20003 2020-05-13 03:44:48.432 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 462848 2020-05-13 03:44:48.468 1603-1646/? W/gralloc_ranchu: gralloc_alloc: Requested YCbCr_420_888, taking experimental path. usage: 640 x 480, usage 20003 2020-05-13 03:44:48.468 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 462848 2020-05-13 03:44:48.504 1603-1646/? W/gralloc_ranchu: gralloc_alloc: Requested YCbCr_420_888, taking experimental path. usage: 640 x 480, usage 20003 2020-05-13 03:44:48.504 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 462848 2020-05-13 03:44:48.646 1603-1646/? W/gralloc_ranchu: gralloc_alloc: Requested YCbCr_420_888, taking experimental path. usage: 640 x 480, usage 20003 2020-05-13 03:44:48.646 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 462848 2020-05-13 03:44:48.686 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@c18742d) 2020-05-13 03:44:48.687 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@c18742d) 2020-05-13 03:44:48.712 1603-1646/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 3424256 2020-05-13 03:44:48.718 1603-1645/? W/gralloc_ranchu: gralloc_alloc: Requested YCbCr_420_888, taking experimental path. usage: 640 x 480, usage 20003 2020-05-13 03:44:48.718 1603-1645/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 462848 2020-05-13 03:44:48.727 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:48.738 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:48.747 1603-1645/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 6844416 2020-05-13 03:44:48.786 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:48.787 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:48.789 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:48.789 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:48.794 10238-10329/com.example.agoraflutterquickstart E/ndk_translation: unknown MRC p15, 0, r0, CR9, CR14, {0} 2020-05-13 03:44:48.795 10238-10329/com.example.agoraflutterquickstart A/ndk_translation: MRC: ARM instruction 0xee190f1e at 0xc6d705e4 (/data/app/com.example.agoraflutterquickstart-Z_Hg5suX0vQ5mwEf_Uzi3A==/lib/arm/libagora-rtc-sdk-jni.so+0x3b05e4) --------- beginning of crash 2020-05-13 03:44:48.795 10238-10329/com.example.agoraflutterquickstart A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 10329 (VideoEncodeThre), pid 10238 (utterquickstart) 2020-05-13 03:44:48.907 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:48.925 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:48.929 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:48.929 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.048 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.048 10340-10340/? E/DEBUG: failed to readlink /proc/10329/fd/101: No such file or directory 2020-05-13 03:44:49.066 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.092 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 1 line 2020-05-13 03:44:49.092 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.093 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.093 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.128 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.146 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:49.146 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.147 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.147 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.194 1593-1664/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 21841144 , only wrote 21778560 2020-05-13 03:44:49.216 10340-10340/? I/crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone 2020-05-13 03:44:49.221 1720-1720/? I//system/bin/tombstoned: received crash request for pid 10329 2020-05-13 03:44:49.221 10340-10340/? I/crash_dump32: performing dump of process 10238 (target tid = 10329) 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: Build fingerprint: 'google/sdk_gphone_x86_arm/generic_x86_arm:9/PSR1.180720.117/5875966:user/release-keys' 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: Revision: '0' 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: ABI: 'x86' 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: pid: 10238, tid: 10329, name: VideoEncodeThre >>> com.example.agoraflutterquickstart <<< 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: Abort message: 'MRC: ARM instruction 0xee190f1e at 0xc6d705e4 (/data/app/com.example.agoraflutterquickstart-Z_Hg5suX0vQ5mwEf_Uzi3A==/lib/arm/libagora-rtc-sdk-jni.so+0x3b05e4)' 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: eax 00000000 ebx 000027fe ecx 00002859 edx 00000006 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: edi 000027fe esi c037be5c 2020-05-13 03:44:49.272 10340-10340/? A/DEBUG: ebp c037be28 esp c037bdb8 eip f1bf9b39 2020-05-13 03:44:49.304 10340-10340/? A/DEBUG: backtrace: 2020-05-13 03:44:49.304 10340-10340/? A/DEBUG: #00 pc 00000b39 [vdso:f1bf9000] (__kernel_vsyscall+9) 2020-05-13 03:44:49.304 10340-10340/? A/DEBUG: #01 pc 0001fdf8 /system/lib/libc.so (syscall+40) 2020-05-13 03:44:49.304 10340-10340/? A/DEBUG: #02 pc 00022ed3 /system/lib/libc.so (abort+115) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #03 pc 00006c84 /system/lib/liblog.so (__android_log_assert+292) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #04 pc 00087dbd /system/lib/libndk_translation.so (ndk_translation::(anonymous namespace)::FatalError(char const*, unsigned int)+157) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #05 pc 00087eaf /system/lib/libndk_translation.so (ndk_translation::MRC(ndk_translation::ProcessState*, ndk_translation::MRC_Args const&)+223) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #06 pc 0009940c /system/lib/libndk_translation.so (ndk_translation::InsnInterpreter::CallInterp(unsigned int, void const*, void const*)+44) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #07 pc 000a9413 /system/lib/libndk_translation.so (ndk_translation::SemanticsDecoder::MRC(ndk_translation::MRC_Args const&)+99) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #08 pc 000dc29b /system/lib/libndk_translation.so (ndk_translation::ArmDecoder::TranslateArmInsn(unsigned int const*)+10523) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #09 pc 0009ac70 /system/lib/libndk_translation.so (ndk_translation::(anonymous namespace)::DecodeInsn(unsigned int, ndk_translation::(anonymous namespace)::ArmInterpreter*, ndk_translation::ProcessState*, ndk_translation::ArmDecoder*)+96) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #10 pc 0009aec7 /system/lib/libndk_translation.so (ndk_translation::InterpretTrace(ndk_translation::ProcessState*)+327) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #11 pc 00089690 /system/lib/libndk_translation.so (ndk_translation_HandleNotTranslated+288) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #12 pc 000893f7 /system/lib/libndk_translation.so (ndk_translation::ExecuteGuest(ndk_translation::ProcessState*, unsigned int)+231) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #13 pc 00080fb4 /system/lib/libndk_translation.so (ndk_translation::RunGuestCall(unsigned int, int, int, unsigned int*)+372) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #14 pc 00081106 /system/lib/libndk_translation.so (ndk_translation::GuestCall::RunRes32(unsigned int)+38) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #15 pc 0008393f /system/lib/libndk_translation.so (ndk_translation::(anonymous namespace)::RunGuestThread(void*)+159) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #16 pc 0008f065 /system/lib/libc.so (__pthread_start(void*)+53) 2020-05-13 03:44:49.305 10340-10340/? A/DEBUG: #17 pc 0002485b /system/lib/libc.so (__start_thread+75) 2020-05-13 03:44:49.407 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.425 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:49.426 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.438 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.438 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.483 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.498 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:49.498 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.499 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.499 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.603 1853-1875/? I/system_server: Explicit concurrent copying GC freed 48218(2MB) AllocSpace objects, 23(796KB) LOS objects, 35% free, 10MB/16MB, paused 2.077ms total 671.345ms 2020-05-13 03:44:49.627 10238-10287/com.example.agoraflutterquickstart I/flutter: TOKEN - 006e45241655d91406791d5a0b4ebd0fc79IAC4XDpFslT8Z7YH5Mrvb1YXnOdFsxNFdcNtxCvPxCNrpvATF8UAAAAAEAAnbR/yKta7XgEAAQAq1rte 2020-05-13 03:44:49.629 10238-10287/com.example.agoraflutterquickstart I/flutter: CHANNEL_NAME - suresh 2020-05-13 03:44:49.692 1853-2098/? I/GnssLocationProvider: WakeLock acquired by sendMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@39857b0) 2020-05-13 03:44:49.698 1853-1866/? I/GnssLocationProvider: WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@39857b0) 2020-05-13 03:44:49.782 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.807 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:49.807 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.808 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.808 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.861 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.872 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.885 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.885 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.891 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.927 1701-1701/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 2 lines 2020-05-13 03:44:49.931 1701-1701/? D/EGL_emulation: eglMakeCurrent: 0xf4da0ae0: ver 3 0 (tinfo 0xf4d9c310) 2020-05-13 03:44:49.933 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.933 1701-1701/? E/HWComposer: getLayerReleaseFence failed for display -1: Invalid display 2020-05-13 03:44:49.958 1720-1720/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_09 2020-05-13 03:44:49.986 1853-10347/? W/ActivityManager: Force finishing activity com.example.agoraflutterquickstart/.MainActivity```
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@plutoless
Hi, I am trying to do a screen sharing functionality in my app by pulling the screen sharing module from https://github.com/AgoraIO/Advanced-Video/tree/dev/backup/Screensharing/Agora-Screen-Sharing-Android.
When I try to run this in my android emulator, The app keeps crashing. with error message:
2020-05-13 03:44:48.280 10238-10311/com.example.agoraflutterquickstart E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.put(java.lang.Object, java.lang.Object)' on a null object reference
Error logs: