Setting `strictBounds` to true results in increase in UnknownErrorException in the autocomplete api
還沒有人認領這個 Issue。
評估
研究方向
從 PlaceAutocompleteRequest.java 開始,特別查看 Response.getError,並追蹤 strictBounds=true 如何轉換到 autocomplete 請求中。透過 ApiException.from 和 OkHttpPendingResult 這條已回報的堆疊路徑重現 UnknownErrorException,然後確認原因是請求處理所致,還是 upstream API 回應所致。原因獲得確認,且該行為已解決或經驗證後獲得清楚記錄,即表示完成。
由索引模型根據 Issue 內容生成。
描述
com.google.maps.errors.UnknownErrorException: An unexpected error occurred. Status: INTERNAL, Message: null
at com.google.maps.errors.ApiException.from(ApiException.java:93) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.PlaceAutocompleteRequest$Response.getError(PlaceAutocompleteRequest.java:234) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.internal.OkHttpPendingResult.parseResponseInternal(OkHttpPendingResult.java:316) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.internal.OkHttpPendingResult.parseResponse(OkHttpPendingResult.java:230) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.internal.OkHttpPendingResult.await(OkHttpPendingResult.java:184) ~[google-maps-services-2.2.0.jar!/:?]
at com.google.maps.PendingResultBase.await(PendingResultBase.java:61) ~[google-maps-services-2.2.0.jar!/:?]
...
this is stack trace, i am not able to further identify the cause, what is causing these exception internally. Seeking help to debug these issues and resolve them appropriately.
- 主要語言
- Java
- 星號
- 1.8k
- 分支
- 972
- 平均合併
- 5 小時 7 分鐘
- 30 天內合併 PR
- 1
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
googlemaps/google-maps-services-java 的其他 Issue
-
PlacesApi.placeDetails(context, placeId).await() interface error可能已有人在做 @madtriceps 於 99 天前認領。 未關閉triage me type: bug
難度 3/5 1-2 天 新手友好度 48/100
-
triage me type: feature request
難度 5/5 一週以上 新手友好度 10/100
-
Bagg hacm未關閉
難度 5/5 一週以上 新手友好度 5/100
googlemaps/google-maps-services-java#1059 · 1 個 reaction ·
-
Issue in java da未關閉
難度 5/5 一週以上 新手友好度 10/100
-
Issue in java da未關閉
難度 5/5 一週以上 新手友好度 10/100
查看 googlemaps/google-maps-services-java 的全部 Issue
相似的 Issue
-
type: dependency-upgrade
難度 2/5 1-3 小時 新手友好度 61/100
spring-projects/spring-graphql#1556 ·
-
hermes-queue
難度 1/5 1 小時以內 新手友好度 91/100
chrisalunlloyd2-sudo/mindpalace#373 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
bug priority: lowest
難度 2/5 1-3 小時 新手友好度 62/100
SkriptLang/Skript#8953 · 1 則留言 ·
維護者通常 1 天內回覆
-
quality-assurance
難度 2/5 1-3 小時 新手友好度 62/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#228 ·
維護者通常 1 天內回覆