FluentHub icon indicating copy to clipboard operation
FluentHub copied to clipboard

An exception from LoadActivitiesAsync() occur in loading user home page in the Store released app

Open hunterlan opened this issue 2 years ago • 12 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 11

🔢 What version/architecture of FluentHub are you on?

0.3.30.0 | X64 | RELEASE

📄 Description

Program crashes on opening page "Home".

Also, if you straight away click to profile, program will not crush, until you back to page "Home".

🪜 Steps To Reproduce

  1. Launch FluentHub.
  2. Waiting for starting load page.
  3. See, how FluentHub unexpectedly closed.

🤔 Expected behavior

Expected to see information on page "Home", and FluentHub will not closed by exception.

📸 Assets

Can't provide logs, because button, which should open log file or path to log file doesn't work :(

hunterlan avatar Jul 26 '22 09:07 hunterlan

I want to let you know: publishing the app to the Store is the first time I've solved Linq, which has been the biggest problem in our community for a long time. To fix that, I've changed loads of things and so there're many many bugs. sorry been bad app

What all I need is log, please open C:\Users\[USERNAME]\AppData\Local\Packages\FluentHubDev_9es9q7t8fr9b8\LocalState\FluentHub.Logs and please show me.

0x5bfa avatar Jul 26 '22 09:07 0x5bfa

Log20220726.log @onein528 here it is. I understand that developing is difficult as a programmer. Maybe, may I help to develop program?

hunterlan avatar Jul 26 '22 10:07 hunterlan

I did see the log. According to it, you seem to click "See feeds" on Home page, right?

Maybe, may I help to develop program?

Definitely of course! that's a greate honor!

0x5bfa avatar Jul 26 '22 10:07 0x5bfa

I did see the log. According to it, you seem to click "See feeds" on Home page, right?

No, I just launched program, and then it crashes. But, maybe it logged situation, when I was in time and click to "Profile", and then, click other pages. Wanted to see what implemented 😅

hunterlan avatar Jul 26 '22 12:07 hunterlan

2022-07-26 11:31:50.048 +02:00 [ERR] LoadActivitiesAsync
System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentHub.Octokit.Wrappers.ActivityWrapper.Wrap(IReadOnlyList`1) + 0x179
   at FluentHub.Octokit.Queries.Users.ActivityQueries.<GetAllAsync>d__0.MoveNext() + 0x156
--- 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.ActivitiesViewModel.<LoadActivitiesAsync>d__14.MoveNext() + 0x345

When launched the app, LoadActivitiesAsync should not be called actually. you didn't click "activities" button on the sidenavigation really?

0x5bfa avatar Jul 26 '22 12:07 0x5bfa

No, I didn't. I can send you a video

hunterlan avatar Jul 26 '22 12:07 hunterlan

Looking forward to see that.

0x5bfa avatar Jul 26 '22 12:07 0x5bfa

Looking forward to see that.

https://user-images.githubusercontent.com/38838841/181012498-2d95e117-0720-4489-858c-fd11508c9f00.mp4

hunterlan avatar Jul 26 '22 13:07 hunterlan

Weird. Could not possible. but I know activities page has bugs and has to be fixed immediately.

Thank you for reporting this. I'll work on this.

By the way, you can build this project?

0x5bfa avatar Jul 26 '22 13:07 0x5bfa

By the way, you can build this project?

Doing this right now.

hunterlan avatar Jul 26 '22 13:07 hunterlan

That's exactly what's happening to me in microsoft store version..

hedhehd avatar Jul 26 '22 13:07 hedhehd

Weird. Could not possible

Agree with you, because I've built it, and it works normally (if I won't mention "Activity" of course 😅)

hunterlan avatar Jul 26 '22 13:07 hunterlan

This issue have been fixed already.

0x5bfa avatar Aug 22 '22 15:08 0x5bfa