New Chart Report - Exception thrown

Stimulsoft Reports.NET discussion
Post Reply
aussiegirl
Posts: 15
Joined: Thu Apr 08, 2010 12:29 am

New Chart Report - Exception thrown

Post by aussiegirl »

Hi There

I am using the Demo application and was trying to create a new Chart Report using the New Report - Wizard

e.g From the Designer
Click on New Report option under File
When the Wizard appears select the Chart option

When the Chart wizard appears choose any of the charts available and click next.
Exception Error : Object reference not set to an instance of an object. and the designer closes

This also happens if I use the Chart option from the tool box in the designer.
I have also tested this using my application and get the same error.

All other reports seem ok, it's just trying to use the Chart is an issue

I don't know how to attach files so I have copy and pasted the rest of the errors here

----------------------------
[Customer Explanation]



----------------------------
[General Info]

Application: Demo
Framework: v2.0.50727
Version: Version: 2010.1.700 from 26 March 2010
MachineName: LAPTOP
OSVersion: Microsoft Windows NT 5.1.2600 Service Pack 2
UserName: Administrator

----------------------------
[Exception Info]
Message: Object reference not set to an instance of an object.

Source: Stimulsoft.Report.Design

StackTrace:
at Stimulsoft.Report.Chart.Design.StiChartEditorForm.scChartStyle_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.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(Int32 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.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Stimulsoft.Report.Design.Wizards.StiChartWizardService.CreateReport(StiReport report)
at Stimulsoft.Report.Design.Wizards.StiNewForm.StartReportWizard()
at Stimulsoft.Report.Design.Wizards.StiNewForm.lvElements_DoubleClick(Object sender, EventArgs e)
at Stimulsoft.Report.Design.Wizards.StiNewForm.btOk_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(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.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.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(Int32 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.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Stimulsoft.Report.Design.StiReportNewDialog.CreateNewReport(StiDesignerControl designer, StiReport masterReport)
at Stimulsoft.Report.Design.StiReportNewDialog.CreateNewReport(StiDesignerControl designer)
at Stimulsoft.Report.Design.StiActions.MainMenu.InvokeReportNew(StiDesignerControl designer)

----------------------------
[Assemblies]
Microsoft.VisualBasic, Version = 8.0.0.0
mscorlib, Version = 2.0.0.0
Stimulsoft.Controls, Version = 2010.1.700.0
Stimulsoft.Report, Version = 2010.1.700.0
Stimulsoft.Report.Win, Version = 2010.1.700.0
System, Version = 2.0.0.0
System.Data, Version = 2.0.0.0
System.Drawing, Version = 2.0.0.0
System.Windows.Forms, Version = 2.0.0.0
System.Xml, Version = 2.0.0.0



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

New Chart Report - Exception thrown

Post by Vladimir »

Hello,

We can not reproduce this error. In error stack we see that you have some problems with styles. Try to remove all the settings Stimulsoft Reports from your computer (delete the folder c:\Documents and Settings\UserName\Local Settings\Application Data\Stimulsoft).

Thank you.
aussiegirl
Posts: 15
Joined: Thu Apr 08, 2010 12:29 am

New Chart Report - Exception thrown

Post by aussiegirl »

Vladimir wrote:Hello,

We can not reproduce this error. In error stack we see that you have some problems with styles. Try to remove all the settings Stimulsoft Reports from your computer (delete the folder c:\Documents and Settings\UserName\Local Settings\Application Data\Stimulsoft).

Thank you.
Hi Vladimir

That seems to have worked.

Thank you
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

New Chart Report - Exception thrown

Post by Andrew »

Always ready to help you.

Thank you.
Post Reply