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

java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference #300

Open
TamilanPeriyasamy opened this issue Jan 6, 2017 · 2 comments

Comments

@TamilanPeriyasamy
Copy link

When using DroidPlugin with a google drive integrated Sample app I get the following issue. Any help would be appreciated.

E/MyCrashHandler(29642): uncaughtExceptionjava.lang.RuntimeException: Unable to resume activity {com.example.quickstart/com.google.android.gms.drive.sample.q/home/lakeba13/workspace/DynamicLoading/DynamicLoader/assets/android-demos.apkuickstart.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
E/MyCrashHandler(29642): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3171)
E/MyCrashHandler(29642): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3202)
E/MyCrashHandler(29642): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2540)
E/MyCrashHandler(29642): at android.app.ActivityThread.access$900(ActivityThread.java:154)
E/MyCrashHandler(29642): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
E/MyCrashHandler(29642): at android.os.Handler.dispatchMessage(Handler.java:102)
E/MyCrashHandler(29642): at android.os.Looper.loop(Looper.java:152)
E/MyCrashHandler(29642): at android.app.ActivityThread.main(ActivityThread.java:5497)
E/MyCrashHandler(29642): at java.lang.reflect.Method.invoke(Native Method)
E/MyCrashHandler(29642): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
E/MyCrashHandler(29642): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

@cmzy
Copy link
Member

cmzy commented Jan 6, 2017

Could you post more information about it?

@TamilanPeriyasamy
Copy link
Author

TamilanPeriyasamy commented Jan 6, 2017

i am trying to launch this using DriodPlugin. This application has code to use drive API's. When launching application it crashes with message posted in my previous post. Please share me ideas to fix it.

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

No branches or pull requests

2 participants