Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
12/30/12 04:08 AM (13 years ago)

java.lang.IllegalArgumentException ?

Getting this error reported in Google play. Only 3 reports from almost 2000 installs. Any ideas. Thanks java.lang.IllegalArgumentException: View not attached to window managerat android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:379)at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:224)at android.view.Window$LocalWindowManager.removeView(Window.java:432)at android.app.Dialog.dismissDialog(Dialog.java:279)at android.app.Dialog.access$000(Dialog.java:72)at android.app.Dialog$1.run(Dialog.java:112)at android.os.Handler.handleCallback(Handler.java:587)at android.os.Handler.dispatchMessage(Handler.java:92)at android.os.Looper.loop(Looper.java:130)at android.app.ActivityThread.main(ActivityThread.java:3704)at java.lang.reflect.Method.invokeNative(Native Method)at java.lang.reflect.Method.invoke(Method.java:507)at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)at dalvik.system.NativeStart.main(Native Method)
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
12/30/12 09:22 AM (13 years ago)
Hey Mr stuck, You using a remote file? Did you change your orientation, if so, it's creating itself again. LA
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
12/30/12 01:00 PM (13 years ago)
I have no idea what it means but the app streams audio from dropbox. Thanks
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
12/30/12 01:52 PM (13 years ago)
Did you recently change the screen orientation? LA
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
12/30/12 07:04 PM (13 years ago)
I wouldn't worry about just 3 reports in 2000 installs, chances are it's a user with some obscure device or OS. If you look just above the stack traces, you'll see 'Platform', if it says 'OTHER' it won't be one of the popular device. Just keep an eye on it in case it starts getting worse.
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
12/31/12 12:36 AM (13 years ago)
@LA i did not change orientation but added a splash screen. @raveyd yes 2 of the reports are from "other". I will keep an eye on it. Thanks again for assistance.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
12/31/12 08:07 AM (13 years ago)
@Mr stuck, First thing I would check is your Manifest file and look at this: android:configChanges="keyboardHidden|orientation make sure that hasn't changed since you added a splash screen. LA
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
12/31/12 08:12 AM (13 years ago)
@LA thanks. Will check it out after new year. Its not a major issue but always a little annoying to know people are having problems with apps if you know what i mean. Thanks for taking the time to help. Appreciated
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
12/31/12 08:19 AM (13 years ago)
No I totally understand. You want all your customers able to view your App. Even if it's only a few. LA
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.