Skip to content

Uncaught error #3

@manumaticx

Description

@manumaticx

I can't get it working on android. The signin method seems to either do nothing or throw an error like this:

12-02 13:35:54.236: W/System.err(19605): java.lang.NullPointerException: storage == null
12-02 13:35:54.243: W/System.err(19605):    at java.util.Arrays$ArrayList.<init>(Arrays.java:38)
12-02 13:35:54.243: W/System.err(19605):    at java.util.Arrays.asList(Arrays.java:155)
12-02 13:35:54.243: W/System.err(19605):    at com.sitata.googleplus.TitaniumGooglePlusModule.buildClient(TitaniumGooglePlusModule.java:299)
12-02 13:35:54.243: W/System.err(19605):    at com.sitata.googleplus.TitaniumGooglePlusModule.signin(TitaniumGooglePlusModule.java:339)
12-02 13:35:54.243: W/System.err(19605):    at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
12-02 13:35:54.243: W/System.err(19605):    at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:62)
12-02 13:35:54.243: W/System.err(19605):    at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:908)
12-02 13:35:54.243: W/System.err(19605):    at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1131)
12-02 13:35:54.243: W/System.err(19605):    at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347)
12-02 13:35:54.243: W/System.err(19605):    at android.os.Handler.dispatchMessage(Handler.java:98)
12-02 13:35:54.243: W/System.err(19605):    at android.os.Looper.loop(Looper.java:135)
12-02 13:35:54.243: W/System.err(19605):    at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)
12-02 13:35:54.259: E/TiExceptionHandler(19605): (main) [7429,7429] ----- Titanium Javascript Runtime Error -----
12-02 13:35:54.259: E/TiExceptionHandler(19605): (main) [0,7429] - In alloy/controllers/account/login.js:100,20
12-02 13:35:54.259: E/TiExceptionHandler(19605): (main) [0,7429] - Message: Uncaught Error: storage == null
12-02 13:35:54.259: E/TiExceptionHandler(19605): (main) [0,7429] - Source:             google.signin({
12-02 13:35:54.281: E/V8Exception(19605): Exception occurred at alloy/controllers/account/login.js:100: Uncaught Error: storage == null

Any idea what could be the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions