javascript - My app crashes with a java.lang.IllegalArgumentException -


i crash report every few weeks java.lang.illegalargumentexception , don't know start looking. have never had app crash while testing far can tell app gets opened around 300 times week crash doesn't happen still fix it. says on dialog dismissal have multiple dialogs in app. can 1 tell me more crash report means , how arrived @ conclusion?

    java.lang.illegalargumentexception: view not attached window manager @ android.view.windowmanagerglobal.findviewlocked(windowmanagerglobal.java:402) @ android.view.windowmanagerglobal.removeview(windowmanagerglobal.java:304) @ android.view.windowmanagerimpl.removeview(windowmanagerimpl.java:79) @ android.app.dialog.dismissdialog(dialog.java:325) @ android.app.dialog$1.run(dialog.java:120) @ android.os.handler.handlecallback(handler.java:725) @ android.os.handler.dispatchmessage(handler.java:92) @ android.os.looper.loop(looper.java:137) @ android.app.activitythread.main(activitythread.java:5293) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:511) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:1102) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:869) @ dalvik.system.nativestart.main(native method) 

late answer, may someone.

    @override protected void onpause() {     closedialog();     super.onpause(); }  private void closedialog(){     if(progressdialog != null && progressdialog.isshowing()){         try{             progressdialog.dismiss();         } catch (illegalargumentexception e){             // nothing         }     } } 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -