Skip to content

Force close on login attempt #2

Closed
@ataulm

Description

When trying to login, I get a force close no matter what I do:

  • run app, substituting real ID and Secret before compilation
  • Click on overflow icon to Login
  • select any of the four options, and click Allow -> FC
    or
  • enter a user/pass combination, and click Allow -> FC

A similar stack trace for each try:

11-19 21:33:55.756    1279-1279/com.imgur.api3example E/AndroidRuntime﹕ FATAL EXCEPTION: main
    java.lang.IllegalStateException: No successful match so far
            at java.util.regex.Matcher.ensureMatch(Matcher.java:579)
            at java.util.regex.Matcher.group(Matcher.java:352)
            at com.imgur.api3example.login.LoginActivity$1.shouldOverrideUrlLoading(LoginActivity.java:48)
            at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:270)
            at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:372)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:5041)
            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:793)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
            at dalvik.system.NativeStart.main(Native Method)

I'm trying to authenticate using Scribe in my app, but having a bit of trouble understanding the workflow (I assumed I'd get a response directly, rather than requiring a webview or something).

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions