Designer Crashes when creating/editing Pie or Ring

Stimulsoft Reports.WEB discussion
Post Reply
aikar
Posts: 11
Joined: Tue Jun 07, 2011 3:19 am

Designer Crashes when creating/editing Pie or Ring

Post by aikar »

Hello everyone

I have worked with an older Version of Stimulsoft for a couple of month now and upgraded to version 2011.2.1010 yesterday.

Now, when I use the ChartWizard to edit or create a Pie or Circle Diagram, it crashes with a null pointer exception when I click "Next" after selecting the style.

The message:

Code: Select all

Object reference not set to an instance of an object.
And here is the stack trace:

Code: Select all

   at Stimulsoft.Report.Chart.Design.StiChartEditorForm.ApplySettings(Object sender, EventArgs e)
   at Stimulsoft.Report.Chart.Design.StiChartEditorForm.wpDataSeries_VisibleChanged(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at Stimulsoft.Controls.StiWizard.set_SelectedPage(StiWizardPage value)
   at Stimulsoft.Controls.StiWizard.set_SelectedIndex(Int32 value)
   at Stimulsoft.Controls.StiWizard.OnNextClick(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at Stimulsoft.Report.Chart.Design.StiChartDesigner.Design(StiComponent component)
   at Stimulsoft.Report.Design.Tools.StiSelectToolService.OnMouseUp(Object sender, MouseEventArgs e)
   at Stimulsoft.Report.Design.Controls.StiViewControl.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at Stimulsoft.Report.Design.StiRibbonDesigner.ShowDialogDesigner()
   at Stimulsoft.Report.StiReport.StartDesigner(StiReport report, Form parentForm, Boolean dialogForm, IWin32Window win32Window)
   at Stimulsoft.Report.StiReport.Design(Form parentForm, Boolean dialogForm, IWin32Window win32Window)
   at Stimulsoft.Report.StiReport.Design(Boolean dialogForm)
   at Stimulsoft.Report.StiReport.Design()
   at ReportFramework.Form1.ButtonNew_Click(Object sender, EventArgs e) in D:\svn\trunk\products\Moment\ReportFramework\ReportFramework\Form.cs:line 439
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at ReportFramework.Program.Main() in D:\svn\trunk\products\Moment\ReportFramework\ReportFramework\Program.cs:line 19
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
I would need fast support, because our customers are waiting for some reports.

Thanks in advance
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Designer Crashes when creating/editing Pie or Ring

Post by Vladimir »

Hello,

Please specify you are using a Web or WinForms report designer?

Thank you.
aikar
Posts: 11
Joined: Tue Jun 07, 2011 3:19 am

Designer Crashes when creating/editing Pie or Ring

Post by aikar »

The program which starts the designer is WindowsForms.

The designer for new Reports is simply called when a button is clicked:

Code: Select all

        private void ButtonNew_Click(object sender, EventArgs e)
        {
            progressBar1.PerformStep();
            StiReport report = new StiReport();
            report.Design();
            progressBar1.PerformStep();
        }
I have referenced the same libraries as with the old version (the program was written by another developer):
Stimulsoft.Base
Stimulsoft.Controls
Stimulsoft.Controls.Win
Stimulsoft.Database
Stimulsoft.Designer
Stimulsoft.Editor
Stimulsoft.Report
Stimulsoft.Report.Design
Stimulsoft.Report.Design.WebViewer
Stimulsoft.Report.Web
Stimulsoft.Report.WebDesign
Stimulsoft.Report.WebFx
Stimulsoft.Report.Win

Did I forget something? I did not find a Library especially for WindowsForms?

At the first start after the upgrade I was called to choose an editor mode (Office 2002, 2007 or 2010, I used 2010)
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Designer Crashes when creating/editing Pie or Ring

Post by Alex K. »

Hello,

The issue is fixed.
Please check the latest prerelease build when it will be available.

Thank you.
aikar
Posts: 11
Joined: Tue Jun 07, 2011 3:19 am

Designer Crashes when creating/editing Pie or Ring

Post by aikar »

Thanks for the info

When will this new Version be downloadable?
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Designer Crashes when creating/editing Pie or Ring

Post by Andrew »

Hello,

This prerelease build will be available today.

Thank you.
aikar
Posts: 11
Joined: Tue Jun 07, 2011 3:19 am

Designer Crashes when creating/editing Pie or Ring

Post by aikar »

It works. Thanks for the fast support.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Designer Crashes when creating/editing Pie or Ring

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply