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
55 stars 10 forks source link

Stream with DIB data is required Parameter name: dibStream #907

Open bovender opened 4 years ago

bovender commented 4 years ago

Another report

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

Exception:

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

Message: Stream with DIB data is required Parameter name: dibStream

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.19044.0, 64-bit
Excel 365 (16.0.14326), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 03a43a3e43280842a84a7ea05ed315d11b12e332ac31d9facd8bda0ae304e927
bovender commented 4 years ago

Another report

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

Exception:

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

Message: Stream with DIB data is required Parameter name: dibStream

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.18363.0, 64-bit
Excel 365 (16.0.12527), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 03a43a3e43280842a84a7ea05ed315d11b12e332ac31d9facd8bda0ae304e927
bovender commented 2 years ago

Another report

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

Exception:

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

Message: Stream with DIB data is required Parameter name: dibStream

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.19044.0, 64-bit
Excel 365 (16.0.14326), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 03a43a3e43280842a84a7ea05ed315d11b12e332ac31d9facd8bda0ae304e927