0x5bfa / FluentHub

A stylish yet powerful GitHub client for Windows
MIT License
1.08k stars 52 forks source link

Unexpected crash on dashboard of user #493

Closed Rekkonnect closed 1 month ago

Rekkonnect commented 1 month ago

πŸͺŸ What version of Windows is this issue present?

πŸͺŸ Windows 10

πŸ”’ What version of FluentHub are you on?

0.8.60.0 | x64 | RELEASE

πŸ“„ Description

After logging in, as the home page was loading my repositories and data, it suddenly failed saying that something went wrong. This happens every time I retry on this account. The log mentions a potential bug in Octokit (see stack trace below).

πŸͺœ Steps To Reproduce

No response

πŸ€” Expected behavior

No response

βš’οΈ Did you find any workaround?

No response

πŸ“‘ Stack Trace

Stack trace details
``` System.OverflowException: Value was either too large or too small for an Int32. at System.Convert.ThrowInt32OverflowException() at System.Convert.ToInt32(Int64 value) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/SimpleJson.cs:line 1528 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/Http/SimpleJsonSerializer.cs:line 183 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/SimpleJson.cs:line 1528 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/Http/SimpleJsonSerializer.cs:line 183 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/SimpleJson.cs:line 1528 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/Http/SimpleJsonSerializer.cs:line 183 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/SimpleJson.cs:line 1528 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/Http/SimpleJsonSerializer.cs:line 183 at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/SimpleJson.cs:line 1528 at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /_/Octokit/Http/SimpleJsonSerializer.cs:line 183 at Octokit.SimpleJson.DeserializeObject[T](String json, IJsonSerializerStrategy jsonSerializerStrategy) in /_/Octokit/SimpleJson.cs:line 596 at Octokit.Internal.JsonHttpPipeline.DeserializeResponse[T](IResponse response) in /_/Octokit/Http/JsonHttpPipeline.cs:line 62 at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken, Func`2 preprocessResponseBody) in /_/Octokit/Http/Connection.cs:line 696 at Octokit.ApiConnection.GetPage[TU](Uri uri, IDictionary`2 parameters, String accepts, ApiOptions options, Func`2 preprocessResponseBody) in /_/Octokit/Http/ApiConnection.cs:line 672 at Octokit.ApiConnection.<>c__DisplayClass19_0`1.<b__0>d.MoveNext() in /_/Octokit/Http/ApiConnection.cs:line 230 --- End of stack trace from previous location --- at Octokit.ApiPagination.GetAllPages[T](Func`1 getFirstPage, Uri uri) in /_/Octokit/Clients/ApiPagination.cs:line 23 at FluentHub.Octokit.Queries.Users.ActivityQueries.GetAllAsync(String login) at FluentHub.App.ViewModels.Viewers.DashBoardViewModel.LoadHomeContentsAsync() at FluentHub.App.ViewModels.Viewers.DashBoardViewModel.LoadUserHomePageAsync() ```

πŸ“Έ Assets

No response

0x5bfa commented 1 month ago

Thank for the report! Octokit has fixed this issue in the latest release v13 accompanying partial fix from v12. However, we haven't published the package of updated version to the Store yet. We hopefully wanna do it in this summer.

duplicate of #470

0x5bfa commented 1 month ago

@Lamparter its not planned but closed as duplication

Lamparter commented 1 month ago

@Lamparter its not planned but closed as duplication

I know

Lamparter commented 1 month ago

Closing something as not planned also means 'wontfix/can't replicate/stale/duplicate' It's in GitHub developer guide