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

Bug: Home and About page does not load after logged in #305

Closed
2 tasks done
Tracked by #488
ThraaxSession opened this issue Sep 22, 2022 · 9 comments
Closed
2 tasks done
Tracked by #488

Bug: Home and About page does not load after logged in #305

ThraaxSession opened this issue Sep 22, 2022 · 9 comments
Assignees
Labels
type/bug This issue reports an unwanted behavior.

Comments

@ThraaxSession
Copy link

ThraaxSession commented Sep 22, 2022

⏱️ Before you start...

  • Have you updated FluentHub? You might be using an old version.
  • 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 ThraaxSession added the type/bug This issue reports an unwanted behavior. label Sep 22, 2022
@0x5bfa 0x5bfa self-assigned this Sep 22, 2022
@0x5bfa 0x5bfa added this to the Post v1 milestone Sep 22, 2022
@0x5bfa
Copy link
Owner

0x5bfa commented Sep 22, 2022

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
Copy link
Owner

0x5bfa commented Sep 23, 2022

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.

@ThraaxSession
Copy link
Author

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?

@0x5bfa
Copy link
Owner

0x5bfa commented Sep 23, 2022

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.

@ThraaxSession
Copy link
Author

@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.

@0x5bfa
Copy link
Owner

0x5bfa commented Sep 23, 2022

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
Copy link
Owner

0x5bfa commented Oct 16, 2022

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

@ThraaxSession
Copy link
Author

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

@0x5bfa 0x5bfa changed the title After first login the home (+about) page does not load Bug: Home and About page does not load after logged in Feb 10, 2023
@0x5bfa
Copy link
Owner

0x5bfa commented Feb 10, 2023

This related in #334.

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

@0x5bfa 0x5bfa closed this as completed Feb 10, 2023
@github-project-automation github-project-automation bot moved this to 📋 To do in FluentHub Board Jul 21, 2024
@Lamparter Lamparter moved this from 📋 To do to ✅ Done in FluentHub Board Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue reports an unwanted behavior.
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants