# Crash after upgrading to 6.1.1

**URL:** <https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587>\
**Category:** Android\
**Created:** [July 29, 2024, 5:15pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587 "2024-07-29T17:15:22Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [July 29, 2024, 5:15pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/1 "2024-07-29T17:15:22Z")

</div>

**Description**  
After upgrading the meeting sdk to version 6.1.1 our users began experiencing a crash (stacktrace below)

```auto
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'com.zipow.videobox.denpendent.ZmBizDependentProvider com.zipow.videobox.VideoBoxApplication.getBizDependentProvider()' on a null object reference
       at com.zipow.videobox.mainboard.ZmMainBoardMgr.getMainboard(ZmMainBoardMgr.java:2)
       at us.zoom.proguard.yh4.a(ZmMeetingUIHelper.java:149)
       at com.zipow.videobox.conference.ui.ZmConfActivity.onCreate(ZmConfActivity.java:9)
       at com.whova.bulletin_board.activities.ZoomMeetingActivity.onCreate(ZoomMeetingActivity.java:381)
       at android.app.Activity.performCreate(Activity.java:8051)
       at android.app.Activity.performCreate(Activity.java:8031)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1330)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3609)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3793)
       at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2211)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7879)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1009)

```

**Which Android Meeting SDK version?**  
6.1.1

**To Reproduce**  
Not sure exactly but from the crash logs it appears to happen when the user brings the app to the foreground when they are in a zoom meeting.

**Smartphone (please complete the following information):**  
So far:

- Pixel6
- Galaxy S22+
- Orbic joy 4g

Thanks for any help you can provide!

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [July 29, 2024, 11:21pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/2 "2024-07-29T23:21:44Z")

</div>

@chunsiong.zoom tagging to see if this could be looked into. Thanks!

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [August 5, 2024, 11:19pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/3 "2024-08-05T23:19:09Z")

</div>

@chunsiong.zoom following up on this one to see if there’s any more information we can provide that would be of use. The crash has occurred 34 times for our users since we upgraded to version 6.1.1, 1.5 weeks ago. Thanks

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [August 13, 2024, 4:03pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/4 "2024-08-13T16:03:51Z")

</div>

Following up on this one to see if there’s any update on this crash. Thanks!

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [August 13, 2024, 7:01pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/5 "2024-08-13T19:01:47Z")

</div>

Hi @dan1994 ,

Thanks for posting on our dev forum.  
The crash here seems to be not initializing the SDK before joining a meeting. Would you please try to add a check to make sure the meeting can be started/joined only when the SDK is initialized?  
Thank you.

Elaine

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [August 26, 2024, 2:29pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/6 "2024-08-26T14:29:25Z")

</div>

@elaine.ku Thanks for the reply. We only join the meeting in the `onZoomSDKInitializeResult` callback of `ZoomSDKInitializeListener`. We first check that the initialization was successful and then proceed to join the meeting if it was. We have been using the SDK for a long time in our app and just started seeing the crash after upgrading to version 6.1.1. Could there be some other issue leading to this crash?

Thanks a lot for your help

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [August 26, 2024, 2:32pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/7 "2024-08-26T14:32:59Z")

</div>

@elaine.ku would just like to note that we upgraded to version 6.1.1 from version 5.17.6. The changelog for 5.17.10 mentions some changes to the initialization logic. Is it possible that could be related?

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [August 27, 2024, 1:53pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/8 "2024-08-27T13:53:37Z")

</div>

@elaine.ku I would also like to add that from the crashlytics logs, we can see that the crash almost always happens within the first second of the user’s app session. Suggesting it potentially happens when they bring the app from background to foreground when they’re in a zoom meeting. We have not been able to reproduce it however.

Thanks

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [August 29, 2024, 9:40pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/9 "2024-08-29T21:40:43Z")

</div>

Hi @dan1994

In the crash dump, the null pointer happens because the instance `VideoBoxApplication` is null. In our SDK, we’ll create `VideoBoxApplication` during SDK initialization. Please send me the SDK log file for the crash through message if possible. Thank you.

> **[Procedure to collect logs from Zoom Meeting SDK apps](https://developers.zoom.us/blog/msdk-log-retrieval-instructions/#android)**
>
> This article explains the procedure to collect SDK logs from any platform

Elaine

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [August 30, 2024, 10:37pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/10 "2024-08-30T22:37:27Z")

</div>

Thanks @elaine.ku. Thus far we have been unable to reproduce it on our own devices after many hours of trying so we cannot provide the sdk logs. From our crashlytics logs we can see that it has happened to 237 of our users this week so it’s a bit of an urgent matter for us. Do you have any suggestions for how we might be able to reproduce it so that we can get the sdk logs?

Thanks a lot for all of the help.

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [September 9, 2024, 3:31pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/11 "2024-09-09T15:31:48Z")

</div>

@elaine.ku Hi Elaine, just following up on this one to see if there’s any advice you might have regarding how we could reproduce the crash to get the sdk logs. Thanks a lot!

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [September 10, 2024, 12:27am UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/12 "2024-09-10T00:27:39Z")

</div>

Hi @dan1994 ,

I’m not quite sure how to reproduce the crash since this is the first time I’ve seen this type of crash. Have you tried to make the App stay in the background for a while causing the JWT token to expire? Please check the token’s “tokenExp” to see when the token will expire. You’ll need to re-initialize the SDK when the token is expired.  
Thank you.

Elaine

---

<div class="post-metadata">

**Author:** ![fjwoxa05](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fjwoxa05/32/57859_2.png) [@fjwoxa05](https://devforum.zoom.us/u/fjwoxa05)\
**Post date:** [September 10, 2024, 3:00pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/13 "2024-09-10T15:00:19Z")

</div>

> [@dan1994](#):
>
> following up on this one to see if there’s any more information we can provide that would be of use. The crash has occurred 34 times for our users since we upgraded to version 6.1.1, 1.5 weeks ago. Thanks

circling back to this one to check whether there’s any more data we can give that would be useful. The accident has happened multiple times for our clients since we moved up to form 6.1.1, 1.5 weeks prior. Much appreciated

---

<div class="post-metadata">

**Author:** ![s.sato](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@s.sato](https://devforum.zoom.us/u/s.sato)\
**Post date:** [September 20, 2024, 2:30pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/14 "2024-09-20T14:30:14Z")

</div>

I also encountered the same problem. Meeting SDK version is 6.2.0.24434.  
The following is a decompiled version of the crashed code in AndroidStudio.

```auto
    @Nullable
    public static synchronized Mainboard getMainboard() {
        if (!isInitialized) {
            ym3.a.a(VideoBoxApplication.getNonNullSelfInstance().getBizDependentProvider().e());
            isInitialized = true;
        }

        if (VideoBoxApplication.getNonNullSelfInstance() == null) {
            return null;
        } else {
            if (instanceSDKMainboard == null) {
                instanceSDKMainboard = new Mainboard(ZmMainboardType.zSdkApp);
            }

            return instanceSDKMainboard;
        }
    }

```

It appears that the null check on the return value of VideoBoxApplication.getNonNullSelfInstance() is done in the middle of the method. However, the result of getNonNullSelfInstance() is used before that, so the null check is no longer in effect.

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [September 23, 2024, 4:00pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/15 "2024-09-23T16:00:08Z")

</div>

Hi @elaine.ku ,

We’ve still been unable to reproduce the issue on our own devices so we can’t send the sdk logs. Is the information posted above by @s.sato enough for the team to fix it?

Thanks a lot for your help.

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [September 27, 2024, 12:57am UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/16 "2024-09-27T00:57:15Z")

</div>

Hi @dan1994 ,

We’ll add a null check protection to avoid crashes in our 6.2.5 release, even though this might not be the root cause of the issue.  
Thank you

Elaine

---

<div class="post-metadata">

**Author:** ![dan1994](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dan1994/32/55368_2.png) [@dan1994](https://devforum.zoom.us/u/dan1994)\
**Post date:** [September 30, 2024, 5:19pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/17 "2024-09-30T17:19:16Z")

</div>

Thanks @elaine.ku . We were actually able to reproduce the crash finally. You mentioned that I should send you the sdk log file through message, but I can’t figure out how to send private messages on the forum. Could you provide instructions? Thanks a lot.

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [October 4, 2024, 9:25pm UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/18 "2024-10-04T21:25:52Z")

</div>

@dan1994 If you’re able to share the google drive links with me, it will be helpful. Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 4, 2024, 7:26am UTC](https://devforum.zoom.us/t/crash-after-upgrading-to-6-1-1/114587/19 "2024-11-04T07:26:43Z")

</div>

Closed on November 4, 2024, 7:26am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
