PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Sometimes exception occurs when gaining focus

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

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

bug crash
主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
26

説明

  • What happened?
    Error pops up:
In update thread: [string "#@..."]: 47: attempt to index local 'outFile' (a nil value)
stack traceback:
[string "#@..."]: 47: in function 'downloadFile'
[string "#@..."]: 175: in main chunk
Press Enter/Escape to Dismiss, or F5 to restart the application.

Problem will persist upon either dismissing or restarting the application.

  • What were you trying to do?
    Switching to POB from POE.

  • What steps will reproduce the bug?
    When POB is minimized on a second monitor and I ALT-TAB into it.

  • Does it reproduce every time?
    Problem does not reproduce 100% of the time but is rather frequent.

  • Provide a build code:
    Running 1.4.170.24 on Windows 10.

  • Screenshots:
    https://imgur.com/a/VhkhIYr

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

2台目のモニターで POB を最小化し、Windows 10 で Alt-Tab を使用してフォーカス変更を再現します。報告されたスタックトレースの位置にある update-thread の downloadFile 関数から調査を開始し、なぜ outFile が nil なのかを調べます。フォーカスを切り替えても例外が発生せず、閉じるか再起動した後もアプリケーションを引き続き使用できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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