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

Exception while handling OAuth2 callback due to json date parsing #1

Open
pierrekilly opened this issue Mar 17, 2012 · 0 comments
Open

Comments

@pierrekilly
Copy link
Contributor

When signing in with viadeo, we get the following warning and the sign in doesn't complete:

21:53:56,415 WARN : org.springframework.social.connect.web.ProviderSignInController - Exception while handling OAuth2 callback (Could not read JSON: Can not construct instance of java.util.Date from String value '2012-03-02T10:44:41.0+0100': not a valid representation (error: Can not parse date "2012-03-02T10:44:41.0+0100": not compatible with any of standard forms ("yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "EEE, dd MMM yyyy HH:mm:ss zzz", "yyyy-MM-dd"))
at [Source: java.io.ByteArrayInputStream@21b6484c; line: 1, column: 1952]; nested exception is org.codehaus.jackson.map.JsonMappingException: Can not construct instance of java.util.Date from String value '2012-03-02T10:44:41.0+0100': not a valid representation (error: Can not parse date "2012-03-02T10:44:41.0+0100": not compatible with any of standard forms ("yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "EEE, dd MMM yyyy HH:mm:ss zzz", "yyyy-MM-dd"))
at [Source: java.io.ByteArrayInputStream@21b6484c; line: 1, column: 1952]). Redirecting to /signin

There isn't a stacktrace :(

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