﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">v4.20 - не генерятся отчеты Excel</title>
  <id>~/topic/2466/v4_20---ne-generyatsya-otchety-excel/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-06T00:15:46Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=2466" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/posts/m/17008/</id>
    <title type="text">ExcelStrategyReport 4.0.20 ошибка при создании отчета</title>
    <published>2012-03-07T13:17:14Z</published>
    <updated>2016-08-16T00:06:00Z</updated>
    <author>
      <name>Moadip</name>
      <uri>https://stocksharp.ru/users/5973/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">&lt;a href="http://stocksharp.com/forum/2456/ExcelStrategyReport-4-0-20-oshibka-pri-sozdanii-otchieta/" title="http://stocksharp.com/forum/2456/ExcelStrategyReport-4-0-20-oshibka-pri-sozdanii-otchieta/"&gt;ExcelStrategyReport 4.0.20 ошибка при создании отчета&lt;/a&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/17010/</id>
    <title type="text">точно. спасибо</title>
    <published>2012-03-07T13:54:48Z</published>
    <updated>2012-03-07T13:54:48Z</updated>
    <author>
      <name>Kiruhin</name>
      <uri>https://stocksharp.ru/users/6067/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">точно. спасибо</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/17007/</id>
    <title type="text">v4.16 - работает v4.19 и v4.20 - код: ExcelStrategyReport report = new ExcelStrategyReport(_strategy...</title>
    <published>2012-03-07T13:10:54Z</published>
    <updated>2012-03-07T13:10:54Z</updated>
    <author>
      <name>Kiruhin</name>
      <uri>https://stocksharp.ru/users/6067/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">v4.16 - работает&lt;br /&gt;v4.19 и v4.20 - &lt;br /&gt;код:&lt;br /&gt;	ExcelStrategyReport report = new ExcelStrategyReport(_strategy, &amp;quot;sma.xls&amp;quot;);&lt;br /&gt;	report.Generate();&lt;br /&gt;&lt;br /&gt;выдает исключение:&lt;br /&gt;NullReferenceException - &amp;quot;Ссылка на объект не указывает на экземпляр объекта.&amp;quot;&lt;br /&gt;StackTrace:&lt;br /&gt;   в Ecng.Interop.ExcelExporter.SetCell(Int32 col, Int32 row, Object value)&lt;br /&gt;   в StockSharp.Algo.Reporting.ExcelStrategyReport.Generate()&lt;br /&gt;   в SampleHistoryTesting.MainWindow.Report_Click(Object sender, RoutedEventArgs e) в D:\svalka\invest\_info\_sSharp\lib\StockSharp_4.0.20\Samples\Testing\SampleHistoryTesting\MainWindow.xaml.cs:строка 213&lt;br /&gt;   в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)&lt;br /&gt;   в System.Windows.Controls.Primitives.ButtonBase.OnClick()&lt;br /&gt;   в System.Windows.Controls.Button.OnClick()&lt;br /&gt;   в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)&lt;br /&gt;   в System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)&lt;br /&gt;   в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)&lt;br /&gt;   в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)&lt;br /&gt;   в System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)&lt;br /&gt;   в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)&lt;br /&gt;   в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)&lt;br /&gt;   в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)&lt;br /&gt;   в System.Windows.Input.InputManager.ProcessStagingArea()&lt;br /&gt;   в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)&lt;br /&gt;   в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)&lt;br /&gt;   в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)&lt;br /&gt;   в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;br /&gt;   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;   в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;&lt;br /&gt;похоже на багу. если написал в неправильную ветку - извините.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>