Hi
We have just purchased Stimulsoft Reports WPF and I have upgraded my project from the demo version 2010.2.749 (called SWPF_2010.08.10_D2008) to the latest registered version 2010.2.761 (called SWPF_2010.09.07).
All worked ok with the demo version but now when I call the Designer with stiReport.DesignWithWpf(); I get a last chance exception:
Dispatcher Unhandled Exception
Error: Object reference not set to an instance of object.
Source: Stimulsoft.Report.WpfDesign.
I only get the error if I first register any Busines object.
Stack Trace:
" at Stimulsoft.Report.WpfDesign.StiWpfDataBuilder.GetDictionaryImageFromColumn(StiDataColumn column)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDataBuilder.BuildColumns(StiBusinessObject businessObject, StiDataColumnsCollection columns, TreeViewItem parentNode, Boolean includeCalcColumn)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDataBuilder.BuildBusinessObject(StiBusinessObject businessObject, TreeViewItem parentNode, Boolean includeCalcColumn)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDataBuilder.BuildBusinessObjects(StiBusinessObjectsCollection objects, TreeViewItem parentNode, Boolean includeCalcColumn, Boolean showCategories)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDataBuilder.BuildBusinessObject(StiBusinessObject businessObject, TreeViewItem parentNode, Boolean includeCalcColumn)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDataBuilder.BuildBusinessObjects(StiBusinessObjectsCollection objects, TreeViewItem parentNode, Boolean includeCalcColumn, Boolean showCategories)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDataBuilder.BuildBusinessObjects(StiBusinessObjectsCollection objects, TreeViewItem parentNode, Boolean includeCalcColumn)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDictionaryControl.BuildBusinessObjects(StiDictionary dictionary)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDictionaryControl.Build(StiReport report, Boolean showUsedObjects)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDictionaryControl.Build(StiReport report)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDictionaryPanelService.OnRefreshDictionary(Object sender, EventArgs e)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDesignerControl.OnRefreshDictionary(EventArgs e)\r\n at Stimulsoft.Report.WpfDesign.StiWpfDesignerControl.InvokeRefreshDictionary()\r\n at Stimulsoft.Report.WpfDesign.StiBuilder.BuildReport()\r\n at Stimulsoft.Report.WpfDesign.StiWpfDesignerControl.b__a(Object , RoutedEventArgs )\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)\r\n at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)\r\n at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)\r\n at MS.Internal.LoadedOrUnloadedOperation.DoWork()\r\n at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()\r\n at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()\r\n at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)\r\n at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)\r\n at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)\r\n at System.Windows.Interop.HwndTarget.OnResize()\r\n at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)\r\n at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)"
Rick
Designer Crash
-
- Posts: 13
- Joined: Mon Aug 16, 2010 6:32 am
- Location: UK
-
- Posts: 13
- Joined: Mon Aug 16, 2010 6:32 am
- Location: UK
Designer Crash
I have gone back to registered version 2010.2.754 (called SWPF_2010.08.24) as this was the closest registered version to my working demo version.
All now works OK again. It seems that something has changed in later version(s) that causes a problem when registering complex Business Objects.
Rick
All now works OK again. It seems that something has changed in later version(s) that causes a problem when registering complex Business Objects.
Rick
Designer Crash
Hello,
Thank you for your bug report. We have changed our source code. Please check build from next prerelease build.
Thank you.
Thank you for your bug report. We have changed our source code. Please check build from next prerelease build.
Thank you.
-
- Posts: 13
- Joined: Mon Aug 16, 2010 6:32 am
- Location: UK
Designer Crash
I have checked out version 2010.2.764 (called SWPF_2010.09.15) and the problem is fixed.
Thank you.
Thank you.
Designer Crash
Hello,
Thank you for letting us know about this.
Thank you for letting us know about this.