Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187

Bug #951227

closed

Fixed old bug in "Import clips" command when file contains pictures

Added by Сергей Старых 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

https://sourceforge.net/p/clip-angel/tickets/144/

Не удалось привести тип объекта "System.DBNull" к типу "System.Byte[]" 
ClipAngel.Main.AfterRowLoad(Boolean FullTextLoad, Int32 CurrentRowIndex, Int32 NewSelectionStart, Int32 NewSelectionLength) в C:\VC\ClipAngel\Main.cs:строка 1368
   в ClipAngel.Main.LoadClipIfChangedID(Boolean forceRowLoad, Boolean keepTextSelection, Boolean keepTextSelectionIfIDChanged) в C:\VC\ClipAngel\Main.cs:строка 4452
   в ClipAngel.Main.dataGridView_SelectionChanged(Object sender, EventArgs e) в C:\VC\ClipAngel\Main.cs:строка 3976
   в System.Windows.Forms.DataGridView.OnSelectionChanged(EventArgs e)
   в System.Windows.Forms.DataGridView.FlushSelectionChanged()
   в System.Windows.Forms.DataGridView.set_NoSelectionChangeCount(Int32 value)
   в System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
   в System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
   в ClipAngel.MyDataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e) в C:\VC\ClipAngel\Components\MyDataGridView.cs:строка 20
   в System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
   в System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.DataGridView.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   в System.Windows.Forms.Application.Run(Form mainForm)
   в ClipAngel.Program.Main(String[] args) в C:\VC\ClipAngel\Program.cs:строка 107</StackTrace><ExceptionString>System.InvalidCastException: Не удалось привести тип объекта "System.DBNull" к типу "System.Byte[]".
   в ClipAngel.Main.AfterRowLoad(Boolean FullTextLoad, Int32 CurrentRowIndex, Int32 NewSelectionStart, Int32 NewSelectionLength) в C:\VC\ClipAngel\Main.cs:строка 1368
   в ClipAngel.Main.LoadClipIfChangedID(Boolean forceRowLoad, Boolean keepTextSelection, Boolean keepTextSelectionIfIDChanged) в C:\VC\ClipAngel\Main.cs:строка 4452
   в ClipAngel.Main.dataGridView_SelectionChanged(Object sender, EventArgs e) в C:\VC\ClipAngel\Main.cs:строка 3976
   в System.Windows.Forms.DataGridView.OnSelectionChanged(EventArgs e)
   в System.Windows.Forms.DataGridView.FlushSelectionChanged()
   в System.Windows.Forms.DataGridView.set_NoSelectionChangeCount(Int32 value)
   в System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
   в System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
   в ClipAngel.MyDataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e) в C:\VC\ClipAngel\Components\MyDataGridView.cs:строка 20
   в System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
   в System.Windows.Forms.Control.WmMouseDown(Message&amp;amp; m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
   в System.Windows.Forms.DataGridView.WndProc(Message&amp;amp; m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
   в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
   в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   в System.Windows.Forms.Application.Run(Form mainForm)
   в ClipAngel.Program.Main(String[] args) в C:\VC\ClipAngel\Program.cs:строка 107

Actions #1

Updated by Сергей Старых 6 months ago

  • Description updated (diff)
Actions #2

Updated by Сергей Старых 6 months ago

  • Description updated (diff)
Actions #3

Updated by Сергей Старых 6 months ago

  • Subject changed from Ошибка при импорте экспортированной картинки to Fixed old bug in "Import clips" command when there are pictures
  • Status changed from New to Closed
Actions #4

Updated by Сергей Старых 5 months ago

  • Subject changed from Fixed old bug in "Import clips" command when there are pictures to Fixed old bug in "Import clips" command when file contains pictures
Actions #5

Updated by Сергей Старых 5 months ago

  • Sprint/Milestone changed from Разработка to 2.06

Also available in: Atom PDF