Value cannot be null

Please post any questions regarding the program here.

Moderator: 2020vision

Value cannot be null

Postby Tradyann » Wed May 29, 2013 10:43 pm

Hello,

If I open a closed market with COM interface, i have those errors :

Code: Select all
29052013 22:37:25:718: System.IndexOutOfRangeException: There is no row at position 0.
   at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
   at System.Data.RBTree`1.get_Item(Int32 index)
   at System.Data.DataRowCollection.get_Item(Int32 index)
   at Betting_Assistant.StandardGrid.initGrid() in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\StandardGrid.vb:line 176
29052013 22:37:25:734: waiting for current refresh to finish
29052013 22:37:25:734: request next refresh
29052013 22:37:25:921: next refresh complete
29052013 22:37:31:562: System.ArgumentNullException: Value cannot be null.
Parameter name: brush
   at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
   at Betting_Assistant.backOddsCell.Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, Int32 rowIndex, DataGridViewElementStates cellState, Object value, Object formattedValue, String errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\StandardGrid.vb:line 1554
29052013 22:37:31:562: System.ArgumentNullException: Value cannot be null.
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby peleus » Thu Jun 20, 2013 4:41 pm

Hi Trady, looks like this is a tough one. Any luck on this so far?
Nothing is coincidence. Image
peleus
 
Posts: 41
Joined: Tue Apr 23, 2013 11:41 pm

Postby Tradyann » Thu Jun 27, 2013 11:15 am

Hi,

No idea :?
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 84 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.