java.lang.RuntimeException: Unable to create service com.billspillsmoothshopping.android.PopupService: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Priyam Tyagi
, 6 months ago
Unable to create service com.billspillsmoothshopping.android.PopupService: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
via GitHub by sampalmer
, 11 months ago
Unable to create service samuelpalmer.sensorautorotation.processes.service.RotationService: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@2b5f8ad3 -- permission denied for this window type
via Stack Overflow by Bartek
, 2 years ago
Unable to create service com.MyApp.GPSLocation: java.lang.IllegalStateException: GoogleApiClient is not connected yet.
via google.com by Unknown author, 2 years ago
Unable to create service open.menthal.services.DBServiceManipulator: java.lang.IllegalStateException: Parcel has been finalized!
via Stack Overflow by johnny_and1
, 2 years ago
Unable to create service open.menthal.services.DBServiceManipulator: java.lang.IllegalStateException: Parcel has been finalized!
via google.com by Unknown author, 1 year ago
Unable to create service open.menthal.services.DBServiceManipulator: java.lang.IllegalStateException: Parcel has been finalized!
java.lang.RuntimeException: Unable to create service com.billspillsmoothshopping.android.PopupService: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
at android.view.ViewRootImpl.setView(ViewRootImpl.java:584)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
at android.app.Dialog.show(Dialog.java:298)
at com.billspillsmoothshopping.android.m_MySQL.CompareDownloader.onPreExecute(CompareDownloader.java:32)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:591)
at android.os.AsyncTask.execute(AsyncTask.java:539)
at com.billspillsmoothshopping.android.PopupService.onCreate(PopupService.java:81)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2761)
at android.app.ActivityThread.access$1800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1386)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)

Users with the same issue

10 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
2 times, 1 year ago
55 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.