cancel
Showing results for 
Search instead for 
Did you mean: 

Android Tablet Crash During Polls

Ahmed_Gomaa
Newcomer
Newcomer

When a user is in a Zoom meeting on an Android tablet, our app will crash whenever a poll is launched in that meeting. Below is the full stack trace. As you’ll see it refers to setting the colorSurface attribute in our app theme

FATAL EXCEPTION: main
Process: com.weightwatchers.mobile, PID: 20140
java.lang.IllegalArgumentException: com.google.android.material.dialog.MaterialAlertDialogBuilder requires a value for the com.weightwatchers.mobile:attr/colorSurface attribute to be set in your app theme. You can either set the attribute in your theme or update your theme to inherit from Theme.MaterialComponents (or a descendant).
at com.google.android.material.resources.MaterialAttributes.resolveOrThrow(MaterialAttributes.java:69)
at com.google.android.material.color.MaterialColors.getColor(MaterialColors.java:80)
at com.google.android.material.dialog.MaterialAlertDialogBuilder.<init>(MaterialAlertDialogBuilder.java:120)
at com.google.android.material.dialog.MaterialAlertDialogBuilder.<init>(MaterialAlertDialogBuilder.java:103)
at us.zoom.proguard.xi1.a(ZmDialogUtils.java:73)
at us.zoom.proguard.cy2.onCreateDialog(ZmTabletPollingFragment.java:1)
at androidx.fragment.app.DialogFragment.prepareDialog(DialogFragment.java:647)
at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:561)
at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java:1698)
at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:492)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:113)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1374)
at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2841)
at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:2784)
at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:262)
at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:478)
at us.zoom.uicommon.activity.ZMActivity.onStart(ZMActivity.java:5)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1432)
at android.app.Activity.performStart(Activity.java:7892)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3326)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2045)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7399)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)

0 REPLIES 0