# Crash in Webinar QA when attendee tries to ask a question

**URL:** <https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583>\
**Category:** Android\
**Created:** [May 19, 2021, 12:21pm UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583 "2021-05-19T12:21:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![viktor.k](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viktor.k/32/27238_2.png) [@viktor.k](https://devforum.zoom.us/u/viktor.k)\
**Post date:** [May 19, 2021, 12:21pm UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/1 "2021-05-19T12:21:41Z")

</div>

**Description**  
When an attendee tries to ask a question in Q&A using “Ask a Question”, the app crashes with the following stack trace:

```auto
    java.lang.NullPointerException: addConfUICommand
        at com.zipow.videobox.utils.meeting.c.a(ZmContextSessionUtils.java:149)
        at com.zipow.videobox.utils.meeting.c.a(ZmContextSessionUtils.java:135)
        at com.zipow.videobox.fragment.meeting.qa.a.b.onResume(ZMQAAskDialog.java:193)
        at androidx.fragment.app.Fragment.performResume(Fragment.java:2649)
        at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:922)
        at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
        at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
        at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439)
        at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079)
        at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869)
        at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824)
        at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
        at androidx.fragment.app.FragmentManagerImpl$2.run(FragmentManagerImpl.java:150)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

```

**Which Android Client SDK version?**  
v5.5.1.1319

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

1. Connect to a webinar using Zoom SDK as an attendee
2. Open QA using `InMessageService.showZoomQAUI`
3. “Welcome to Q&A” placeholder is shown. Tap “Ask a Question”.
4. See error

**Screenshots**

 ![Screenshot_1621426559](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/1/11408a3358eeab547ef1eecf839dbed0dcc83a63.png)

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

- Device: Pixel 2
- OS: Android 11

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 19, 2021, 5:07pm UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/2 "2021-05-19T17:07:58Z")

</div>

Hi @viktor.k, thanks for the post.

I have not been able to reproduce this crash. Are you able to reproduce this using the sample app provided with the SDK? Does it occur 100% of the time?

Thanks!

---

<div class="post-metadata">

**Author:** ![viktor.k](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viktor.k/32/27238_2.png) [@viktor.k](https://devforum.zoom.us/u/viktor.k)\
**Post date:** [May 20, 2021, 8:55am UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/3 "2021-05-20T08:55:13Z")

</div>

Hi @jon.zoom ,

1. I don’t see any calls to `showZoomQAUI ` inside `sample` app.

There’s only `QAActivity` which is used in Custom UI mode.

Our case is that we have `Custom UI` mode enabled in SDK, however, we use some elements of the default UI which are available through `InMeetingService`, like `showZoomChatUI` and `showZoomQAUI`.

I can reproduce the crash with the sample app if I change `MeetingOptionBar` like below

 ![Screenshot 2021-05-20 at 11.53.55](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/5/356d6c932b8e983a2a83b1d8d5a6c48c2da11bbd.png)

Then connect to the webinar in Customized UI mode and open QA activity

1. Yes, it occurs 100% of the time.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 20, 2021, 4:52pm UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/4 "2021-05-20T16:52:47Z")

</div>

Hi @viktor.k,

Thank you for clarifying that this was with a custom UI. I am now able to reproduce the crash, so no additional information will be needed on your end. Once we have any updates, I will be sure to let you know.

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 26, 2021, 10:53pm UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/5 "2021-05-26T22:53:21Z")

</div>

Hi @viktor.k,

A fix has been identified and will be included in the next SDK release. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![viktor.k](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viktor.k/32/27238_2.png) [@viktor.k](https://devforum.zoom.us/u/viktor.k)\
**Post date:** [May 28, 2021, 7:43am UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/6 "2021-05-28T07:43:46Z")

</div>

Hi @jon.zoom

Great to hear that 😀

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 28, 2021, 5:23pm UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/7 "2021-05-28T17:23:19Z")

</div>

Glad we could help! 🙂

---

<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:** [June 28, 2021, 3:23am UTC](https://devforum.zoom.us/t/crash-in-webinar-qa-when-attendee-tries-to-ask-a-question/50583/8 "2021-06-28T03:23:51Z")

</div>

Closed on June 28, 2021, 3:23am UTC

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