Ошибка предпросмотра: сборка от 8 декабря
Добавлено: 12 дек 2008, 03:45
При попытке предпросмотра из дизайнера определенного отчета вываливается ошибка: "В экземпляре объекта не задана ссылка на объект".
Стектрейс:
в Stimulsoft.Base.Drawing.StiTextRenderer.DrawTextBase(Graphics g, String& text, Font font, RectangleD bounds, Color foreColor, Color backColor, Double lineSpacing, StiTextHorAlignment horAlign, StiVertAlignment vertAlign, Boolean wordWrap, Boolean rightToLeft, Double scale, Double angle, StringTrimming trimming, Boolean lineLimit, SizeD& measureSize, Boolean needDraw, ArrayList textLinesInfo, Boolean allowHtmlTags)
в Stimulsoft.Base.Drawing.StiTextRenderer.MeasureText(Graphics g, String text, Font font, RectangleD bounds, Double lineSpacing, Boolean wordWrap, Boolean rightToLeft, Double scale, Double angle, StringTrimming trimming, Boolean lineLimit, Boolean allowHtmlTags)
в Stimulsoft.Report.Components.StiWysiwygTextRender.MeasureString(Double width, Font font, StiText textBox)
в Stimulsoft.Report.Components.StiText.GetActualSize()
в Stimulsoft.Report.Components.StiContainerHelper.CheckSize(StiComponent component)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiContainer.RenderContainer(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiContainer.RenderContainer(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiReportTitleBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiPageV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
в Stimulsoft.Report.Engine.StiRender.GetNextPage()
в Stimulsoft.Report.Engine.StiRenderProviderV1.RenderReport(StiReport report, StiReport masterReport, StiRenderState state)
в Stimulsoft.Report.Engine.StiRenderProviderV1.Render(StiReport report, StiRenderState state)
в Stimulsoft.Report.Engine.StiReportV1Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress)
в Stimulsoft.Report.StiReport.Render()
в Stimulsoft.Report.Engine.StiRenderProviderV1.RenderFirstPass(StiReport report, StiNumberOfPass numberOfPass)
в Stimulsoft.Report.Engine.StiRenderProviderV1.Render(StiReport report, StiRenderState state)
в Stimulsoft.Report.Engine.StiReportV1Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress)
в Stimulsoft.Report.StiReport.Show(Form parentForm, IWin32Window win32Window, Boolean dialogForm)
в Stimulsoft.Report.StiReport.Show(Form parentForm, Boolean dialogForm)
в Stimulsoft.Report.StiReport.Show(Boolean dialogForm)
...
Проблемный файл высылаю в почту
Код: Выделить всё
StiReport engine = new StiReport();
...
engine.Compile();
engine.Show(true);
в Stimulsoft.Base.Drawing.StiTextRenderer.DrawTextBase(Graphics g, String& text, Font font, RectangleD bounds, Color foreColor, Color backColor, Double lineSpacing, StiTextHorAlignment horAlign, StiVertAlignment vertAlign, Boolean wordWrap, Boolean rightToLeft, Double scale, Double angle, StringTrimming trimming, Boolean lineLimit, SizeD& measureSize, Boolean needDraw, ArrayList textLinesInfo, Boolean allowHtmlTags)
в Stimulsoft.Base.Drawing.StiTextRenderer.MeasureText(Graphics g, String text, Font font, RectangleD bounds, Double lineSpacing, Boolean wordWrap, Boolean rightToLeft, Double scale, Double angle, StringTrimming trimming, Boolean lineLimit, Boolean allowHtmlTags)
в Stimulsoft.Report.Components.StiWysiwygTextRender.MeasureString(Double width, Font font, StiText textBox)
в Stimulsoft.Report.Components.StiText.GetActualSize()
в Stimulsoft.Report.Components.StiContainerHelper.CheckSize(StiComponent component)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiContainer.RenderContainer(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiContainer.RenderContainer(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiReportTitleBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiPageV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
в Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
в Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
в Stimulsoft.Report.Engine.StiRender.GetNextPage()
в Stimulsoft.Report.Engine.StiRenderProviderV1.RenderReport(StiReport report, StiReport masterReport, StiRenderState state)
в Stimulsoft.Report.Engine.StiRenderProviderV1.Render(StiReport report, StiRenderState state)
в Stimulsoft.Report.Engine.StiReportV1Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress)
в Stimulsoft.Report.StiReport.Render()
в Stimulsoft.Report.Engine.StiRenderProviderV1.RenderFirstPass(StiReport report, StiNumberOfPass numberOfPass)
в Stimulsoft.Report.Engine.StiRenderProviderV1.Render(StiReport report, StiRenderState state)
в Stimulsoft.Report.Engine.StiReportV1Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
в Stimulsoft.Report.StiReport.Render(Boolean showProgress)
в Stimulsoft.Report.StiReport.Show(Form parentForm, IWin32Window win32Window, Boolean dialogForm)
в Stimulsoft.Report.StiReport.Show(Form parentForm, Boolean dialogForm)
в Stimulsoft.Report.StiReport.Show(Boolean dialogForm)
...
Проблемный файл высылаю в почту