Infeasible
Status Update
Comments
od...@acidremap.com <od...@acidremap.com> #2
I also experienced this on a tablet and verified that adding an account resolved the problem.
dd...@gmail.com <dd...@gmail.com> #3
I was going crazy, thanks for this!
[Deleted User] <[Deleted User]> #4
Still I think this is something on what the Android Team should work.
da...@gmail.com <da...@gmail.com> #5
I also had this exception. Just added google account to google play and it works.
ta...@gmail.com <ta...@gmail.com> #6
01-17 17:47:59.516: E/AndroidRuntime(3730): FATAL EXCEPTION: background thread
01-17 17:47:59.516: E/AndroidRuntime(3730): java.lang.NullPointerException
01-17 17:47:59.516: E/AndroidRuntime(3730): at com.google.android.vending.licensing.LicenseValidator.verify(Unknown Source)
01-17 17:47:59.516: E/AndroidRuntime(3730): at com.google.android.vending.licensing.LicenseChecker$ResultListener$2.run(Unknown Source)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.Handler.handleCallback(Handler.java:725)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.Handler.dispatchMessage(Handler.java:92)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.Looper.loop(Looper.java:137)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.HandlerThread.run(HandlerThread.java:60)
01-17 17:49:17.896: E/GpsXtraDownloader(365): No XTRA servers were specified in the GPS configuration
01-17 17:47:59.516: E/AndroidRuntime(3730): java.lang.NullPointerException
01-17 17:47:59.516: E/AndroidRuntime(3730): at com.google.android.vending.licensing.LicenseValidator.verify(Unknown Source)
01-17 17:47:59.516: E/AndroidRuntime(3730): at com.google.android.vending.licensing.LicenseChecker$ResultListener$2.run(Unknown Source)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.Handler.handleCallback(Handler.java:725)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.Handler.dispatchMessage(Handler.java:92)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.Looper.loop(Looper.java:137)
01-17 17:47:59.516: E/AndroidRuntime(3730): at android.os.HandlerThread.run(HandlerThread.java:60)
01-17 17:49:17.896: E/GpsXtraDownloader(365): No XTRA servers were specified in the GPS configuration
ta...@gmail.com <ta...@gmail.com> #7
If i register my google account this exception doesn't happen.
ta...@gmail.com <ta...@gmail.com> #8
If i register my google account this exception doesn't happen.
hb...@gmail.com <hb...@gmail.com> #9
This website is for developer issues with the AOSP Android source code and the developer toolset, not Google apps or services such as Play services or License Validation. Sorry.
en...@google.com <en...@google.com>
jo...@gmail.com <jo...@gmail.com> #10
Is this getting fixed?
sh...@gmail.com <sh...@gmail.com> #11
clearly not here
Description
I use the revision 2 of the library (Google Market Licensing Package).
If Google Play is not present on the phone, or if there is no google account configured on the phone, the call at "checkAccess" raise an exception.
Please find a copy of the stack :
03-12 08:14:12.400: I/SecurityLampActivity(8835): OnCreate
03-12 08:14:12.440: I/SecurityLampActivity(8835): Création Intent Action_screen_on et Action_screen_off
03-12 08:14:12.680: I/LicenseChecker(8835): Binding to licensing service.
03-12 08:14:12.690: I/SecurityLampActivity(8835): onStart
03-12 08:14:12.690: I/SecurityLampActivity(8835): Ouverture caméra : Camera.open()
03-12 08:14:13.110: I/SecurityLampActivity(8835): Ouverture caméra OK
03-12 08:14:13.125: I/SecurityLampActivity(8835): Flash mode: off
03-12 08:14:13.125: I/SecurityLampActivity(8835): Flash modes: [off, auto, on, torch]
03-12 08:14:13.125: I/SecurityLampActivity(8835): Flash présent et mode forcé existant
03-12 08:14:13.145: I/SecurityLampActivity(8835): Allumage lampe
03-12 08:14:13.145: I/SecurityLampActivity(8835): Lampe allumée
03-12 08:14:13.155: I/SecurityLampActivity(8835): onResume
03-12 08:14:13.175: I/LicenseChecker(8835): Calling checkLicense on service for com.vivien.securitylamp
03-12 08:14:13.180: I/LicenseChecker(8835): Start monitoring timeout.
03-12 08:14:13.190: I/LicenseChecker(8835): Received response.
03-12 08:14:13.190: I/LicenseChecker(8835): Clearing timeout.
03-12 08:14:13.195: W/dalvikvm(8835): threadid=11: thread exiting with uncaught exception (group=0x40a301f8)
03-12 08:14:13.200: E/AndroidRuntime(8835): FATAL EXCEPTION: background thread
03-12 08:14:13.200: E/AndroidRuntime(8835): java.lang.NullPointerException
03-12 08:14:13.200: E/AndroidRuntime(8835): at com.google.android.vending.licensing.LicenseValidator.verify(LicenseValidator.java:99)
03-12 08:14:13.200: E/AndroidRuntime(8835): at com.google.android.vending.licensing.LicenseChecker$ResultListener$2.run(LicenseChecker.java:228)
03-12 08:14:13.200: E/AndroidRuntime(8835): at android.os.Handler.handleCallback(Handler.java:605)
03-12 08:14:13.200: E/AndroidRuntime(8835): at android.os.Handler.dispatchMessage(Handler.java:92)
03-12 08:14:13.200: E/AndroidRuntime(8835): at android.os.Looper.loop(Looper.java:137)
03-12 08:14:13.200: E/AndroidRuntime(8835): at android.os.HandlerThread.run(HandlerThread.java:60)
03-12 08:14:13.390: I/SecurityLampActivity(8835): onPause
03-12 08:14:13.390: I/SecurityLampActivity(8835): Lampe éteinte
03-12 08:14:14.610: I/SecurityLampActivity(8835): onStop
03-12 08:14:14.610: I/SecurityLampActivity(8835): onDestroy
03-12 08:14:14.635: E/ActivityThread(8835): Activity com.vivien.securitylamp.SecurityLampActivity has leaked ServiceConnection com.google.android.vending.licensing.LicenseChecker@41352dc8 that was originally bound here
03-12 08:14:14.635: E/ActivityThread(8835): android.app.ServiceConnectionLeaked: Activity com.vivien.securitylamp.SecurityLampActivity has leaked ServiceConnection com.google.android.vending.licensing.LicenseChecker@41352dc8 that was originally bound here
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:936)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:830)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.ContextImpl.bindService(ContextImpl.java:1130)
03-12 08:14:14.635: E/ActivityThread(8835): at android.content.ContextWrapper.bindService(ContextWrapper.java:370)
03-12 08:14:14.635: E/ActivityThread(8835): at com.google.android.vending.licensing.LicenseChecker.checkAccess(LicenseChecker.java:150)
03-12 08:14:14.635: E/ActivityThread(8835): at com.vivien.securitylamp.CheckLicence.doCheck(CheckLicence.java:45)
03-12 08:14:14.635: E/ActivityThread(8835): at com.vivien.securitylamp.SecurityLampActivity.onCreate(SecurityLampActivity.java:93)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.Activity.performCreate(Activity.java:4465)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.ActivityThread.access$600(ActivityThread.java:123)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
03-12 08:14:14.635: E/ActivityThread(8835): at android.os.Handler.dispatchMessage(Handler.java:99)
03-12 08:14:14.635: E/ActivityThread(8835): at android.os.Looper.loop(Looper.java:137)
03-12 08:14:14.635: E/ActivityThread(8835): at android.app.ActivityThread.main(ActivityThread.java:4424)
03-12 08:14:14.635: E/ActivityThread(8835): at java.lang.reflect.Method.invokeNative(Native Method)
03-12 08:14:14.635: E/ActivityThread(8835): at java.lang.reflect.Method.invoke(Method.java:511)
03-12 08:14:14.635: E/ActivityThread(8835): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
03-12 08:14:14.635: E/ActivityThread(8835): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
03-12 08:14:14.635: E/ActivityThread(8835): at dalvik.system.NativeStart.main(Native Method)
Copy of the stack with a valid google account :
03-12 08:11:08.610: I/SecurityLampActivity(7949): OnCreate
03-12 08:11:08.615: I/SecurityLampActivity(7949): Création Intent Action_screen_on et Action_screen_off
03-12 08:11:08.745: I/dalvikvm(7949): Total arena pages for JIT: 11
03-12 08:11:08.745: I/dalvikvm(7949): Total arena pages for JIT: 12
03-12 08:11:08.750: I/dalvikvm(7949): Total arena pages for JIT: 13
03-12 08:11:08.750: I/dalvikvm(7949): Total arena pages for JIT: 14
03-12 08:11:08.755: I/dalvikvm(7949): Total arena pages for JIT: 15
03-12 08:11:08.760: I/dalvikvm(7949): Total arena pages for JIT: 16
03-12 08:11:08.760: I/dalvikvm(7949): Total arena pages for JIT: 17
03-12 08:11:08.770: I/LicenseChecker(7949): Using cached license response
03-12 08:11:08.780: I/CheckLicence(7949): Licence Valide. Code : 100
03-12 08:11:08.780: I/SecurityLampActivity(7949): onStart
03-12 08:11:08.780: I/SecurityLampActivity(7949): Ouverture caméra : Camera.open()
03-12 08:11:09.210: I/SecurityLampActivity(7949): Ouverture caméra OK
03-12 08:11:09.220: I/SecurityLampActivity(7949): Flash mode: off
03-12 08:11:09.220: I/SecurityLampActivity(7949): Flash modes: [off, auto, on, torch]
03-12 08:11:09.220: I/SecurityLampActivity(7949): Flash présent et mode forcé existant
03-12 08:11:09.235: I/SecurityLampActivity(7949): Allumage lampe
03-12 08:11:09.235: I/SecurityLampActivity(7949): Lampe allumée
03-12 08:11:09.260: I/SecurityLampActivity(7949): onResume
NOTE: This form is only for reporting bugs found in the Android system
while developing Android applications. Use the Tools templates for issues
with the developer tools.
Please describe the problem in detail. Be sure to include:
- Steps to reproduce the problem (including sample code if appropriate).
- What happened.
- What you think the correct behavior should be.
Don't forget to mention which version of Android you're using, and/or which
device the problem appears on (model and Android version).
Please also run "adb bugreport" and archive the output.