v4.20 - не генерятся отчеты Excel
~/topic/2466/v4_20---ne-generyatsya-otchety-excel/
Copyright @ StockSharp Platform LLC 2010 - 2024
2024-03-28T12:18:16Z
https://stocksharp.ru/images/logo.png
https://stocksharp.ru/posts/m/17008/
ExcelStrategyReport 4.0.20 ошибка при создании отчета
2012-03-07T13:17:14Z
2016-08-16T00:06:00Z
Moadip
https://stocksharp.ru/users/5973/
info@stocksharp.ru
<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/">ExcelStrategyReport 4.0.20 ошибка при создании отчета</a>
Copyright @ StockSharp Platform LLC 2010 - 2024
https://stocksharp.ru/posts/m/17010/
точно. спасибо
2012-03-07T13:54:48Z
2012-03-07T13:54:48Z
Kiruhin
https://stocksharp.ru/users/6067/
info@stocksharp.ru
точно. спасибо
Copyright @ StockSharp Platform LLC 2010 - 2024
https://stocksharp.ru/posts/m/17007/
v4.16 - работает v4.19 и v4.20 - код: ExcelStrategyReport report = new ExcelStrategyReport(_strategy...
2012-03-07T13:10:54Z
2012-03-07T13:10:54Z
Kiruhin
https://stocksharp.ru/users/6067/
info@stocksharp.ru
v4.16 - работает<br />v4.19 и v4.20 - <br />код:<br /> ExcelStrategyReport report = new ExcelStrategyReport(_strategy, "sma.xls");<br /> report.Generate();<br /><br />выдает исключение:<br />NullReferenceException - "Ссылка на объект не указывает на экземпляр объекта."<br />StackTrace:<br /> в Ecng.Interop.ExcelExporter.SetCell(Int32 col, Int32 row, Object value)<br /> в StockSharp.Algo.Reporting.ExcelStrategyReport.Generate()<br /> в 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<br /> в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br /> в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br /> в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)<br /> в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)<br /> в System.Windows.Controls.Primitives.ButtonBase.OnClick()<br /> в System.Windows.Controls.Button.OnClick()<br /> в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)<br /> в System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)<br /> в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)<br /> в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)<br /> в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br /> в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br /> в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)<br /> в System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)<br /> в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)<br /> в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)<br /> в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br /> в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br /> в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)<br /> в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)<br /> в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)<br /> в System.Windows.Input.InputManager.ProcessStagingArea()<br /> в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)<br /> в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)<br /> в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)<br /> в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)<br /> в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)<br /> в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)<br /> в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)<br /> в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br /> в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)<br /><br />похоже на багу. если написал в неправильную ветку - извините.
Copyright @ StockSharp Platform LLC 2010 - 2024