Got a crash on com.zipow.videobox.SimpleInMeetingActivity

Description
I integrated the Zoom SDK and it works great most of the time. I just got 2 crashes in Crashlytics after releasing a version with the Zoom SDK to customers.
The crash log in crashlytics:
Fatal Exception: android.util.SuperNotCalledException: Activity {datosapp.datos_healthad.com.sheba/com.zipow.videobox.SimpleInMeetingActivity} did not call through to super.onCreate()
at android.app.ActivityThread.performLaunchActivity + 2621(ActivityThread.java:2621)
at android.app.ActivityThread.handleLaunchActivity + 2726(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage + 1477(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage + 102(Handler.java:102)
at android.os.Looper.loop + 154(Looper.java:154)
at android.app.ActivityThread.main + 6119(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run + 886(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main + 776(ZygoteInit.java:776)
at de.robv.android.xposed.XposedBridge.main + 107(XposedBridge.java:107)

Which version?
4.3.47200.0322

Smartphone (please complete the following information):

  • Device: Nexus 6
  • OS: Android 7.1.1

Hi idit,

Thanks for using Zoom SDK. Based on the error message, you will need to add the following in the 1st line of your onCreate method:

super.onCreate(savedInstanceState);

When the base class (In this case, onCreate) methods are overridden by the derived class, the base class methods need to be called explicitly to perform the expected operation.

By the way, we have introduced a new release for Android SDK last week, please have a try: https://github.com/zoom/zoom-sdk-android/releases/tag/v4.4.55130.0712

Hope this helps. Thanks!

Hi,

I call this code from my main activity onCreate after calling super.onCreate(savedInstanceState):
public void initialize(Activity activity, Bundle savedInstanceState) {
mActivity = activity;
ZoomSDK zoomSDK = ZoomSDK.getInstance();
mLog.debug(“ZoomUtils initialize”);

    if(savedInstanceState == null) {
        mLog.debug("ZoomUtils initialize SDK");
        zoomSDK.initialize(activity, SDK_KEY, SDK_SECRET, WEB_DOMAIN, this);
    }
}

Do you think that upgrading the SDK will help solve this problem?

Hi idit

SimpleInMeetingActivity is inmeeting ui .Make sure you had start/join meeting success before call SimpleInMeetingActivity .

What api you had call Before crash at SimpleInMeetingActivity ?

I don’t call SimpleInMeetingActivity explicitly. I don’t the exact scenario, since I got this crash from Crashlytics.
All I do with the SDK is initialise it and join a meeting. This is the code for joinMeeting:

    public void joinMeeting(String meetingNo, String displayName) {
        if(meetingNo.length() == 0) {
            mLog.debug("ZoomUtils joinMeeting no meeting ID");
            return;
        }

        ZoomSDK zoomSDK = ZoomSDK.getInstance();
        if(!zoomSDK.isInitialized()) {
            mLog.debug("ZoomUtils joinMeeting SDK not initialized");
            return;
        }

        MeetingService meetingService = zoomSDK.getMeetingService();
        JoinMeetingOptions opts = new JoinMeetingOptions();

        		opts.meeting_views_options = MeetingViewsOptions.NO_BUTTON_SHARE|MeetingViewsOptions.NO_BUTTON_MORE|MeetingViewsOptions.NO_BUTTON_PARTICIPANTS;

        JoinMeetingParams params = new JoinMeetingParams();

        params.displayName = displayName;
        params.meetingNo = meetingNo;

        int code = meetingService.joinMeetingWithParams(mActivity, params, opts);

        if (code != 0) {
            mLog.debug("ZoomUtils joinMeeting code " + code);
            Utils.showErrorDialog(mActivity, "Zoom", "Something went wrong, please try again later");
        }
    }

Hi idit,

Thanks for the information. We have found the root cause of this issue. This rarely happens, and this error appears if and only if your app tries to call the Webinar QA module before the webinar meeting successfully starts or when failed to start a webinar.

We will have the fix in the next release. Thanks!

Thank you very much!
Can I get some sort of notification when this is fixed?

Hey @idit.barash,

You can subscribe to our change log here to be notified :slight_smile:

Thanks!

I’ve subscribed. Thanks :slight_smile:

Great! You are welcome!