After reviewing data submitted by a user in Executing View.QuickActions often throws an exception, I found it's possible for a NullReferenceException to be thrown in ObjectLayoutSuggestedAction.GetSymbol, which eventually propagates to CommonSuggestedActionsSource.HasSuggestedActionsAsync. This unhandled exception causes the lightbulb to misbehave. The following screenshot shows the problematic call stack:
After reviewing data submitted by a user in Executing View.QuickActions often throws an exception, I found it's possible for a
NullReferenceException
to be thrown inObjectLayoutSuggestedAction.GetSymbol
, which eventually propagates toCommonSuggestedActionsSource.HasSuggestedActionsAsync
. This unhandled exception causes the lightbulb to misbehave. The following screenshot shows the problematic call stack: