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

Exception error "Nullable object must have a value." (New regression bug from 5.26.3 that just released) #423

Closed
gileli121 opened this issue Jan 24, 2025 · 2 comments
Labels
bug Something isn't working fixed

Comments

@gileli121
Copy link
Member

Recently, a report was received about a different error that has never been reported before:

**Version: v5.26.3
Type: MS Store
Installed: Yes
IsAdminHelper: No
IsAdmin: No
5ZH8X: [Error] Got fatal exception and handled by App_OnDispatcherUnhandledException: System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at m1e.o1S.R1G()
at dEG.kEI.i5M()
at dEG.kEI.r5F.E56(Object , EventArgs )
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
5ZH8X: [Info] SetLanguage called
5ZH8X: [Info] SetLanguage is falling back to default language
5ZH8X: [Info] SetLanguage is configuring language en

**Exception:
System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at m1e.o1S.R1G()
at dEG.kEI.i5M()
at dEG.kEI.r5F.E56(Object , EventArgs )
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

It seems to be something very new that started occurring with version 5.26.3, which was released just a few days ago.

After a thorough examination of the code, it appears that the issue is linked to the rewritten code responsible for the toolbar and arrow (#402). Upon closer inspection, it seems there is a race condition causing this type of error.

@gileli121 gileli121 added bug Something isn't working in-progress labels Jan 24, 2025
@gileli121
Copy link
Member Author

While working on the fix, it’s possible that this correction also resolved similar errors that, in hindsight, were likely caused by the same issue in the code I just fixed. After this fix, the software may operate more stably, potentially without several other similar errors reported in the past.

@gileli121
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

1 participant