System.InvalidOperationException errors possibly caused by Sentry.
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- game-dev, observability
Línea de trabajo
Comienza con los stack traces de EnvelopeItem.SerializeAsync(), Utf8JsonWriter.DisposeAsync() y Utf8JsonWriter.FlushAsync() en el Unity package 3.2.3. Investiga cómo se comportan estas rutas con Unity 6000.0.45f1, ya que no se proporcionan pasos de reproducción ni un archivo del repositorio. Se considera completado cuando se haya identificado la causa y confirmado que el envío de eventos ya no produce los errores InvalidOperationException reportados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C#
- Estrellas
- 294
- Forks
- 63
- Merge medio
- 3 d 17 h
- PR fusionados (30 d)
- 26
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/sentry-unity
-
Feature Unity
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
getsentry/sentry-unity#2923 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Tests Unity
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
getsentry/sentry-unity#2918 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Drop `Release` and `Environment` from the editor config windowPosiblemente ocupada @armadavalor la tomó hace 2 días. AbiertoBreaking Change Editor Good First Issue Improvement Unity
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
getsentry/sentry-unity#2914 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Make CI stable and fasterAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
getsentry/sentry-unity#2913 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Feature Unity
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
getsentry/sentry-unity#2796 · 4 comentarios ·
Los mantenedores suelen responder en 3 días
Todos los issues de getsentry/sentry-unity
Issues similares
-
Bug: Needs Replicating
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
space-wizards/RobustToolbox#7189 ·
Los mantenedores suelen responder en 1 día
-
enhancement needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/microsoft-ui-reactor#1460 ·
Los mantenedores suelen responder en 1 día
-
t/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
dotnet/maui#39950 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
The server's default HttpClient fails on plain http and on HTTPS servers without HTTP/2Posiblemente ocupada @yasmoradi la tomó hoy. Abiertoarea / templates
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
bitfoundation/bitplatform#14659 ·
Los mantenedores suelen responder en 1 día
-
DbTransaction.SupportsSavepoints docs say Release/ReleaseAsync are expected to throw, but they are no-ops by designPosiblemente ocupada @alaricd la tomó hoy. Abiertoarea-System.Transactions untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
dotnet/runtime#137040 · 1 comentario ·
Los mantenedores suelen responder en 1 día