Setting `strictBounds` to true results in increase in UnknownErrorException in the autocomplete api

オープン
#1,009 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
api

調査の方向性

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分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googlemaps/google-maps-services-java のほかの issue

googlemaps/google-maps-services-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。