Issue 129: Clipboard failure in DataGridView

Status:closed
Assigned To:Guest
Type:Defect
Area:Skyline
Priority:2
Milestone:2.1
Opened:2011-12-14 07:26 by Brendan MacLean
Changed:2016-09-05 16:23 by Brendan MacLean
Resolved:2014-04-10 14:31 by Brendan MacLean
Resolution:Won't Fix
Closed:2016-09-05 16:23 by Brendan MacLean
2011-12-14 07:26 Brendan MacLean
Title»Clipboard failure in DataGridView
Assigned To»nicksh@u.washington.edu
Type»Defect
Area»Skyline
Priority»2
Milestone»1.2
Hi Nick,
We have started seeing a new unhandled exception in the DataGridView (details below). Can you look into how we can catch this exception, and show a more friendly error message?

Hopefully, we can catch it somewhere below the global handler, although I don't see any Skyline code on the current stack trace.

--Brendan


User comments:
I will save the file.

I tried to export a transitionlist with 90.000 transitions.

Jeppe

Skyline version: 1.1.1.3167
Installation ID: 588cf6a0-00ee-4e35-815e-cf8fa196f2f9
Exception type: System.Runtime.InteropServices.ExternalException
Error message: Requested Clipboard operation did not succeed.

Stack trace:
   at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
   at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
   at System.Windows.Forms.DataGridView.ProcessInsertKey(Keys keyData)
   at System.Windows.Forms.DataGridView.ProcessDataGridViewKey(KeyEventArgs e)
   at System.Windows.Forms.DataGridView.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.DataGridView.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.DataGridView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

2014-01-08 08:05 Brendan MacLean
Milestone1.2»2.1
What is the status on this?

2014-04-10 14:31 Brendan MacLean
resolve as Won't Fix
Statusopen»resolved
Assigned ToNick Shulman»Brendan MacLean

2016-09-05 16:23 Brendan MacLean
close
Statusresolved»closed
Assigned ToBrendan MacLean»Guest