bovender / XLToolbox

Daniel's XL Toolbox is an open-source add-in for Excel(R) that assists with scientific and technical data analysis and visualization.
https://www.xltoolbox.net
Apache License 2.0
54 stars 10 forks source link

Stream with DIB data is required Parametername: dibStream #747

Open bovender opened 5 years ago

bovender commented 5 years ago

Another report

This issue was submitted by the add-in's exception handler.

Exception:

System.ArgumentNullException: Stream with DIB data is required
Parametername: dibStream
   bei XLToolbox.Export.DibBitmap..ctor(Stream dibStream) in X:\Code\xltoolbox\NG\XLToolbox\Export\DibBitmap.cs:Zeile 87.
   bei XLToolbox.Export.ScreenshotExporter.CreateFreeImageViaDIB() in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:Zeile 159.
   bei XLToolbox.Export.ScreenshotExporter.ExportSelection(String fileName) in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:Zeile 71.
   bei XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:Zeile 104.
   bei Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass3_0.<Send>b__0() in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:Zeile 67.
   bei Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\FileDialogActionBase.cs:Zeile 104.
   bei System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   bei Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\NonUiTrigger.cs:Zeile 37.
   bei Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs) in X:\Code\bovender\Bovender\Mvvm\Actions\MessageActionExtensions.cs:Zeile 48.
   bei XLToolbox.Dispatcher.<>c.<ExportScreenshot>b__9_0(Object sender, MessageArgs`1 args) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:Zeile 263.
   bei Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond) in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:Zeile 62.
   bei XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:Zeile 84.
   bei XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:Zeile 48.
   bei Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:Zeile 121.

Message: Stream with DIB data is required Parametername: dibStream

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 6.1.7600.0, 64-bit
Excel 365 (16.0.11126), 32-bit
CLR 4.0.30319.296, 32-bit
VSTO runtime 10.0.40305
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier b91ce563be90953839cc0a5bfc4003de66c6997fb01e57912c967ef87dc4615b
bovender commented 5 years ago

Another report

This issue was submitted by the add-in's exception handler.

Exception:

System.ArgumentNullException: Stream with DIB data is required
Parametername: dibStream
   bei XLToolbox.Export.DibBitmap..ctor(Stream dibStream) in X:\Code\xltoolbox\NG\XLToolbox\Export\DibBitmap.cs:Zeile 87.
   bei XLToolbox.Export.ScreenshotExporter.CreateFreeImageViaDIB() in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:Zeile 159.
   bei XLToolbox.Export.ScreenshotExporter.ExportSelection(String fileName) in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:Zeile 71.
   bei XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:Zeile 104.
   bei Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass3_0.<Send>b__0() in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:Zeile 67.
   bei Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\FileDialogActionBase.cs:Zeile 104.
   bei System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   bei Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\NonUiTrigger.cs:Zeile 37.
   bei Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs) in X:\Code\bovender\Bovender\Mvvm\Actions\MessageActionExtensions.cs:Zeile 48.
   bei XLToolbox.Dispatcher.<>c.<ExportScreenshot>b__9_0(Object sender, MessageArgs`1 args) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:Zeile 263.
   bei Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond) in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:Zeile 62.
   bei XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:Zeile 84.
   bei XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:Zeile 48.
   bei Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:Zeile 121.

Message: Stream with DIB data is required Parametername: dibStream

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 6.1.7600.0, 64-bit
Excel 365 (16.0.11126), 32-bit
CLR 4.0.30319.296, 32-bit
VSTO runtime 10.0.40305
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier b91ce563be90953839cc0a5bfc4003de66c6997fb01e57912c967ef87dc4615b