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

Crash when selecting a category #208

Open
1 of 4 tasks
CIGuy opened this issue Mar 1, 2025 · 7 comments
Open
1 of 4 tasks

Crash when selecting a category #208

CIGuy opened this issue Mar 1, 2025 · 7 comments
Assignees
Labels
bug🐛 Something isn't working need more info 📌

Comments

@CIGuy
Copy link

CIGuy commented Mar 1, 2025

Describe the bug

Application crashes when selecting a category filter

Steps to Reproduce

Steps to reproduce the behavior:

  1. Given the following environment
  2. Go to 'Manage categories & set filters'
  3. Click on the desired category. In my case, I only have one. It s called "Customer365" and uses the "service" icon
  4. The app either hangs or crashes with a null reference exception.
  5. See error

Expected behavior

Display filtered records

Screenshots

Environment

App Version(s):1.3.5.0

Windows 10/11 Build Number:
Windows 11 23H2 build 22631.4890

  • Windows 10 > May 2020 Update (19041)
  • Windows 11 21H2 Update (22000)
  • Windows 11 22H2/23H2 build 22631.4890
  • Insider Build ({build_number})

Additional context

System.NullReferenceException: Object reference not set to an instance of an object.Value cannot be null.
Parameter name: source

@jp-weber
Copy link
Member

jp-weber commented Mar 1, 2025

I am sorry that you are having problems with the filtering using the categories. The log entry would be useful to narrow down the potential problem.

The log is accessible as a menu item via settings/functions or via cmd: https://github.com/2fast-team/2fast/wiki/Open-(error)-log-via-cmd

@jp-weber jp-weber added bug🐛 Something isn't working need more info 📌 labels Mar 1, 2025
@jp-weber jp-weber self-assigned this Mar 1, 2025
@CIGuy
Copy link
Author

CIGuy commented Mar 1, 2025

I turned it on. When I try to click on Show Error Log the application doesn't do anything. Where can I find the log?

@CIGuy
Copy link
Author

CIGuy commented Mar 1, 2025

Here is what eventvwr says:
2 Events
first event 3/1/2025 11:35:55 AM
Event ID 1000 Source Application Error

Faulting application name: Project2FA.UWP.exe, version: 1.0.0.0, time stamp: 0x67b4d81a
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.22621.4830, time stamp: 0x54804ad0
Exception code: 0xc000027b
Fault offset: 0x0000000000873c80
Faulting process id: 0x0x4A20
Faulting application start time: 0x0x1DB8AD04CC6262E
Faulting application path: C:\Program Files\WindowsApps\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_1.3.5.0_x64__nxr4mypqfqb9c\Project2FA.UWP.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: f14d3c07-5acc-49e9-a1f0-22d8da7c2f4e
Faulting package full name: 38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_1.3.5.0_x64__nxr4mypqfqb9c
Faulting package-relative application ID: App

second event 3/1/2025 11:35:58 AM
Event ID 1001 Source Windows Error Reporting

Faulting application name: Project2FA.UWP.exe, version: 1.0.0.0, time stamp: 0x67b4d81a
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.22621.4830, time stamp: 0x54804ad0
Exception code: 0xc000027b
Fault offset: 0x0000000000873c80
Faulting process id: 0x0x4A20
Faulting application start time: 0x0x1DB8AD04CC6262E
Faulting application path: C:\Program Files\WindowsApps\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_1.3.5.0_x64__nxr4mypqfqb9c\Project2FA.UWP.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: f14d3c07-5acc-49e9-a1f0-22d8da7c2f4e
Faulting package full name: 38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_1.3.5.0_x64__nxr4mypqfqb9c
Faulting package-relative application ID: App

@jp-weber
Copy link
Member

jp-weber commented Mar 1, 2025

I turned it on. When I try to click on Show Error Log the application doesn't do anything. Where can I find the log?

The .log file should be opened with the standard program that corresponds to the type. If no log has been created, a message is displayed in the app.

When the app.log is created, the file is saved in the local folder:

%LOCALAPPDATA%\Packages\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_nxr4mypqfqb9c\LocalState

@CIGuy
Copy link
Author

CIGuy commented Mar 1, 2025

Here are the contents:

2025-02-26 11:28:15 - uptime -10675199.02:48:05.4775808
2025-02-26 11:28:15 - - The RPC server is unavailable.

The RPC server is unavailable.

Log - System.Exception: The RPC server is unavailable.

The RPC server is unavailable.

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 Project2FA.ViewModels.AddAccountViewModelBase.d__85.MoveNext() + 0x40d

2025-02-26 11:28:15 - uptime -10675199.02:48:05.4775808
2025-02-26 11:28:15 - - The RPC server is unavailable.

The RPC server is unavailable.

Log - System.Exception: The RPC server is unavailable.

The RPC server is unavailable.

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 Project2FA.ViewModels.AddAccountViewModelBase.d__85.MoveNext() + 0x40d

2025-02-26 11:28:15 - uptime -10675199.02:48:05.4775808
2025-02-26 11:28:15 - - The RPC server is unavailable.

The RPC server is unavailable.

Log - System.Exception: The RPC server is unavailable.

The RPC server is unavailable.

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 Project2FA.ViewModels.AddAccountViewModelBase.d__85.MoveNext() + 0x40d

2025-02-26 11:28:15 - uptime -10675199.02:48:05.4775808
2025-02-26 11:28:15 - - The RPC server is unavailable.

The RPC server is unavailable.

Log - System.Exception: The RPC server is unavailable.

The RPC server is unavailable.

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 Project2FA.ViewModels.AddAccountViewModelBase.d__85.MoveNext() + 0x40d

2025-02-26 11:43:48 - System.NullReferenceException: Object reference not set to an instance of an object.Object reference not set to an instance of an object.
2025-02-26 11:48:30 - uptime -10675199.02:48:05.4775808
2025-02-26 11:48:30 - - Unable to remove the file to be replaced. (Exception from HRESULT: 0x80070497)
Log - System.Exception: Unable to remove the file to be replaced. (Exception from HRESULT: 0x80070497)
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 UNOversal.Services.File.FileService.d__13.MoveNext() + 0x84
--- 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.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0xf
at Project2FA.Services.DataService.d__73.MoveNext() + 0x386

2025-02-26 13:25:04 - System.NullReferenceException: Object reference not set to an instance of an object.Object reference not set to an instance of an object.
2025-03-01 10:24:04 - System.NullReferenceException: Object reference not set to an instance of an object.Value cannot be null.
Parameter name: source
2025-03-01 10:26:21 - System.NullReferenceException: Object reference not set to an instance of an object.Value cannot be null.
Parameter name: source
2025-03-01 10:27:27 - System.NullReferenceException: Object reference not set to an instance of an object.Value cannot be null.
Parameter name: source
2025-03-01 10:31:16 - System.NullReferenceException: Object reference not set to an instance of an object.Value cannot be null.
Parameter name: source
2025-03-01 10:46:17 - System.NullReferenceException: Object reference not set to an instance of an object.Value cannot be null.
Parameter name: source
2025-03-01 11:36:10 - System.NullReferenceException: Object reference not set to an instance of an object.Value cannot be null.
Parameter name: source

@CIGuy
Copy link
Author

CIGuy commented Mar 1, 2025

Something else that is odd is that if I have an entry without an account name specified the "Confirm" button in the edit window is not clickable which makes it impossible to put it in a category.

If this helps, I have about 30 entries that were all imported via QR code from Google Authenticator. Is is possible you are expecting some fields to have values and they don't on these records?

@CIGuy
Copy link
Author

CIGuy commented Mar 1, 2025

Just to be sure I added an account name for any that did not have it and the problem is still there.

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

No branches or pull requests

2 participants