# "dumpsys window windows" error when assertions are getting enable

**URL:** <https://discuss.appium.io/t/dumpsys-window-windows-error-when-assertions-are-getting-enable/18640>\
**Category:** Support\
**Created:** [September 11, 2017, 8:01am UTC](https://discuss.appium.io/t/dumpsys-window-windows-error-when-assertions-are-getting-enable/18640 "2017-09-11T08:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ackck](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@ackck](https://discuss.appium.io/u/ackck)\
**Post date:** [September 11, 2017, 8:01am UTC](https://discuss.appium.io/t/dumpsys-window-windows-error-when-assertions-are-getting-enable/18640/1 "2017-09-11T08:01:35Z")

</div>

Hello, i’m working on a test project with Eclipse and Appium(1.4.16.1) Android Driver on Windows.  
Before I enable assertions my project was running correctly.  
But I enabled assertions by Run Configurations / Arguments / VM arguments / -ea on Eclipse.  
Now, when I run my project the mobile application is opening then Appium logs consistently giving this error until I stop;

info: [debug] Getting focused package and activity

> info: [debug] executing cmd: C:\Users\MyPC\AppData\Local\Android\sdk\platform-tools\adb.exe -s FA537YJ07557 shell “dumpsys window windows”  
> info: [debug] Getting focused package and activity  
> info: [debug] executing cmd: C:\Users\MyPC\AppData\Local\Android\sdk\platform-tools\adb.exe -s FA537YJ07557 shell “dumpsys window windows”  
> info: [debug] Getting focused package and activity  
> info: [debug] executing cmd: C:\Users\MyPC\AppData\Local\Android\sdk\platform-tools\adb.exe -s FA537YJ07557 shell “dumpsys window windows”  
> info: [debug] Getting focused package and activity  
> info: [debug] executing cmd: C:\Users\MyPC\AppData\Local\Android\sdk\platform-tools\adb.exe -s FA537YJ07557 shell “dumpsys window windows”  
> info: [debug] Getting focused package and activity  
> info: [debug] executing cmd: C:\Users\MyPC\AppData\Local\Android\sdk\platform-tools\adb.exe -s FA537YJ07557 shell “dumpsys window windows”  
> …

What is the source of this error and how can i solve this?
