question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The home page does not load after the first login

See original GitHub issue

⏱️ 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 11 Dev

🔢 What version/architecture of FluentHub are you on?

Version: 0.3.8.0 | MS Store release | Windows x64

📄 Description

This is the first time I use FluentHub. After logged in the GitHub account, the home page wasn’t loaded, threw an error: Object reference not set to an instance of an object. Also the notifications page too.

🪜 Steps To Reproduce

No response

🤔 Expected behavior

The app starts normally.

📟 Stack Trace

Stack trace details<div>
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0x8ed
--- 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() + 0x371
--- 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() + 0x1e0
--- 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 Microsoft.Toolkit.Mvvm.ComponentModel.ObservableObject.<>c__DisplayClass20_0`1.<<SetPropertyAndNotifyOnCompletion>g__MonitorTask|0>d.MoveNext() + 0xab
</div>

📸 Assets

2022-10-01 21:25:11.961 +07:00 [ERR] LoadHomeContentsAsync
System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentHub.Octokit.Queries.Users.NotificationQueries.<GetAllAsync>d__0.MoveNext() + 0x8b8
--- 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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
lebao3105commented, Oct 28, 2022

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

Today I tried it, and the home page is working now. Thanks for your work!

0reactions
Lampartercommented, Oct 16, 2022

The profile page, however, shows Invalid URI: The hostname could not be parsed

@tomc128 I’ve never seen this error before. It looks like this may be one of three errors:

  • Internet error or Microsoft Policy (are you accessing this from a work or school Microsoft account, as in a Microsoft Azure Local/Active Directory environment (e.g., in my school, some school computers have GitHub servers blocked))
  • Error within FluentHub requests (would’ve been fixed by now; obviously FluentHub on Microsoft Store is outdated)
  • Error with your computer’s permissions and firewall.

and the account settings page does not load at all.

@tomc128 This is a known error. Currently, the FluentHub settings page is completely and absolutely broken and so far, there are no active plans to fix it.

Recently, FluentHub went through a major and completely https://github.com/FluentHub/FluentHub/labels/breaking change, meaning we couldn’t really focus on anything else. Now with that out of the way, we can focus on more important yet minor changes to the codebase. So, please just bear with us as we fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web pages will not load on first attempt, sometimes even ...
Web pages will not load on first attempt, sometimes even the second - Microsoft Community.
Read more >
How to Fix Web Pages That Won't Load
One reason your web page isn't loading is that your browser has a specific issue. These browser-based problems can prevent your access to ......
Read more >
How to Fix Windows 10 Stuck on Welcome Screen - YouTube
... you how to fix Windows 10 stuck at the welcome screen | Windows 10 Stuck on Welcome Screen or loading screen After...
Read more >
I can't log in to a website
Having trouble logging into a website? There are lots of things that could be wrong. Here's a detailed guide to help you find...
Read more >
Incorrect display of the homepage if you don't log into the site
When I go to the site, I don't see any errors. That means this could be a simple caching issue. If so, you're...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found