java.lang.RuntimeException: Unable to start service com.giderosmobile.android.plugins.googlebilling.BillingService@40655f20 with Intent { act=com.android.vending.billing.PURCHASE_STATE_CHANGED cmp=com.intoitgames.prototap/com.giderosmobile.android.plugins.googlebilling.BillingService (has extras) }: java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: java.lang.NullPointerException at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2056) at android.app.ActivityThread.access$2800(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:998) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636) at dalvik.system.NativeStart.main(NativeStart.java) Caused by: java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: java.lang.NullPointerException at com.giderosmobile.android.plugins.googlebilling.Security.generatePublicKey(Security.java:212) at com.giderosmobile.android.plugins.googlebilling.Security.verifyPurchase(Security.java:134) at com.giderosmobile.android.plugins.googlebilling.BillingService.purchaseStateChanged(BillingService.java:584) at com.giderosmobile.android.plugins.googlebilling.BillingService.handleCommand(BillingService.java:460) at com.giderosmobile.android.plugins.googlebilling.BillingService.onStart(BillingService.java:435) at android.app.Service.onStartCommand(Service.java:428) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2043) at android.app.ActivityThread.access$2800(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:998) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636) at dalvik.system.NativeStart.main(NativeStart.java) Caused by: java.security.spec.InvalidKeySpecException: java.lang.NullPointerException at org.bouncycastle.jce.provider.JDKKeyFactory.engineGeneratePublic(JDKKeyFactory.java:92) at org.bouncycastle.jce.provider.JDKKeyFactory$RSA.engineGeneratePublic(JDKKeyFactory.java:396) at java.security.KeyFactory.generatePublic(KeyFactory.java:177) at com.giderosmobile.android.plugins.googlebilling.Security.generatePublicKey(Security.java:207) at com.giderosmobile.android.plugins.googlebilling.Security.verifyPurchase(Security.java:134) at com.giderosmobile.android.plugins.googlebilling.BillingService.purchaseStateChanged(BillingService.java:584) at com.giderosmobile.android.plugins.googlebilling.BillingService.handleCommand(BillingService.java:460) at com.giderosmobile.android.plugins.googlebilling.BillingService.onStart(BillingService.java:435) at android.app.Service.onStartCommand(Service.java:428) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2043) at android.app.ActivityThread.access$2800(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:998) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636) at dalvik.system.NativeStart.main(NativeStart.java)