Chart.combine sometimes results in "Collection was modified; enumeration operation may not execute."
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- fsharp
調査の方向性
DynamicObj.GetProperties、DynObj.combine、GenericChart.combineLayouts、GenericChart.combine を通るスタックトレースから始めます。issue にはソースファイルもテストも記載されていません。チャートの結合中に断続的に発生する例外を再現し、その後、チャートの結合で collection-modified エラーが発生しなくなったことを確認し、このパスに対する既存のテストがある場所に回帰テストのカバレッジを追加します。
索引モデルが issue の本文から書いたものです。
説明
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.MoveNext()
at <StartupCode$DynamicObj-FSC472>.$DynamicObj.GetProperties@81.GenerateNext(IEnumerable`1& next)
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
at DynamicObj.DynamicObj.GetProperties(Boolean includeInstanceProperties)
at DynamicObj.DynObj.combine(DynamicObj first, DynamicObj second)
at DynamicObj.DynObj.combine(DynamicObj first, DynamicObj second)
at DynamicObj.DynObj.combine(DynamicObj first, DynamicObj second)
at Plotly.NET.GenericChart.combineLayouts@243(Layout first, Layout second)
at Plotly.NET.GenericChart.combine@309.Invoke(GenericChart acc, GenericChart elem)
The sequences of data I'm feeding it are from immutable lists; so I don't think it's a problem with the way I'm calling Plotly.NET.
I can try again (with the same data) and usually it is successful. Seems to be a sporadic issue. Very odd.
- 主要言語
- F#
- スター
- 860
- フォーク
- 99
- 平均マージ
- 22分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/Plotly.NET のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
plotly/Plotly.NET#498 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
plotly/Plotly.NET#495 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
plotly/Plotly.NET#494 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
plotly/Plotly.NET#492 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
plotly/Plotly.NET#485 · コメント 1 件 ·
plotly/Plotly.NET の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
scope: charts status: waiting for maintainer
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
chore P3 plotly-internal size: 3 task
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Live-Charts/LiveCharts2#2394 ·
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jbkunst/highcharter#849 ·