System.InvalidOperationException errors possibly caused by Sentry.
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- game-dev, observability
Hướng nghiên cứu
Bắt đầu với các stack trace của EnvelopeItem.SerializeAsync(), Utf8JsonWriter.DisposeAsync() và Utf8JsonWriter.FlushAsync() trong Unity package 3.2.3. Điều tra cách các đường đi này hoạt động trên Unity 6000.0.45f1, vì không có bước tái hiện hoặc tệp repository nào được cung cấp. Hoàn thành có nghĩa là xác định được nguyên nhân và xác nhận rằng việc gửi sự kiện không còn tạo ra các lỗi InvalidOperationException đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
Unity: 6000.0.45f1
Sentry: Unity package 3.2.3
Steps to Reproduce
NA
Expected Result
No errors to be raised.
Actual Result
The app runs into System.InvalidOperationException: An attempt was made to transition a task to a final state when it had already completed. errors
Any logs or screenshots
The following errors are reported to Sentry with little context. Each show an action taken by Sentry when creating and sending events.
System.InvalidOperationException: An attempt was made to transition a task to a final state when it had already completed.
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException() in Generics__24.cpp:line 7307
at Sentry.Protocol.Envelopes.EnvelopeItem.SerializeAsync() in Sentry__3.cpp:line 20735
at System.Threading.ExecutionContext.RunInternal() in mscorlib__9.cpp:line 30488
at System.Threading.ExecutionContext.RunInternal() in mscorlib__9.cpp:line 28945
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() in mscorlib__19.cpp:line 23443
System.InvalidOperationException: An attempt was made to transition a task to a final state when it had already completed.
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult() in Generics__24.cpp:line 7169
at System.Text.Json.Utf8JsonWriter.DisposeAsync() in Sentry.System.Text.Json__3.cpp:line 19595
at System.Threading.ExecutionContext.RunInternal() in mscorlib__9.cpp:line 30488
at System.Threading.ExecutionContext.RunInternal() in mscorlib__9.cpp:line 28945
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() in mscorlib__19.cpp:line 23443
System.InvalidOperationException: An attempt was made to transition a task to a final state when it had already completed.
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException() in Generics__24.cpp:line 7307
at System.Text.Json.Utf8JsonWriter.FlushAsync() in Sentry.System.Text.Json__3.cpp:line 19926
at System.Threading.ExecutionContext.RunInternal() in mscorlib__9.cpp:line 30488
at System.Threading.ExecutionContext.RunInternal() in mscorlib__9.cpp:line 28945
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run() in mscorlib__19.cpp:line 23443
Original report: Discord
- Ngôn ngữ chính
- C#
- Star
- 295
- Fork
- 63
- Merge trung bình
- 3 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 26
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/sentry-unity
-
Feature Unity
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
getsentry/sentry-unity#2923 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Tests Unity
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
getsentry/sentry-unity#2918 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Drop `Release` and `Environment` from the editor config windowCó thể đã có người làm @armadavalor đã nhận 1 ngày trước. Đang mởBreaking Change Editor Good First Issue Improvement Unity
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
getsentry/sentry-unity#2914 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Make CI stable and fasterĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
getsentry/sentry-unity#2913 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Feature Unity
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
getsentry/sentry-unity#2796 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của getsentry/sentry-unity
Issue tương tự
-
needs-area-label
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug github_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
endercodezz/BYDLO#336 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
SubtitleEdit/subtitleedit#16638 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
sebastienros/jint#4449 ·
Maintainer thường phản hồi trong vòng 1 ngày