﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/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-06-18T21:54:19Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=2466" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/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.com/users/5973/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;&lt;a href="http://stocksharp.com/forum/2456/ExcelStrategyReport-4-0-20-oshibka-pri-sozdanii-otchieta/"&gt;ExcelStrategyReport 4.0.20 ошибка при создании отчета&lt;/a&gt;&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/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.com/users/6067/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;точно. спасибо&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/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.com/users/6067/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;v4.16 - работает
v4.19 и v4.20 -
код:
ExcelStrategyReport report = new ExcelStrategyReport(_strategy, &amp;quot;sma.xls&amp;quot;);
report.Generate();&lt;/p&gt;
&lt;p&gt;выдает исключение:
NullReferenceException - &amp;quot;Ссылка на объект не указывает на экземпляр объекта.&amp;quot;
StackTrace:
в Ecng.Interop.ExcelExporter.SetCell(Int32 col, Int32 row, Object value)
в StockSharp.Algo.Reporting.ExcelStrategyReport.Generate()
в 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
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
в System.Windows.Controls.Primitives.ButtonBase.OnClick()
в System.Windows.Controls.Button.OnClick()
в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
в System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
в System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
в System.Windows.Input.InputManager.ProcessStagingArea()
в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)
в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)
в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)
в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;/p&gt;
&lt;p&gt;похоже на багу. если написал в неправильную ветку - извините.&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>