Ошибка после создания гистограммы
Добавлено: 13 июл 2010, 07:16
ОС: Win2003 Server Edition SP 1
net fm 1.1
StimulSoft Reports.Net 2008.1 (NET FM 1.1)
Здравствуйте, с помощью указанного ПО создал гистограмму, значения для ее построения взял из БД SQL Server 2005. Все хорошо работал и я был счастлив. Но на следующий день при запуске дизайнера мне была выдана знакомая всем программистам ошибка вида:
Object reference not set to an instance of an object.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Stimulsoft.Report.Chart.StiSeries.GetSeriesBrush(Int32 colorIndex, Int32 colorCount)
at Stimulsoft.Report.Chart.StiClusteredColumnSeries.GetSeriesBrush(Int32 colorIndex, Int32 colorCount)
at Stimulsoft.Report.Chart.StiSeries.DrawLegend(Graphics g, Rectangle rect, Int32 colorIndex, Int32 colorCount)
at Stimulsoft.Report.Chart.StiLegend.Draw(Graphics g)
at Stimulsoft.Report.Chart.StiChart.DrawChart(Graphics g, RectangleF rect, Boolean useMargins)
at Stimulsoft.Report.Chart.StiChart.DrawChart(Graphics g, RectangleF rect)
at Stimulsoft.Report.Chart.StiChart.PaintChart(Graphics g, RectangleF rect, Boolean drawBorder)
at Stimulsoft.Report.Chart.StiChart.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiContainer.PaintComponents(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiBand.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiContainer.PaintComponents(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiPage.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Design.Controls.StiViewControl.Draw(Graphics g, Rectangle clipRect)
at Stimulsoft.Report.Design.Controls.StiViewControl.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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Designer
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///C:/Program%20Files/Stimulsoft%20Reports.Net%202008.1/.Net%201.1/Bin/Designer.exe
----------------------------------------
Stimulsoft.Report
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.report/2008.1.200.0__ebe6666cba19647a/stimulsoft.report.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Stimulsoft.Base
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.base/2008.1.200.0__ebe6666cba19647a/stimulsoft.base.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Stimulsoft.Controls
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.controls/2008.1.200.0__ebe6666cba19647a/stimulsoft.controls.dll
----------------------------------------
System.Design
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Stimulsoft.Editor
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.editor/2008.1.200.0__ebe6666cba19647a/stimulsoft.editor.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Теперь в режиме дизайнера страница с гистограммой не доступна. Подскажите, пожалуйста, что делать? (использовать версию для .net fm 2-4 по ряду причин невозможно!) Спасибо.
net fm 1.1
StimulSoft Reports.Net 2008.1 (NET FM 1.1)
Здравствуйте, с помощью указанного ПО создал гистограмму, значения для ее построения взял из БД SQL Server 2005. Все хорошо работал и я был счастлив. Но на следующий день при запуске дизайнера мне была выдана знакомая всем программистам ошибка вида:
Object reference not set to an instance of an object.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Stimulsoft.Report.Chart.StiSeries.GetSeriesBrush(Int32 colorIndex, Int32 colorCount)
at Stimulsoft.Report.Chart.StiClusteredColumnSeries.GetSeriesBrush(Int32 colorIndex, Int32 colorCount)
at Stimulsoft.Report.Chart.StiSeries.DrawLegend(Graphics g, Rectangle rect, Int32 colorIndex, Int32 colorCount)
at Stimulsoft.Report.Chart.StiLegend.Draw(Graphics g)
at Stimulsoft.Report.Chart.StiChart.DrawChart(Graphics g, RectangleF rect, Boolean useMargins)
at Stimulsoft.Report.Chart.StiChart.DrawChart(Graphics g, RectangleF rect)
at Stimulsoft.Report.Chart.StiChart.PaintChart(Graphics g, RectangleF rect, Boolean drawBorder)
at Stimulsoft.Report.Chart.StiChart.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiContainer.PaintComponents(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiBand.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiContainer.PaintComponents(StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiPage.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Design.Controls.StiViewControl.Draw(Graphics g, Rectangle clipRect)
at Stimulsoft.Report.Design.Controls.StiViewControl.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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Designer
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///C:/Program%20Files/Stimulsoft%20Reports.Net%202008.1/.Net%201.1/Bin/Designer.exe
----------------------------------------
Stimulsoft.Report
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.report/2008.1.200.0__ebe6666cba19647a/stimulsoft.report.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Stimulsoft.Base
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.base/2008.1.200.0__ebe6666cba19647a/stimulsoft.base.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Stimulsoft.Controls
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.controls/2008.1.200.0__ebe6666cba19647a/stimulsoft.controls.dll
----------------------------------------
System.Design
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Stimulsoft.Editor
Assembly Version: 2008.1.200.0
Win32 Version: 2008.1.200.0
CodeBase: file:///c:/windows/assembly/gac/stimulsoft.editor/2008.1.200.0__ebe6666cba19647a/stimulsoft.editor.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Теперь в режиме дизайнера страница с гистограммой не доступна. Подскажите, пожалуйста, что делать? (использовать версию для .net fm 2-4 по ряду причин невозможно!) Спасибо.