Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected crash on registration #32

Open
GoogleCodeExporter opened this issue Mar 24, 2015 · 1 comment
Open

Unexpected crash on registration #32

GoogleCodeExporter opened this issue Mar 24, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Calling getRegistrationId will crash on LG-P700 :

java.lang.RuntimeException: Unable to create application 
com.dailymotion.dailymotion.DailymotionApplication: java.lang.RuntimeException: 
Package manager has died
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3958)
    at android.app.ActivityThread.access$1300(ActivityThread.java:123)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1185)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4464)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:822)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Package manager has died
    at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:75)
    at com.google.android.gcm.GCMRegistrar.getAppVersion(GCMRegistrar.java:453)
    at com.google.android.gcm.GCMRegistrar.getRegistrationId(GCMRegistrar.java:335)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3955)
    ... 10 more
Caused by: android.os.DeadObjectException
    at android.os.BinderProxy.transact(Native Method)
    at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:1257)
    at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:70)
    ... 16 more

Original issue reported on code.google.com by [email protected] on 25 Jul 2013 at 5:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant