java.lang.RuntimeException: Unable to instantiate service com.example.com.intentservice_00.MyIntentService: java.lang.InstantiationException: java.lang.Class<com.example.com.intentservice_00.MyIntentService> has no zero argument constructor

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

Samebug tips

,
Expert tip

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

Solutions on the web

via Stack Overflow by user2121
, 1 year ago
Unable to instantiate service com.example.com.intentservice_00.MyIntentService: java.lang.InstantiationException: java.lang.Class<com.example.com.intentservice_00.MyIntentService> has no zero argument constructor
via GitHub by bart-at-mobicage
, 1 year ago
Unable to create service com.mobicage.rogerthat.MainService: android.database.sqlite.SQLiteException: table service_menu_item has no column named icon_color (code 1): , while compiling: INSERT INTO service_menu_item (friend, x, y, z, label
via Stack Overflow by cristian
, 9 months ago
Unable to instantiate service com.itelma.tele.API_AC.FCMInstanceIdService: java.lang.ClassNotFoundException: Didn't find class "com.itelma.tele.API_AC.FCMInstanceIdService" on path: DexPathList[[zip file "/data/app/com.itelma.tele-2/base.apk"],nativeLibraryDirectories=[/data/app/com.itelma.tele-2/lib/arm, /data/app/com.itelma.tele-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
via Stack Overflow by Mousa Alfhaily
, 8 months ago
Unable to create service mousa.issa.alfhaily.myapplication.Bubble: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@485bcc0 -- permission denied for this window type
via GitHub by davidarchi
, 9 months ago
Unable to create service saschpe.textoverlay.service.TextOverlayService: java.lang.SecurityException: com.fast.textoverlay.network from uid 10408 not allowed to perform SYSTEM_ALERT_WINDOW
via GitHub by sinhpn92
, 7 months ago
Unable to create service com.liulishuo.filedownloader.services.FileDownloadService$SeparateProcessService: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
java.lang.InstantiationException: java.lang.Class<com.example.com.intentservice_00.MyIntentService> has no zero argument constructor
at java.lang.Class.newInstance(Native Method)

Users with the same issue

5 times, 3 weeks ago
178 times, 7 months ago
2 times, 8 months ago
8 times, 10 months ago
70 times, 1 year ago

Write tip

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