当我使用 GData Java 客户端库的批处理功能时,会出现此异常。我们能够获取提要,但无法进行批量删除。
com.google.gdata.client.GoogleAuthTokenFactory$OAuthToken@259e215b
java.lang.NullPointerException: No authentication header information
at
com.google.gdata.util.AuthenticationException.initFromAuthHeader(AuthenticationException.java:96)
at
com.google.gdata.util.AuthenticationException.<init>(AuthenticationException.java:67)
at
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:608)
at
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:564)
at
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:560)
at
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:538)
at
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:536)
at com.google.gdata.client.Service.batch(Service.java:1454) at
com.google.gdata.client.GoogleService.batch(GoogleService.java:770)
任何帮助。