java.lang.RuntimeException: cannot find a ZPTipLayer width id: us.zoom.androidlib.R.id.tipLayer when running our build with dexguard

Description
I got the java.lang.RuntimeException: cannot find a ZPTipLayer width id: us.zoom.androidlib.R.id.tipLayer when running our build with dexguard.

Which version?
zoom-sdk-android-5.2.41727.0928

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Join the Meeting.
  2. Join with Video
  3. Enter into Waiting room
  4. Start to connect with the meeting after host admits the guest to join.
  5. Meeting is closed while connecting.
  6. After trying to join the meeting again, the message pops up from toast saying Zoom SDK is not initialized successfully. The log in the additional context.

Screenshots
Since it’s a mp4 video, I cannot added it here.

Smartphone (please complete the following information):

  • Device: Pixel 3
  • OS: Android
  • Version 29

Additional context
I added the following class configuration in our proguard rule.
-keep class us.zoom.{*;}
-keep class com.zipow.
{;}
-keep class us.zipow.**{
;}
-keep class org.webrtc.{*;}
-keep class us.google.protobuf.
{*;

After running the release build with dexguard, the build got passed on the ZoomSDK.getInstance().initialize(…). But when I joined the meeting and connected with it, the zoom meeting window was closed.I tried to join again, the message pops up from toast saying Zoom SDK is not initialized successfully.

From logcat:
2020-10-19 15:49:59.246 1426-1457/? W/ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{d0209d6 u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal t-1 f}
2020-10-19 16:09:59.664 1426-8498/? I/ActivityTaskManager: START u0 {act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=zoomus://zoom.us/join?confno=4365185651&uname=Zoom+Sample&show_water_mark=1&no_invite=1&no_meeting_end_message=1&no_dial_in_via_phone=1&no_dial_out_to_phone=1&no_share=1&meeting_views_options=0&invite_options=255&zc=0 flg=0x10000000 cmp=com.mindstrong/com.zipow.videobox.JoinByURLActivity} from uid 10857
2020-10-19 16:09:59.980 1426-8591/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.ConfActivity.action.JOIN_BY_URL cmp=com.mindstrong/com.zipow.videobox.ConfActivityNormal (has extras)} from uid 10857
2020-10-19 16:10:00.159 1426-2119/? W/ActivityTaskManager: Duplicate finish request for ActivityRecord{2b19dcc u0 com.mindstrong/com.zipow.videobox.JoinByURLActivity t7841 f}
2020-10-19 16:10:07.883 1426-8591/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.MeetingEndMessageActivity.action.ACTION_SHOW_LEAVING_MESSAGE flg=0x58800000 cmp=com.mindstrong/com.zipow.videobox.MeetingEndMessageActivity (has extras)} from uid 10857
2020-10-19 16:10:08.366 1426-1457/? W/ActivityTaskManager: Activity pause timeout for ActivityRecord{2275b3d u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal t7841 f}
2020-10-19 16:10:10.130 1426-1447/? I/ActivityTaskManager: START u0 {flg=0x10020000 cmp=com.mindstrong/com.zipow.videobox.ConfActivityNormal} from uid 10857
2020-10-19 16:10:10.242 1426-1447/? W/ActivityTaskManager: Duplicate finish request for ActivityRecord{c549016 u0 com.mindstrong/com.zipow.videobox.MeetingEndMessageActivity t7841 f}
2020-10-19 16:10:13.001 5918-5918/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.mindstrong, PID: 5918
java.lang.RuntimeException: cannot find a ZPTipLayer width id: us.zoom.androidlib.R.id.tipLayer
at us.zoom.androidlib.app.ZMTipFragment.performResume(:112)
at us.zoom.androidlib.app.ZMTipFragment.onResume(:101)
at com.zipow.videobox.view.d.onResume(:160)
at androidx.fragment.app.Fragment.performResume(:2649)
at o.setSupportButtonTintMode.write(:922)
at o.setSupportButtonTintMode.MediaBrowserCompat$ItemReceiver(:1238)
at o.setSupportButtonTintMode.read(:1303)
at o.getAutoSizeTextAvailableSizes.read(:439)
at o.setSupportButtonTintMode.MediaBrowserCompat$CustomActionResultReceiver(:2079)
at o.setSupportButtonTintMode.write(:1869)
at o.setSupportButtonTintMode.IconCompatParcelizer(:1824)
at o.setSupportButtonTintMode.RatingCompat(:1727)
at o.setSupportButtonTintMode$5.run(:150)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
2020-10-19 16:10:13.157 1426-2119/? W/ActivityTaskManager: Force finishing activity com.mindstrong/com.zipow.videobox.ConfActivityNormal
2020-10-19 16:10:13.222 1426-1799/? W/InputDispatcher: channel ‘ec4c6e6 com.mindstrong/com.zipow.videobox.ConfActivityNormal (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
2020-10-19 16:10:13.222 1426-1799/? E/InputDispatcher: channel ‘ec4c6e6 com.mindstrong/com.zipow.videobox.ConfActivityNormal (server)’ ~ Channel is unrecoverably broken and will be disposed!
2020-10-19 16:10:13.268 1426-8499/? I/WindowManager: WIN DEATH: Window{ec4c6e6 u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal}
2020-10-19 16:10:13.268 1426-8499/? W/InputDispatcher: Attempted to unregister already unregistered input channel ‘ec4c6e6 com.mindstrong/com.zipow.videobox.ConfActivityNormal (server)’
2020-10-19 16:10:13.303 670-697/? E/BufferQueueProducer: [SurfaceView - com.mindstrong/com.zipow.videobox.ConfActivityNormal#0] cancelBuffer: BufferQueue has been abandoned
2020-10-19 16:10:13.316 670-697/? E/BufferQueueProducer: [SurfaceView - com.mindstrong/com.zipow.videobox.ConfActivityNormal#0] dequeueBuffer: BufferQueue has been abandoned
2020-10-19 16:10:13.337 670-697/? E/BufferQueueProducer: [SurfaceView - com.mindstrong/com.zipow.videobox.ConfActivityNormal#0] cancelBuffer: BufferQueue has been abandoned
2020-10-19 16:10:13.668 1426-1457/? W/ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{f05475e u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal t-1 f}

Hi @richard.shea, thanks for using the devforum.

Sorry to hear you’re running into this issue. Can you please provide some code snippets showing how you are using the SDK to join the meeting and confirm that you have both the mobilertc and commonlib modules imported into your project?

Additionally, since DexGuard is a paid product that we do not have access to, the level of support we can offer in resolving this will be limited. If possible, reproducing the behavior you are seeing through proguard would be extremely helpful in enabling us to investigate on our end.

Thanks!

Hi @jon.lieblich, thanks for your quick response.

I have confirmed that we use the mobilertc and commonlib modules from zoom-sdk-android-5.2.41727.0928. The Zoom SDK is initialized successfully and I can join the meeting in the debugging build but not in the release build, Here is code snippet.

BTW, I have another two questions:
1). how can I get the overlay feature from your zoom sdk customized ui. Is this provided in the meeting options?
2). how can I remove the “dial in” option from meeting options.

Here is the code I do Zoom SDK initialization:

private void initZoomSDK(Context appContext) {
    ZoomSDK sdk = ZoomSDK.getInstance();

    ZoomSDKInitParams params = new ZoomSDKInitParams();
    params.jwtToken = JobManager.apiKeys.zoomJWTToken();  //Retrieve your SDK key and enter it here
    params.domain = "zoom.us";
    params.enableLog = true;
    params.enableGenerateDump =true;
    params.logSize = 50;
    params.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;

    // TODO: Add functionality to this listener (e.g. logs for debugging)
    ZoomSDKInitializeListener listener = new ZoomSDKInitializeListener() {
        /**
         * @param errorCode {@link us.zoom.sdk.ZoomError#ZOOM_ERROR_SUCCESS} if the SDK has been initialized successfully.
         */
        @Override
        public void onZoomSDKInitializeResult(int errorCode, int internalErrorCode) {
            Log.i(TAG, "onZoomSDKInitializeResult, errorCode=" + errorCode + ", internalErrorCode=" + internalErrorCode);
            if (errorCode != ZoomError.ZOOM_ERROR_SUCCESS) {
                Toast.makeText(ContextHelper.getAppContext(), "Failed to initialize Zoom SDK. Error: " + errorCode + ", internalErrorCode=" + internalErrorCode, Toast.LENGTH_LONG).show();
            } else {
                Toast.makeText(ContextHelper.getAppContext(), "Initialize Zoom SDK successfully.", Toast.LENGTH_LONG).show();
            }
        }

        @Override
        public void onZoomAuthIdentityExpired() {

        }
    };
    sdk.initialize(this, listener, params);
}

//**********************************************************************************
Here is the code to start join a meeting:

private void joinZoomMeeting() {
    ZoomSDK zoomSDK = ZoomSDK.getInstance();

    if(!zoomSDK.isInitialized()) {
        Toast.makeText(this, "ZoomSDK has not been initialized successfully", Toast.LENGTH_LONG).show();
        //InitAuthSDKHelper.getInstance().initSDK(this, this);
        return;
    }

    ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(false);

// if (ZoomSDK.getInstance().getMeetingSettingsHelper().isCustomizedMeetingUIEnabled()) {
// ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(false);
// } else {
// ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(true);
// }

    JoinMeetingParams params = new JoinMeetingParams();
    params.meetingNo = "4365185651";
    params.displayName = "Zoom Sample";
    JoinMeetingOptions options=new JoinMeetingOptions();
    ZoomSDK.getInstance().getMeetingService().joinMeetingWithParams(this, params, ZoomMeetingUISettingHelper.getJoinMeetingOptions());
}

//**********************************************************************************
Here is the meeting options I set for our app user:

public static JoinMeetingOptions getJoinMeetingOptions() {
    JoinMeetingOptions opts = new JoinMeetingOptions();
    fillMeetingOption(opts);
    opts.no_audio = meetingOptions.no_audio;
    return opts;
}

private static MeetingOptions fillMeetingOption(MeetingOptions opts)
{
    opts.no_driving_mode = meetingOptions.no_driving_mode;
    opts.no_invite = true; //meetingOptions.no_invite;
    opts.no_meeting_end_message = true; //meetingOptions.no_meeting_end_message;
    opts.no_titlebar = meetingOptions.no_titlebar;
    opts.no_bottom_toolbar = meetingOptions.no_bottom_toolbar;
    opts.no_dial_in_via_phone = true; //meetingOptions.no_dial_in_via_phone;
    opts.no_dial_out_to_phone = true; //meetingOptions.no_dial_out_to_phone;
    opts.no_disconnect_audio = meetingOptions.no_disconnect_audio;
    opts.no_share = true; //meetingOptions.no_share;
    opts.invite_options = meetingOptions.invite_options;
    opts.no_video = meetingOptions.no_video;
    opts.meeting_views_options = meetingOptions.meeting_views_options;
    opts.no_meeting_error_message = meetingOptions.no_meeting_error_message;
    opts.participant_id = meetingOptions.participant_id;
    return opts;
}

Thanks
Richard

Hi @richard.shea, thanks for providing the additional info.

Looking at the code, it seems like there shouldn’t be any issues with that piece of your implementation. If this issue persists and is not reproducible while using proguard, I would strongly encourage you to contact dexguard’s support.

how can I get the overlay feature from your zoom sdk customized ui. Is this provided in the meeting options?

This is actually not part of the SDK’s functionality and is implemented in the sample app to exemplify what is possible with the customized UI. If you would like to implement this in your own UI, looking at the sample app’s implementation would be a good place to start. Unfortunately this is outside of the scope of the SDK, so we would not be able to assist with/support your implementation of this.

how can I remove the “dial in” option from meeting options.

This is actually already being disabled in your code by the looks of it. opts.no_dial_in_via_phone = true; is the line in which you are disabling this. Please note that if you choose to implement a customized UI, the meeting options will not have any effect as you are solely responsible for maintaining the customized UI.

Thanks!

Hi @jon.lieblich

Thanks for your reply.

Since the Overlay does not come free from Zoom SDK on Android, I need to create our own custom UI. Here is another problem from sample app (not sample2). I can see shrink icon from top option bar. After tapping it, I could see the zoom meeting window overlaying on the top of the main activity. When I tapped the zoom meeting window again to resume the zoom meeting for full screen, the sample app is crashed. Is this a bug from sample app or SDK itself? Here is the crash log:

2020-10-21 16:56:36.128 1426-8159/? I/ActivityTaskManager: START u0 {act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=zoomus://zoom.us/join?confno=4365185651&uname=Zoom+Sample&show_water_mark=1&meeting_views_options=0&invite_options=255&zc=0 flg=0x10000000 cmp=us.zoom.sdkexample/com.zipow.videobox.JoinByURLActivity} from uid 10858
2020-10-21 16:56:36.451 1426-8156/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.ConfActivity.action.JOIN_BY_URL cmp=us.zoom.sdkexample/us.zoom.sdksample.inmeetingfunction.zoommeetingui.CustomZoomUIActivity (has extras)} from uid 10858
2020-10-21 16:56:36.786 1426-8156/? W/ActivityTaskManager: Duplicate finish request for ActivityRecord{4fd99a5 u0 us.zoom.sdkexample/com.zipow.videobox.JoinByURLActivity t7892 f}
2020-10-21 16:56:52.748 1426-8786/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.MeetingEndMessageActivity.action.ACTION_SHOW_LEAVING_MESSAGE flg=0x58800000 cmp=us.zoom.sdkexample/com.zipow.videobox.MeetingEndMessageActivity (has extras)} from uid 10858
2020-10-21 16:57:15.673 1426-8159/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.MeetingEndMessageActivity.action.ACTION_SHOW_LEAVING_MESSAGE flg=0x58800000 cmp=us.zoom.sdkexample/com.zipow.videobox.MeetingEndMessageActivity (has extras)} from uid 10858
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java_vm_ext.cc:570] at void com.zipow.videobox.confapp.SdkConfUIBridge.onConfSilentModeChangedNotification(boolean, java.util.List, boolean) (SdkConfUIBridge.java:440)
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java_vm_ext.cc:570] at void com.zipow.videobox.ptapp.SdkConfInjectorMgr.onConfSilentModeChangedNotification(boolean, java.util.List, boolean) (SdkConfInjectorMgr.java:64)
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java_vm_ext.cc:570] at void com.zipow.cmmlib.CmmTimer.callNativeTimerProc(long, com.zipow.cmmlib.CmmTimer) (CmmTimer.java:-2)
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java_vm_ext.cc:570] at void com.zipow.cmmlib.CmmTimer.access$100(com.zipow.cmmlib.CmmTimer, long, com.zipow.cmmlib.CmmTimer) (CmmTimer.java:18)
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java_vm_ext.cc:570] at void com.zipow.cmmlib.CmmTimer$1.run() (CmmTimer.java:33)
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java_vm_ext.cc:570] from void com.zipow.cmmlib.CmmTimer.callNativeTimerProc(long, com.zipow.cmmlib.CmmTimer)
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] native: #33 pc 0000000000028c30 /data/app/us.zoom.sdkexample-MzrAGRzdm5-jSaUwodOgmA==/lib/arm64/libcmmlib.so (Java_com_zipow_cmmlib_CmmTimer_callNativeTimerProc+36)
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] at com.zipow.cmmlib.CmmTimer.callNativeTimerProc(Native method)
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] at com.zipow.cmmlib.CmmTimer.access$100(CmmTimer.java:18)
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] at com.zipow.cmmlib.CmmTimer$1.run(CmmTimer.java:33)
2020-10-21 17:05:08.949 1426-1447/? W/ActivityManager: Scheduling restart of crashed service us.zoom.sdkexample/com.zipow.videobox.share.ScreenShareServiceForSDK in 1000ms
2020-10-21 17:05:09.977 1426-1464/? I/ActivityManager: Start proc 2250:us.zoom.sdkexample/u0a858 for service {us.zoom.sdkexample/com.zipow.videobox.share.ScreenShareServiceForSDK}

Thanks

Hi @richard.shea,

I have not been able to reproduce the crash you are describing. The steps I took to reproduce are as follows:

  • Join a meeting with custom UI enabled
  • Press minimize button
  • After meeting UI is minimized, return to the full meeting UI (I did this both by tapping the minimized UI and by using the return to meeting button)

Thanks!

Hi @jon.lieblich,

I don’t know why I still can reproduce it using the same steps you provided. Here is the log. It seems like it could not find the child to add the layout:
2020-10-22 15:36:49.059 27791-27791/us.zoom.sdkexample E/AndroidRuntime: FATAL EXCEPTION: main
Process: us.zoom.sdkexample, PID: 27791
java.lang.RuntimeException: Unable to resume activity {us.zoom.sdkexample/us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity}: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4205)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup
at android.view.ViewGroup.addView(ViewGroup.java:4910)
at android.view.ViewGroup.addView(ViewGroup.java:4892)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.view.VideoListLayout.setVisibility(VideoListLayout.java:75)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.showVideoListLayout(MyMeetingActivity.java:545)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.addNewLayout(MyMeetingActivity.java:492)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.checkShowVideoLayout(MyMeetingActivity.java:390)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.onResume(MyMeetingActivity.java:635)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1453)
at android.app.Activity.performResume(Activity.java:7962)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4195)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
2020-10-22 15:36:49.080 27791-27791/us.zoom.sdkexample W/Settings: Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.

Thanks!

Hi @jon.lieblich,

It was nice to talk to you. After the meeting, I still can reproduce the issue of not being able to return to the zoom meeting screen after tap the “Return Meeting” button. I have shot a mp4 video. Since I don’t know your email address, I will send it to Anthony.

Thanks
Richard

Here is the crash log with more details:
2020-10-26 16:55:07.060 8177-8177/us.zoom.sdkexample I/zoom.sdkexampl: Late-enabling -Xcheck:jni
2020-10-26 16:55:07.075 8177-8177/us.zoom.sdkexample E/zoom.sdkexampl: Unknown bits set in runtime_flags: 0x8000
2020-10-26 16:55:07.390 8177-8177/us.zoom.sdkexample I/MultiDex: VM with version 2.1.0 has multidex support
2020-10-26 16:55:07.390 8177-8177/us.zoom.sdkexample I/MultiDex: Installing application
2020-10-26 16:55:07.390 8177-8177/us.zoom.sdkexample I/MultiDex: VM has multidex support, MultiDex support library is disabled.
2020-10-26 16:55:07.577 8177-8177/us.zoom.sdkexample D/[BreakpadHandler::BreakpadHandler]: initialized BreakpadHandler
2020-10-26 16:55:07.577 8177-8177/us.zoom.sdkexample I/Mainboard: installNativeCrashHandler, res=0
2020-10-26 16:55:07.640 8177-8196/us.zoom.sdkexample D/BluetoothHeadset: Proxy object connected
2020-10-26 16:55:07.763 8177-8177/us.zoom.sdkexample W/Settings: Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
2020-10-26 16:55:07.775 8177-8177/us.zoom.sdkexample I/ZoomSDK: setDomain, set Zoom domain as zoom.us
2020-10-26 16:55:07.811 8177-8199/us.zoom.sdkexample I/AdrenoGLES: QUALCOMM build : ba734b1, I0a3e8c4129
Build Date : 11/08/19
OpenGL ES Shader Compiler Version: EV031.27.05.02
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.8.9.C1.08.00.00.516.287
Remote Branch : NONE
Reconstruct Branch : NOTHING
2020-10-26 16:55:07.811 8177-8199/us.zoom.sdkexample I/AdrenoGLES: Build Config : S P 8.0.11 AArch64
2020-10-26 16:55:07.814 8177-8199/us.zoom.sdkexample I/AdrenoGLES: PFP: 0x016ee183, ME: 0x00000000
2020-10-26 16:55:07.839 8177-8199/us.zoom.sdkexample W/Gralloc3: mapper 3.x is not supported
2020-10-26 16:55:07.836 8177-8177/us.zoom.sdkexample W/RenderThread: type=1400 audit(0.0:1115257): avc: denied { read } for name=“u:object_r:vendor_default_prop:s0” dev=“tmpfs” ino=20176 scontext=u:r:untrusted_app:s0:c90,c259,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
2020-10-26 16:55:07.841 8177-8199/us.zoom.sdkexample E/libc: Access denied finding property “vendor.gralloc.disable_ahardware_buffer”
2020-10-26 16:55:08.458 8177-8177/us.zoom.sdkexample I/InitAuthSDKHelper: onZoomSDKInitializeResult, errorCode=0, internalErrorCode=0
2020-10-26 16:55:08.458 8177-8177/us.zoom.sdkexample I/ZoomSDKExample: onZoomSDKInitializeResult, errorCode=0, internalErrorCode=0
2020-10-26 16:55:10.075 8177-8177/us.zoom.sdkexample I/MeetingService: joinMeetingWithParams: sUri=zoomus://zoom.us/join?confno=4365185651&uname=Zoom+Sample&show_water_mark=1&meeting_views_options=0&invite_options=255&zc=0
2020-10-26 16:55:10.079 8177-8177/us.zoom.sdkexample W/Settings: Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
2020-10-26 16:55:10.413 8177-8177/us.zoom.sdkexample W/Settings: Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
2020-10-26 16:55:10.846 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING_STATUS_CONNECTING:0
2020-10-26 16:55:10.860 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@b88f47b
2020-10-26 16:55:11.086 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =118355621
2020-10-26 16:55:11.089 8177-8291/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =118355621, width=1080, height=2028
2020-10-26 16:55:11.089 8177-8291/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =118355621, width=1080, height=2028
2020-10-26 16:55:11.103 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 118355621, width=1080, height=2028
2020-10-26 16:55:11.109 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 118355621
2020-10-26 16:55:11.456 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 118355621, width=1080, height=2028
2020-10-26 16:55:11.456 8177-8197/us.zoom.sdkexample W/Gralloc3: allocator 3.x is not supported
2020-10-26 16:55:12.370 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control
2020-10-26 16:55:12.371 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
2020-10-26 16:55:12.443 8177-8177/us.zoom.sdkexample W/zoom.sdkexample: type=1400 audit(0.0:1115273): avc: denied { ioctl } for path=“socket:[13786837]” dev=“sockfs” ino=13786837 ioctlcmd=0x8927 scontext=u:r:untrusted_app:s0:c90,c259,c512,c768 tcontext=u:r:untrusted_app:s0:c90,c259,c512,c768 tclass=udp_socket permissive=0
2020-10-26 16:55:12.459 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control
2020-10-26 16:55:12.459 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
2020-10-26 16:55:15.457 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 118355621
2020-10-26 16:55:15.509 8177-8177/us.zoom.sdkexample D/AudioTrack: stop(622): called with 136800 frames delivered
2020-10-26 16:55:16.150 8177-8177/us.zoom.sdkexample I/Choreographer: Skipped 41 frames! The application may be doing too much work on its main thread.
2020-10-26 16:55:16.167 8177-8199/us.zoom.sdkexample I/OpenGLRenderer: Davey! duration=715ms; Flags=1, IntendedVsync=783619691391275, Vsync=783620374724581, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=783620390862790, AnimationStart=783620390910602, PerformTraversalsStart=783620390914300, DrawStart=783620404661125, SyncQueued=783620405258885, SyncStart=783620405658833, IssueDrawCommandsStart=783620405740708, SwapBuffers=783620406468052, FrameCompleted=783620407058156, DequeueBufferDuration=170000, QueueBufferDuration=217000,
2020-10-26 16:55:16.193 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@a3841ea
2020-10-26 16:55:16.672 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =118355621
2020-10-26 16:55:16.672 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 118355621
2020-10-26 16:55:17.073 8177-8177/us.zoom.sdkexample W/Settings: Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
2020-10-26 16:55:17.105 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING_STATUS_IDLE:0
2020-10-26 16:55:17.549 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING_STATUS_CONNECTING:0
2020-10-26 16:55:17.560 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@62ca9b5
2020-10-26 16:55:17.664 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =239591851
2020-10-26 16:55:17.667 8177-8483/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =239591851, width=1080, height=2028
2020-10-26 16:55:17.667 8177-8483/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =239591851, width=1080, height=2028
2020-10-26 16:55:17.686 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 239591851, width=1080, height=2028
2020-10-26 16:55:17.687 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 239591851
2020-10-26 16:55:18.019 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 239591851, width=1080, height=2028
2020-10-26 16:55:18.048 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control
2020-10-26 16:55:18.048 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
2020-10-26 16:55:18.899 8177-8177/us.zoom.sdkexample I/Choreographer: Skipped 52 frames! The application may be doing too much work on its main thread.
2020-10-26 16:55:18.934 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =251499381
2020-10-26 16:55:18.936 8177-8588/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =251499381, width=254, height=254
2020-10-26 16:55:18.936 8177-8588/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =251499381, width=254, height=254
2020-10-26 16:55:18.937 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =146298264
2020-10-26 16:55:18.938 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =191646807
2020-10-26 16:55:18.941 8177-8590/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =146298264, width=254, height=254
2020-10-26 16:55:18.941 8177-8590/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =146298264, width=254, height=254
2020-10-26 16:55:18.941 8177-8594/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =191646807, width=254, height=254
2020-10-26 16:55:18.942 8177-8594/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =191646807, width=254, height=254
2020-10-26 16:55:18.945 8177-8199/us.zoom.sdkexample I/OpenGLRenderer: Davey! duration=923ms; Flags=1, IntendedVsync=783622260875764, Vsync=783623127542396, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=783623139947751, AnimationStart=783623140045668, PerformTraversalsStart=783623140352282, DrawStart=783623181638589, SyncQueued=783623182947287, SyncStart=783623183152808, IssueDrawCommandsStart=783623183311766, SwapBuffers=783623184470829, FrameCompleted=783623184971349, DequeueBufferDuration=307000, QueueBufferDuration=85000,
2020-10-26 16:55:19.002 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control
2020-10-26 16:55:19.003 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
2020-10-26 16:55:19.197 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240
2020-10-26 16:55:19.197 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240
2020-10-26 16:55:19.208 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 251499381, width=254, height=254
2020-10-26 16:55:19.208 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 251499381
2020-10-26 16:55:19.217 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 251499381, width=254, height=254
2020-10-26 16:55:19.218 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 146298264, width=254, height=254
2020-10-26 16:55:19.218 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 146298264
2020-10-26 16:55:19.227 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 146298264, width=254, height=254
2020-10-26 16:55:19.228 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 191646807, width=254, height=254
2020-10-26 16:55:19.228 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 191646807
2020-10-26 16:55:19.235 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 191646807, width=254, height=254
2020-10-26 16:55:19.243 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240
2020-10-26 16:55:19.243 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240
2020-10-26 16:55:19.254 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING_STATUS_INMEETING:0
2020-10-26 16:55:24.025 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@a3841ea
2020-10-26 16:55:24.109 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =11473723
2020-10-26 16:55:24.112 8177-8747/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =11473723, width=330, height=495
2020-10-26 16:55:24.112 8177-8747/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =11473723, width=330, height=495
2020-10-26 16:55:24.158 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 11473723, width=330, height=495
2020-10-26 16:55:24.159 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 11473723
2020-10-26 16:55:24.169 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 11473723, width=330, height=495
2020-10-26 16:55:24.260 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =191646807
2020-10-26 16:55:24.261 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 191646807
2020-10-26 16:55:24.263 8177-8594/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
2020-10-26 16:55:24.267 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =146298264
2020-10-26 16:55:24.270 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 146298264
2020-10-26 16:55:24.272 8177-8590/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
2020-10-26 16:55:24.277 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =251499381
2020-10-26 16:55:24.278 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 251499381
2020-10-26 16:55:24.280 8177-8588/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
2020-10-26 16:55:24.556 8177-8177/? I/MobileRTCVideoView: surfaceDestroyed group index =239591851
2020-10-26 16:55:24.556 8177-8177/? I/MobileRTCVideoView: onDestroy: group index = 239591851
2020-10-26 16:55:24.577 8177-8483/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
2020-10-26 16:55:27.305 8177-8177/? I/MobileRTCVideoView: surfaceDestroyed group index =11473723
2020-10-26 16:55:27.306 8177-8177/? I/MobileRTCVideoView: onDestroy: group index = 11473723
2020-10-26 16:55:27.316 8177-8177/? W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@62ca9b5
2020-10-26 16:55:27.454 8177-8177/? D/AndroidRuntime: Shutting down VM
2020-10-26 16:55:27.455 8177-8177/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: us.zoom.sdkexample, PID: 8177
java.lang.RuntimeException: Unable to resume activity {us.zoom.sdkexample/us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity}: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4205)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup
at android.view.ViewGroup.addView(ViewGroup.java:4910)
at android.view.ViewGroup.addView(ViewGroup.java:4892)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.view.VideoListLayout.setVisibility(VideoListLayout.java:75)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.showVideoListLayout(MyMeetingActivity.java:545)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.addNewLayout(MyMeetingActivity.java:492)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.checkShowVideoLayout(MyMeetingActivity.java:390)
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.onResume(MyMeetingActivity.java:635)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1453)
at android.app.Activity.performResume(Activity.java:7962)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4195)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
2020-10-26 16:55:27.490 8177-8177/? W/Settings: Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.

Hi @richard.shea, thank you for the additional info.

After following the steps in your video, I was still not able to reproduce this. Regardless, I will forward this to our engineering team, since this seems like something that shouldn’t be too difficult to track down the cause of based on the logs.

Thanks!

Hi @jon.lieblich,

Did you receive the email I sent with video?

Thanks

Hi @richard.shea,

Yes I did receive the video explaining how you’re reproducing this issue. The engineering team has access to that video as well as the logs you provided. I’ll be sure to update you as soon as there is more information available. :slightly_smiling_face:

Thanks!

Hi @jon.lieblich

Thank you so much! :+1:

Hi @richard.shea, hope all is well.

We have released a new version of the Android SDK today. Can you please check if this issue is still reproducible on the latest version and let me know?

Thanks!

Great News! I will try it right away. Thanks for letting me know. Will keep you posted.

:+1:

Regards
Richard