google_play_downloader_old icon indicating copy to clipboard operation
google_play_downloader_old copied to clipboard

NullPointerException after asking about Architecture

Open phunni opened this issue 9 years ago • 5 comments

This is the "transcript" of my attempt to run:

java -jar ~/downloads/misc/playdl.jar Email: ************@gmail.com Password: **************** Language [en]: Do you want to use x86 as the architecture? [y/N]: y Exception in thread "main" java.lang.NullPointerException at com.github.mcmrarm.playdl.proto.GooglePlay$AndroidCheckinRequest$Builder.addAccountCookie(GooglePlay.java) at com.github.mcmrarm.playdl.CheckinManager.getRequest(CheckinManager.java:232) at com.github.mcmrarm.playdl.CheckinManager.execRequest(CheckinManager.java:253) at com.github.mcmrarm.playdl.CheckinManager.getAndroidId(CheckinManager.java:287) at com.github.mcmrarm.playdl.Main.main(Main.java:38)

phunni avatar Nov 12 '15 20:11 phunni

It appears to be a NullPointer here:

.addAccountCookie(myLogin.getAuth()) Line 232 of CheckinManager - due (as far as I can see) to myLogin geing null, presumably because getRequest() is being called before login()?

phunni avatar Nov 14 '15 16:11 phunni

I am having the exact same problem. Please tell me if you have resolved it, thanks.

ghost avatar Feb 13 '16 03:02 ghost

I have the same problem. Could it be caused by having 2fa enabled?

Matsv avatar Jun 28 '16 17:06 Matsv

Still having this problem - has anyone managed to solve it?

phunni avatar Jul 31 '16 19:07 phunni

I think that you need to remove the session txt file that the program made. Run the jar in a new folder.

ghost avatar Aug 04 '16 18:08 ghost