Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does exception java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@4205eb18 does not exist mean

Tags:

I am trying to login into the app but after the login is success and it is about to go to next screen, it restarts. Following is the exception that I guess would have caused this, as there is no other exception.

11-14 15:09:54.841: W/WindowManager(643): Failed looking up window 11-14 15:09:54.841: W/WindowManager(643): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@4205eb18 does not exist 11-14 15:09:54.841: W/WindowManager(643):   at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7622) 11-14 15:09:54.841: W/WindowManager(643):   at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7613) 11-14 15:09:54.841: W/WindowManager(643):   at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1591) 11-14 15:09:54.841: W/WindowManager(643):   at android.os.BinderProxy.sendDeathNotice(Binder.java:417) 11-14 15:09:54.841: W/WindowManager(643):   at dalvik.system.NativeStart.run(Native Method) 11-14 15:09:54.841: I/WindowManager(643): WIN DEATH: null 

Can anyone tell, what does it mean and if possible how to correct it.

like image 235
Ekta Shukla Avatar asked Nov 15 '12 10:11

Ekta Shukla


People also ask

What is IllegalArgumentException in Java?

The IllegalArgumentException is an unchecked exception in Java that is thrown to indicate an illegal or unsuitable argument passed to a method. It is one of the most common exceptions that occur in Java.

What is IllegalArgumentException in Java with example?

An IllegalArgumentException is thrown in order to indicate that a method has been passed an illegal argument. This exception extends the RuntimeException class and thus, belongs to those exceptions that can be thrown during the operation of the Java Virtual Machine (JVM).

When we will get Java lang IllegalArgumentException?

IllegalArgumentException is a Java exception indicating that a method has received an argument that is invalid or inappropriate for this method's purposes.


1 Answers

This may be caused by calling a system API that is not available on your target device. I ran into this issue then trying to call ActivityManager.MemoryInfo.totalMem on a 4.0.x device. I didn't get any compile errors as I was targeting 4.2.2 and ActivityManager.MemoryInfo.totalMem was added in API16 (4.1)

like image 149
TheDerputy Avatar answered Oct 22 '22 03:10

TheDerputy