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.

Crash when trying to create a new tag in new tags UI

See original GitHub issue

Description

Files Preview (4.35) crashes when trying to create a new tag, as soon as I start typing the name for the new tag.

debug:

2023-02-16 10:29:16.0409|ERROR|AppUnhandledException|Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Files.App.SettingsPages.Advanced.IsNameValid(String name) at Files.App.SettingsPages.Advanced.NewTagTextBox_TextChanged(Object sender, TextChangedEventArgs e) at ABI.Microsoft.UI.Xaml.Controls.TextChangedEventHandler.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr e) — End of stack trace from previous location — at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr) at ABI.Windows.ApplicationModel.Core.IUnhandledErrorMethods.Propagate(IObjectReference _obj) at Microsoft.AppCenter.Utils.ApplicationLifecycleHelperWinUI.<.ctor>b__0_3(Object sender, UnhandledErrorDetectedEventArgs eventArgs) — End of stack trace from previous location — at Microsoft.AppCenter.Utils.ApplicationLifecycleHelperWinUI.<.ctor>b__0_3(Object sender, UnhandledErrorDetectedEventArgs eventArgs) at ABI.System.EventHandler`1.Do_Abi_Invoke[TAbi](Void* thisPtr, IntPtr sender, TAbi args)

Steps To Reproduce

  1. Go to the tags UI in settings
  2. Click “new”
  3. Start typing the name

Steps to fix

not been able to fix yet

Files Version

2.4.35.0

Windows Version

Windows 11 22H2 Build 22621.1194

Log file

2023-02-16 10:29:16.0409|ERROR|AppUnhandledException|Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Files.App.SettingsPages.Advanced.IsNameValid(String name) at Files.App.SettingsPages.Advanced.NewTagTextBox_TextChanged(Object sender, TextChangedEventArgs e) at ABI.Microsoft.UI.Xaml.Controls.TextChangedEventHandler.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr e) — End of stack trace from previous location — at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr) at ABI.Windows.ApplicationModel.Core.IUnhandledErrorMethods.Propagate(IObjectReference _obj) at Microsoft.AppCenter.Utils.ApplicationLifecycleHelperWinUI.<.ctor>b__0_3(Object sender, UnhandledErrorDetectedEventArgs eventArgs) — End of stack trace from previous location — at Microsoft.AppCenter.Utils.ApplicationLifecycleHelperWinUI.<.ctor>b__0_3(Object sender, UnhandledErrorDetectedEventArgs eventArgs) filetags.db.txt

at ABI.System.EventHandler`1.Do_Abi_Invoke[TAbi](Void* thisPtr, IntPtr sender, TAbi args)

Issue Analytics

  • State:closed
  • Created 7 months ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ferrariofilippocommented, Feb 16, 2023

Will be fixed with #11320. There was a missing null-check

0reactions
MalteTaslercommented, Feb 16, 2023

Thankyou!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding tags in OneNote started causing crash
I tried creating a new admin account. I have the same issue, adding a tag causes Not responding and then the program crashes....
Read more >
Crash with "Add New Tag…" in version 2.5.5 snap
The workaround is to instead right click on a tag. To make sure this is the same issue you experience, could you run...
Read more >
OneNote crashing every time tag added
OneNote crashes nearly every time a tag is added, which is… ... Try creating a new notebook with a new account tied to...
Read more >
Crashing when changing label text - ios
The crash occurs because the outlet is not connected yet when the label is accessed. The solution is to create a temporary variable...
Read more >
Crash when apply a Tag plugin. - PluginCafé - Maxon
Hello everyone, I am working on a tag plugin with cloner, I get a copy of teh Github py-look at camera.pyp example and...
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