No announcements
Found 182211 threads
-
0 Votes
NullReferenceException in Visual Basic
I am getting a NullReferenceException was unhandled error when i run my debugging in this part of my code: Dim x As Integer = Val(index.Chars(0)) what can i do so ...Answered | 1 Replies | 3013 Views | Created by muskoka17 - Wednesday, June 3, 2009 8:55 PM | Last reply by Parry2k - Wednesday, June 3, 2009 9:10 PM -
0 Votes
Dispatcher causes NullReferenceException
However, if I close the application with the X button in the upper right corner, the Dispatcher causes an unhandled nullreferenceexception, but not always.Answered | 5 Replies | 8483 Views | Created by Letharion - Friday, August 22, 2008 11:10 AM | Last reply by Lalit Singh Sisodia - Tuesday, August 26, 2008 5:40 AM -
0 Votes
CCCheck fails with NullReferenceException when reaching contract argument validator
This code snippet will make CCCheck fail with NullReferenceException: static void Main(string[] args) { NotNull(args); // will break ...Answered | 3 Replies | 1070 Views | Created by Josef Bláha - Saturday, January 18, 2014 1:48 PM | Last reply by Josef Bláha - Wednesday, November 26, 2014 3:20 PM -
0 Votes
Shared Variable Trowing a NullReferenceException
private void menuItem1_Click(object sender, EventArgs e) { Check(); Form2 form2 = new Form2(); generatedCode = "[b]" + ...Answered | 1 Replies | 3373 Views | Created by Nathan Campos - Tuesday, November 17, 2009 7:27 PM | Last reply by Mal Loth - Tuesday, November 17, 2009 7:34 PM -
5 Votes
NullReferenceException at Microsoft.Synchronization.Services.SqlProvider.SqlSyncProviderService.CreateNewScopeForClient()
Lucky for me the seccond and third errors were easy to find as they throw a meaningfull exception.Answered | 12 Replies | 12234 Views | Created by M.Bi - Friday, July 23, 2010 7:24 AM | Last reply by Indice - Monday, February 28, 2011 7:03 PM -
0 Votes
NullReferenceException was unhandled
From the code you supply, NullReferenceException may relate to configXml.Answered | 4 Replies | 2288 Views | Created by yoganash - Wednesday, July 28, 2010 9:12 AM | Last reply by Alan_chen - Friday, July 30, 2010 1:35 AM -
0 Votes
NullReferenceException in Resize event in inherited form
In the overridden implmentation I get a NullReferenceException.Answered | 5 Replies | 3516 Views | Created by seboslaw - Monday, June 8, 2009 5:34 PM | Last reply by warrentang - Friday, June 12, 2009 9:49 AM -
2 Votes
LINQ2SQL SubmitChanges throwing Object reference not set to an instance of an object exception
It was throwing error.Answered | 4 Replies | 5535 Views | Created by SouvickM - Thursday, May 24, 2012 10:21 AM | Last reply by SouvickM - Wednesday, May 30, 2012 11:04 AM -
4 Votes
NullReferenceException in SPContext.Current.Site
Hi, "I have functions in my code that return string value and sometimes I get NullReferenceException on code lines as return ...Answered | 8 Replies | 10124 Views | Created by watchingstars - Wednesday, February 2, 2011 12:31 PM | Last reply by mikeliu88 - Monday, May 7, 2012 5:25 PM -
0 Votes
NullReferenceException in System.Data.SqlClient.SqlTransaction.Zombie()
NullReferenceException So the real Problem is, that the Connection disappears and the list of connections in debug-case seems to fix that - but that list is not a solution ...Answered | 8 Replies | 7437 Views | Created by as79 - Wednesday, January 5, 2011 12:32 PM | Last reply by as79 - Monday, March 14, 2011 3:40 PM -
3 Votes
ToolStripProgressBar throwing null reference exception with background worker
Thus, getting or setting the Value of a disposed ToolStripProgressBar causes this unexpected NullReferenceException.Answered | 8 Replies | 4642 Views | Created by DEGT - Wednesday, March 21, 2012 3:51 PM | Last reply by matvei - Sunday, August 3, 2014 8:53 AM -
1 Votes
Why error (NullReferenceException)
NullReferenceException in using System; using ...Answered | 6 Replies | 4985 Views | Created by Stenl1 - Sunday, January 8, 2012 7:06 PM | Last reply by Dummy yoyo - Wednesday, January 11, 2012 3:04 AM -
0 Votes
clickonce program close NullReferenceException
It seems that there's one instance has disposed, the reference point to null, while the application trying to close, then the NullReferenceException thrown out.Answered | 19 Replies | 6756 Views | Created by satuday - Friday, October 7, 2011 7:04 PM | Last reply by Mike Dos Zhang - Thursday, November 3, 2011 2:16 PM -
0 Votes
NullReferenceException when calling GetProperty on an empty HtmlDocument?
What I'm encountering is that when there is no content in the control, it generates the following error: "NullReferenceException: Object not set to an instance of an ...Answered | 2 Replies | 2777 Views | Created by John_Wolf - Monday, December 5, 2011 7:24 PM | Last reply by John_Wolf - Friday, January 6, 2012 4:44 PM -
0 Votes
NullReferenceException thrown
I am trying to programmatically add a user control to a tab panel and this throws a exception.Answered | 2 Replies | 2998 Views | Created by Segiu Bond - Friday, May 15, 2009 4:10 PM | Last reply by Ganesh Ranganathan - Bangalore, India - Friday, May 15, 2009 6:34 PM -
0 Votes
FEEDBACK: Using Control.Invoke() in a thread
Thanks to all in advance for any help. OK, I have a long-running thread in my CF 2.0 app. This is Windows Mobile 5, on one of those Symbol 9090g handhelds. Anyway ... The code in ...Answered | 1 Replies | 3687 Views | Created by kdthomas - Tuesday, April 7, 2009 10:46 PM | Last reply by Jay_Wang - Wednesday, April 8, 2009 12:57 PM -
0 Votes
NullReferenceException when assigning a value to a class member
Hi, NewItem[] newItems = new NewItem[1]; <strong> newItems[0] = new NewItem(); </strong> newItems[0].Name = ...Answered | 3 Replies | 1902 Views | Created by Wood-MSDN - Thursday, July 14, 2011 5:35 PM | Last reply by vivekkul - Friday, July 15, 2011 4:22 AM -
0 Votes
Cannot migrate -- reference problems, NullReferenceException
This sounds like a set of resolvable issues around reference configuration in your project (well, other than the NullReferenceException, of course).Answered | 6 Replies | 3630 Views | Created by dustbort - Sunday, February 15, 2009 8:55 PM | Last reply by Gert Drapers (MSFT) - Saturday, April 4, 2009 5:33 AM -
0 Votes
NullReferenceException in WP7 Async
However, if I remove the breakpoint and just run the application, I note the two buttons become enabled and then a second or two later a NullReferenceException is thrown.Answered | 7 Replies | 6500 Views | Created by burrowsUW - Thursday, April 28, 2011 5:39 PM | Last reply by burrowsUW - Friday, April 29, 2011 2:29 PM -
0 Votes
ReplicaMetadata.GetLocalVersions throws NullReferenceException - why?
Apparently, it is the same root cause as this user discovered in another method: ...Answered | 1 Replies | 12474 Views | Created by codekaizen - Wednesday, November 4, 2009 1:55 AM | Last reply by codekaizen - Wednesday, November 4, 2009 8:03 PM
No announcements