stanford-oval / almond-android

The Almond Android App
Other
12 stars 8 forks source link

Fix WindowManager$BadTokenException in ui.DialogUtils.showAlertDialog, line 36 #86

Open gcampax opened 5 years ago

gcampax commented 5 years ago

Version: 1.10.1 (1101) | edu.stanford.thingengine.engine

Stacktrace

ui.DialogUtils;showAlertDialog;DialogUtils.java;36
ui.DialogUtils;showFailureDialog;DialogUtils.java;40
ui.DeviceConfigureTask;onPostExecute;DeviceConfigureTask.java;48
ui.DeviceConfigureTask;onPostExecute;DeviceConfigureTask.java;19

Reason

android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@3ca5882 is not valid; is your activity running?

Link to HockeyApp