FluentHub icon indicating copy to clipboard operation
FluentHub copied to clipboard

After first login the home (+about) page does not load

Open ThraaxSession opened this issue 3 years ago • 6 comments

⏱️ Before you start...

  • [X] Have you updated FluentHub? You might be using an old version.
  • [X] Have you checked if a similar issue has already been reported?

🪟 What version of Windows is this issue present?

Windows 10 Dev

🔢 What version/architecture of FluentHub are you on?

RELEASE | 0.3.7

📄 Description

After first login the home page doesn't load

🪜 Steps To Reproduce

  • New installation
  • First login
  • ... then it happened
  • Also about page doesn't load. :/ but without error

🤔 Expected behavior

The app starts normally

📸 Assets

2022-09-22 17:29:22.742 +02:00 [ERR] LoadHomeContentsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadHomeContentsAsync>d__25.MoveNext() + 0x36b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadUserHomePageAsync>d__24.MoveNext() + 0x110

2022-09-22 17:29:28.137 +02:00 [ERR] LoadHomeContentsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadHomeContentsAsync>d__25.MoveNext() + 0x36b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadUserHomePageAsync>d__24.MoveNext() + 0x110

2022-09-22 17:29:35.656 +02:00 [ERR] LoadHomeContentsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadHomeContentsAsync>d__25.MoveNext() + 0x36b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadUserHomePageAsync>d__24.MoveNext() + 0x110

2022-09-22 17:40:03.793 +02:00 [ERR] LoadHomeContentsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadHomeContentsAsync>d__25.MoveNext() + 0x36b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadUserHomePageAsync>d__24.MoveNext() + 0x110

2022-09-22 17:40:11.883 +02:00 [ERR] LoadHomeContentsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadHomeContentsAsync>d__25.MoveNext() + 0x36b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadUserHomePageAsync>d__24.MoveNext() + 0x110

2022-09-22 17:40:13.674 +02:00 [ERR] LoadHomeContentsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadHomeContentsAsync>d__25.MoveNext() + 0x36b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadUserHomePageAsync>d__24.MoveNext() + 0x110

2022-09-22 17:40:52.835 +02:00 [ERR] LoadNotificationsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.NotificationsViewModel.<LoadNotificationsAsync>d__27.MoveNext() + 0x17a
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.NotificationsViewModel.<LoadUserNotificationsPageAsync>d__26.MoveNext() + 0x11a

2022-09-22 17:40:55.158 +02:00 [ERR] LoadNotificationsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.NotificationsViewModel.<LoadNotificationsAsync>d__27.MoveNext() + 0x17a
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.NotificationsViewModel.<LoadUserNotificationsPageAsync>d__26.MoveNext() + 0x11a

2022-09-22 17:41:47.754 +02:00 [ERR] LoadHomeContentsAsync
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at FluentHub.Octokit.Queries.Users.NotificationQueries.Map(List`1, IReadOnlyList`1) + 0x1c5
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0xc54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadHomeContentsAsync>d__25.MoveNext() + 0x36b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at FluentHub.Uwp.ViewModels.Home.UserHomeViewModel.<LoadUserHomePageAsync>d__24.MoveNext() + 0x110

ThraaxSession avatar Sep 22 '22 15:09 ThraaxSession

Thank you for reporting this issue. It've been already tracked in v1 tracker(a priority problem). This issue is caused by raw operation of notification response json, that is about not avoiding NullRef or OutOfRange exception.

0x5bfa avatar Sep 22 '22 15:09 0x5bfa

This issue was fixed. Could you build 'main' branch with build instructions in README.md? If not, this correction will be applied in v0.3.9 version in MS Store.

0x5bfa avatar Sep 23 '22 05:09 0x5bfa

Uhh @onein528 I think I am not able as I didn't work with C# for a minor time. I would like to wait for the next update in MS Store. I found some issues in about page (I couldn't click through the menus on the left side) and when I open any repo which contains links, they didn't open. I assume I should create another issue. Or do you know it's already tracked?

ThraaxSession avatar Sep 23 '22 08:09 ThraaxSession

I would like to wait for the next update in MS Store.

I see.

when I open any repo which contains links, they didn't open

I didn't know. Can you create a new issue?

I found some issues in about page (I couldn't click through the menus on the left side)

It've been fixed in the latest stable version 0.3.8. it is available in github as well as MS Store.

0x5bfa avatar Sep 23 '22 08:09 0x5bfa

@onein528 when will be 0.3.9 available in MS Store? I'll check the issues then again and create if they are persisted. :) I guess when I installed yesterday, even 0.3.8 wasn't available at that time I guess.

ThraaxSession avatar Sep 23 '22 08:09 ThraaxSession

I'm not sceduling version bumping time. the time when being added breaking changes or added a lot of changes.

0.3.8 is already published. but take 3 days to publish everyone.

0x5bfa avatar Sep 23 '22 08:09 0x5bfa

Can you check this issue on latest build v0.5? @ThraaxSession https://github.com/FluentHub/FluentHub/releases/tag/0.5.0

0x5bfa avatar Oct 16 '22 17:10 0x5bfa

@onein528 can you tell me when it is in Microsoft store available?

ThraaxSession avatar Oct 17 '22 13:10 ThraaxSession

This related in #334.

v0.5 is released. Can you try it again?

0x5bfa avatar Feb 10 '23 08:02 0x5bfa