Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Issues metrics are no longer working #63

Closed
david-poindexter opened this issue Mar 9, 2024 · 1 comment · Fixed by #64
Closed

GitHub Issues metrics are no longer working #63

david-poindexter opened this issue Mar 9, 2024 · 1 comment · Fixed by #64
Labels
bug Something isn't working

Comments

@david-poindexter
Copy link
Contributor

In review of the scheduled task logs, I ran across the following. I am wondering if this is related to the XML serialization issue introduced in DNN 9.13.1. 🤔

@valadas if this is related to the mentioned DNN issue, perhaps we can look into this one together and see if we can find some clues on how to resolve this in DNN better for third-party modules like this one.

CC: @WillStrohl @bdukes @mitchelsellers @donker @mtrutledge

Activity: GitHub Issues
System.AggregateException: One or more errors occurred. ---> System.OverflowException: Value was either too large or too small for an Int32. at System.Convert.ToInt32(Int64 value) at System.Int64.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 1442 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 193 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 1495 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 193 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 1522 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 193 at Octokit.SimpleJson.DeserializeObject(String json, Type type, IJsonSerializerStrategy jsonSerializerStrategy) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 591 at Octokit.SimpleJson.DeserializeObject[T](String json, IJsonSerializerStrategy jsonSerializerStrategy) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 603 at Octokit.Internal.SimpleJsonSerializer.Deserialize[T](String json) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 22 at Octokit.Internal.JsonHttpPipeline.DeserializeResponse[T](IResponse response) in C:\projects\octokit-net\Octokit\Http\JsonHttpPipeline.cs:line 62 at Octokit.Connection.d__571.MoveNext() in C:\projects\octokit-net\Octokit\Http\Connection.cs:line 627 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiConnection.d__421.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiConnection.<>c__DisplayClass17_01.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiPagination.d__01.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result() at Dnn.CommunityMetrics.GitHubIssueActivity.GetUserActivity(ActivityDTO activity) at Dnn.CommunityMetrics.UserActivityController.GetUserActivity(ActivityDTO activity, DateTime date) at Dnn.CommunityMetrics.ActivityJob.ProcessActivities() ---> (Inner Exception #0) System.OverflowException: Value was either too large or too small for an Int32. at System.Convert.ToInt32(Int64 value) at System.Int64.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 1442 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 193 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 1495 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 193 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 1522 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 193 at Octokit.SimpleJson.DeserializeObject(String json, Type type, IJsonSerializerStrategy jsonSerializerStrategy) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 591 at Octokit.SimpleJson.DeserializeObject[T](String json, IJsonSerializerStrategy jsonSerializerStrategy) in C:\projects\octokit-net\Octokit\SimpleJson.cs:line 603 at Octokit.Internal.SimpleJsonSerializer.Deserialize[T](String json) in C:\projects\octokit-net\Octokit\Http\SimpleJsonSerializer.cs:line 22 at Octokit.Internal.JsonHttpPipeline.DeserializeResponse[T](IResponse response) in C:\projects\octokit-net\Octokit\Http\JsonHttpPipeline.cs:line 62 at Octokit.Connection.d__571.MoveNext() in C:\projects\octokit-net\Octokit\Http\Connection.cs:line 627 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiConnection.d__421.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiConnection.<>c__DisplayClass17_01.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiPagination.d__01.MoveNext()<---

@david-poindexter david-poindexter added the bug Something isn't working label Mar 9, 2024
@david-poindexter
Copy link
Contributor Author

Okay, after a deeper dive into this, I now do not believe this has anything to do with the DNN serialization issue. Apologies for the false alarm. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant