Skip to content

NPE when doing signOut without authorize first #388

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create adapter
2. Call .signOut(), without calling .authorize()
3. Get NPE

What is the expected output? What do you see instead?
Expected: Simply sign out of the provider
Seen: 'Attempt to invoke virtual method 'java.util.List 
org.brickred.socialauth.SocialAuthManager.getConnectedProvidersIds()' on a null 
object reference'

What version of the product are you using? On what operating system?
SocialAuth 4.8
SocialAuth-Android 3.2
Windows 7

Please provide any additional information below.
The internal SocialAuthManager in an SocialAuthAdapter is new'ed in 
.authorize(), but is not checked for, or new'ed in .signOut().

Original issue reported on code.google.com by kasperli...@gmail.com on 17 May 2015 at 1:49

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions