Causing exception when clicking on ribbon button

Ribbon for WPF Forum

Posted 11 years ago by ManojShukla
Version: 4.5.0480
Avatar
Hi,

I am using ribbon in my application, but when i am clicking on a ribbon button say tool, some time i am getting a runtime unhandeled exception, which causing application crash.

and this problem is not coming always so it unpredictable for us, so we are not able to resolve.

Following is the stack trace for the same.

DateTime: 12/9/2008 5:42:13 PM
Exception: Object reference not set to an instance of an object.
Stack Trace: at m.b(RibbonWindow A_0)
at ActiproSoftware.Windows.Controls.Ribbon.RibbonWindow.c(Boolean A_0)
at ActiproSoftware.Windows.Controls.Ribbon.RibbonWindow.OnSourceInitialized(EventArgs e)
at System.Windows.Window.CreateSourceWindowImpl()
at System.Windows.Window.SafeCreateWindow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at DomainManagerGUI.DomainGUI.cmdOptions_Executed(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
at ActiproSoftware.Windows.Controls.Ribbon.Input.RibbonCommand.a(ICommandSource A_0)
at ActiproSoftware.Windows.Controls.Ribbon.Controls.Primitives.ControlBase.OnClick(ExecuteRoutedEventArgs e)
at ActiproSoftware.Windows.Controls.Ribbon.Controls.Primitives.ButtonBase.OnClick(ExecuteRoutedEventArgs e)
at ActiproSoftware.Windows.Controls.Ribbon.Controls.Primitives.ControlBase.a.a(Object A_0)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Exception Source: ActiproSoftware.Ribbon.Wpf30
InnerException:
--------------------------------------


Thanks in advance.

Regards
Manoj Shukla

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Manoj,

We've been doing a lot of work on RibbonWindow for build 481. I believe some of our changes will prevent this from happening. Although we haven't seen this exception happen, from your stack trace, it appears like we probably have it resolved. Check out today's build 481 release.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.