# Caused by java.lang.NullPointerException removeConfUICommands confUIEventsNode is null

**URL:** <https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930>\
**Category:** Android\
**Tags:** faq\
**Created:** [October 15, 2021, 11:49am UTC](https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930 "2021-10-15T11:49:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamSG](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/samsg/32/29107_2.png) [@SamSG](https://devforum.zoom.us/u/SamSG)\
**Post date:** [October 15, 2021, 11:49am UTC](https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930/1 "2021-10-15T11:49:25Z")

</div>

**Description**  
Crash report from firebase about ZOOM

**Which Android Meeting SDK version?**

zoom-sdk-android-5.5.1.1319.zip

**To Reproduce(If applicable)**  
I can not reproduce it because it comes from Firebase Report

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

**Device**

Brand:OPPO

Model:F9

Orientation: Portrait

RAM free: 1.09 GB

Disk free: 19.05 GB

**Operating System**

Version:10

Orientation: Portrait

Rooted:No

**Crash**

Date:Oct 15, 2021, 9:02:19 AM

App version:1.10.3 (127)

**Additional context**

```auto
import us.zoom.sdk.MeetingActivity

class DisableBackMeetingActivity: MeetingActivity() {
    override fun onBackPressed() {
        onClickLeave()
    }
}

```

XML

```auto
<activity
            android:name=".DisableBackMeetingActivity"
            android:configChanges="orientation|screenSize|smallestScreenSize|layoutDirection|screenLayout|keyboardHidden|uiMode|colorMode"
            android:theme="@style/ZMTheme.SubWindow"
            android:windowSoftInputMode="stateHidden|adjustResize" />

```

---

<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:** [October 15, 2021, 8:59pm UTC](https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930/2 "2021-10-15T20:59:37Z")

</div>

Hi @SamSG, thanks for the post.

Sorry to hear you’re seeing a crash. With this being a `NullPointerException`, we should be able to guard against it even without the ability to reproduce. That being said, we will need the full stack trace you are seeing in order to investigate further. Can you please provide that?

Thanks!

---

<div class="post-metadata">

**Author:** ![SamSG](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/samsg/32/29107_2.png) [@SamSG](https://devforum.zoom.us/u/SamSG)\
**Post date:** [October 16, 2021, 7:42am UTC](https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930/3 "2021-10-16T07:42:00Z")

</div>

\*\*I have removed my package name to avoid company’s policy → replace my package’s name with

> …

Log:

\*\*

**Fatal Exception: java.lang.RuntimeException**

**Unable to destroy activity {… DisableBackMeetingActivity}: java.lang.NullPointerException: removeConfUICommands confUIEventsNode is null**

```auto
Fatal Exception: java.lang.RuntimeException: Unable to destroy activity {.....DisableBackMeetingActivity}: java.lang.NullPointerException: removeConfUICommands confUIEventsNode is null
       at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5298)
       at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5327)
       at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:44)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:181)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:102)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2239)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:7830)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040)

```

**Caused by java.lang.NullPointerException**

**removeConfUICommands confUIEventsNode is null**

```auto

Caused by java.lang.NullPointerException: removeConfUICommands confUIEventsNode is null
       at com.zipow.videobox.utils.meeting.c.a(ZmContextSessionUtils.java:115)
       at com.zipow.videobox.utils.meeting.c.b(ZmContextSessionUtils.java:106)
       at com.zipow.videobox.ConfActivity.removeUIListeners(ConfActivity.java:980)
       at com.zipow.videobox.ConfActivity.onDestroy(ConfActivity.java:958)
       at com.zipow.videobox.ConfActivityNormal.onDestroy(ConfActivityNormal.java:982)
       at android.app.Activity.performDestroy(Activity.java:8254)
       at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1341)
       at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5283)
       at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5327)
       at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:44)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:181)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:102)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2239)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:7830)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040)

```

 ![Screen Shot 2021-10-16 at 14.40.59](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/c/bcbf14e41d6fd27d38b9d225e070ab6afec06af2.png)

---

<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:** [October 18, 2021, 6:23pm UTC](https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930/4 "2021-10-18T18:23:11Z")

</div>

Hi @SamSG,

Thanks for providing the full stack trace. We’ll investigate this and let you know as soon as we have any updates.

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:** [October 21, 2021, 7:34pm UTC](https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930/5 "2021-10-21T19:34:01Z")

</div>

Hi @SamSG,

Can you please try updating to the latest version of the SDK? This should already be fixed in the latest version, but definitely let us know if you still see this reported after the update.

Thanks!

---

<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 21, 2021, 5:34am UTC](https://devforum.zoom.us/t/caused-by-java-lang-nullpointerexception-removeconfuicommands-confuieventsnode-is-null/58930/6 "2021-11-21T05:34:48Z")

</div>

Closed on November 21, 2021, 5:34am UTC

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