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

08-13 12:15:51.419 E/mono ( 1516): System.NullReferenceException: Object reference not set to an instance of an object. #6

Open
john1726 opened this issue Aug 13, 2016 · 0 comments

Comments

@john1726
Copy link

john1726 commented Aug 13, 2016

When I attempt to run, I get this error:

An unhandled exception occured.

08-13 12:15:51.419 E/mono    ( 1516): 
08-13 12:15:51.419 E/mono    ( 1516): Unhandled Exception:
08-13 12:15:51.419 E/mono    ( 1516): System.NullReferenceException: Object reference not set to an instance of an object.
08-13 12:15:51.419 E/mono    ( 1516):   at (wrapper dynamic-method) System.Object:841dfca9-313d-4d04-b6fc-473c386af2df (intptr,intptr,bool,int,int,int,int)
08-13 12:15:51.419 E/mono    ( 1516):   at (wrapper native-to-managed) System.Object:841dfca9-313d-4d04-b6fc-473c386af2df (intptr,intptr,int,int,int,int,int)
In mgmain JNI_OnLoad
08-13 12:15:51.419 E/mono-rt ( 1516): [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object.
08-13 12:15:51.419 E/mono-rt ( 1516):   at (wrapper dynamic-method) System.Object:841dfca9-313d-4d04-b6fc-473c386af2df (intptr,intptr,bool,int,int,int,int)
08-13 12:15:51.419 E/mono-rt ( 1516):   at (wrapper native-to-managed) System.Object:841dfca9-313d-4d04-b6fc-473c386af2df (intptr,intptr,int,int,int,int,int)

Do you have any suggestions? TIA.

UPDATE:

This is the line where it is throwing the exception:

            var auth = new OAuth2Authenticator (
                clientId: App.Instance.OAuthSettings.ClientId, // your OAuth2 client id
                scope: App.Instance.OAuthSettings.Scope, // The scopes for the particular API you're accessing. The format for this will vary by API.
                authorizeUrl: new Uri (App.Instance.OAuthSettings.AuthorizeUrl), // the auth URL for the service
                redirectUrl: new Uri (App.Instance.OAuthSettings.RedirectUrl)); // the redirect URL for the service
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

1 participant