Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.IllegalArgumentException: expected numeric type but got class com.google.api.client.auth.oauth2.TokenResponse	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:844)	at com.google.api.client.json.JsonParser.parse(JsonParser.java:382)	at com.google.api.client.json.JsonParser.parse(JsonParser.java:355)	at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:87)	at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:81)	at com.google.api.client.http.HttpResponse.parseAs(HttpResponse.java:459)	at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)	at com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp.authorize(AuthorizationCodeInstalledApp.java:82)	at com.techoffice.Appl.authorize(Appl.java:61)	at com.techoffice.Appl.main(Appl.java:68)