IllegalArgumentException in ConnectionStateChange.java: previous and current state are: DISCONNECTED
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- mobile, networking
調査の方向性
The exception comes from the guard in ConnectionStateChange.java, which rejects a state update where previous and current are both DISCONNECTED. The caller is WebSocketConnection.updateState (around line 155), reached from the run method near line 322. Start by reading the guard and the code that decides which state to pass, then find out how a DISCONNECTED-to-DISCONNECTED update happens on Android 9. Done means that path no longer throws, or is skipped on purpose, and a test covers that transition. The issue does not say which behaviour is wanted, so ask the maintainers first.
索引モデルが issue の本文から書いたものです。
説明
Hi there,
I got a crash in ConnectionStateChange
using implementation 'com.pusher:pusher-java-client:2.0.0'
All crashes are happening on Android 9 systems and the previous and current state are always DISCONNECTED.
java.lang.IllegalArgumentException: Attempted to create an connection state update where both previous and current state are: DISCONNECTED
at com.pusher.client.connection.ConnectionStateChange. + 4(ConnectionStateChange.java:4)
at com.pusher.client.connection.websocket.WebSocketConnection.updateState + 155(WebSocketConnection.java:155)
at com.pusher.client.connection.websocket.WebSocketConnection.access$200 + 27(WebSocketConnection.java:27)
at com.pusher.client.connection.websocket.WebSocketConnection$8.run + 322(WebSocketConnection.java:322)
at com.pusher.client.util.Factory$1.run + 109(Factory.java:109)
at java.util.concurrent.ThreadPoolExecutor.runWorker + 1167(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run + 641(ThreadPoolExecutor.java:641)
at java.lang.Thread.run + 764(Thread.java:764)
- 主要言語
- Java
- スター
- 315
- フォーク
- 140
- 平均マージ
- 11日 5時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pusher/pusher-websocket-java のほかの issue
-
FileNotFoundException thrown when server responds with 400 or above対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pusher/pusher-websocket-java#261 ·
-
java.lang.NoClassDefFoundError: com.pusher.client.Pusher$$ExternalSyntheticLambda0 on Android API 21-22 anyway対応中かも @Keith-wright が 9 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
pusher/pusher-websocket-java#366 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
pusher/pusher-websocket-java#340 · コメント 3 件 · リアクション 7 件 ·
-
難易度 4/5 1〜2日 初心者へのやさしさ 8/100
pusher/pusher-websocket-java#311 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 12/100
pusher/pusher-websocket-java#308 · コメント 2 件 ·
pusher/pusher-websocket-java の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
IdentityArrayObjectSet iterator remove may throw ArrayIndexOutOfBoundsException対応中かも @jiteshkhatri11 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
javapathfinder/jpf-core#660 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
breaking change bug needs human review not ready priority medium size S
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
martin-francois/symphony-trello#1193 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信