Fatal error occurs when StackButton is added after WebFishEye loaded

3 replies. Last post: March 2, 2010 10:23 PM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Rick KennedyMember

There is a serious issue with the WebAqua’s StackButtons. Adding StackButtons at runtime to any Button.StackButtons collection after the toolbar has been shown, will result in a fatal exception from the WebAqua assembly. Specifically the exception will surface the next time the button containing the newly added StackButton is clicked. Here is the resulting unhandled error.

System.NullReferenceException: Object reference not set to an instance of an object.
at ISNet.Silverlight.WebAqua.WebFishEye.ƒ__(WebFishEyeButton button)
at ISNet.Silverlight.WebAqua.WebFishEye.š__(Object sender, MouseEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

WebAqua version == 2.0.1000.220

To reproduce the error, simply call add a StackButton from a delayed (post load) event such as a user button click.

All times are GMT -5. The time now is 12:59 AM.
Previous Next