我正在使用以下代码,当股票代码到达它停止的div的末尾时,我需要检测它何时到达结束然后重新开始..
com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Requested 12 dimensions; only 7 are allowed.",
"reason" : "badRequest"
} ],
"message" : "Requested 12 dimensions; only 7 are allowed."
}
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:312)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1049)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:410)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
at com.tomvogten.analytics.View.readData(View.java:165)
at com.tomvogten.analytics.Downloader.main(Downloader.java:85)
Exception in thread "main" java.lang.NullPointerException
at com.tomvogten.analytics.View.writeData(View.java:191)
at com.tomvogten.analytics.Downloader.main(Downloader.java:86)
Java Result: 1