IllegalArgumentException

Put your problem here if it does not fit any of the other categories.

IllegalArgumentException

Postby georgwiese » Sat Sep 11, 2010 1:49 pm

Hey,
Apparently, an error occurred in my app. The information the Android Market gave me was this:

java.lang.IllegalArgumentException: no dialog with id 0 was ever shown via Activity#showDialog
at android.app.Activity.missingDialog(Activity.java:2590)
at android.app.Activity.dismissDialog(Activity.java:2575)
at de.georgwiese.integralcalculator.StartPage$1.handleMessage(StartPage.java:115)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)

Dialog ID 0 is a ProgressDialog, it starts when a button is pressed and is dismissed when it's done...
Does this mean that dismissDialog(0) is called before showDialog(0) is called??
georgwiese
Experienced Developer
Experienced Developer
 
Posts: 70
Joined: Mon May 03, 2010 7:14 pm

Top

Re: IllegalArgumentException

Postby jonbonazza » Mon Sep 13, 2010 3:50 pm

That is what it is trying to tell you.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 23 guests