No announcements
Found 3090302 threads
-
0 Votes
"Possibly calling a method on a null reference" warning
In fact, we have a contract in the reference assembly for XElement (the type of calendar.Root) that the Name property returns a non-null value, so I was able to get the assertion ...Answered | 5 Replies | 6596 Views | Created by OpinionatedGeek - Friday, February 27, 2009 1:24 PM | Last reply by Mike Barnett - Tuesday, August 17, 2010 11:48 PM -
0 Votes
Null Reference When Calling Method On Parent Form From User Control in .NET C# WinForms App
Unfortunately, the code I've used above results in illegal cross-thread call errors and null reference exception errors.Answered | 10 Replies | 6301 Views | Created by Milwaukee Broad - Wednesday, July 6, 2016 4:32 PM | Last reply by Christopher84 - Friday, July 8, 2016 10:49 AM -
3 Votes
Converting a string that refers to a method into an actual method call
., if I pass an empty object as a parameter to the method that is being called, and then assign a value to that object from within the method, that value is not ...Answered | 17 Replies | 4415 Views | Created by Evan Ermes - Wednesday, September 15, 2010 1:36 PM | Last reply by Louis.fr - Wednesday, October 6, 2010 1:25 AM -
6 Votes
Null Reference Exception error
Hi Nishant, I get the following error when i try that way: if (pol.res <> nothing) then ------- error ...Answered | 14 Replies | 3139 Views | Created by rowter - Monday, August 17, 2009 4:29 PM | Last reply by Geert van Horrik - Tuesday, August 18, 2009 5:31 AM -
0 Votes
null reference error
{ Form form = o as Form; return (form.Contact.ContactName.ToLower().Contains(searchText)); }; I would consider flattening that out.Answered | 2 Replies | 478 Views | Created by Asif Bakhtiyar - Thursday, February 18, 2016 11:10 AM | Last reply by Andy ONeill - Thursday, February 18, 2016 11:46 AM -
0 Votes
Null Reference Exception Error on Wpf Navigation
= null && this.NavigationService !Answered | 4 Replies | 1123 Views | Created by Ajay Palan - Tuesday, September 29, 2015 12:02 PM | Last reply by Magnus (MM8) - Tuesday, September 29, 2015 2:51 PM -
0 Votes
Null Reference Exception with System.Reflection.Assembly
GetEntryAssembly The GetEntryAssembly method can return null when a managed assembly has been loaded from an unmanaged application.Answered | 1 Replies | 5154 Views | Created by jattscorpion - Friday, February 25, 2011 11:44 AM | Last reply by Rudedog2 - Friday, February 25, 2011 6:49 PM -
0 Votes
Error when calling LoadReport2 method
I get a 500 error when trying to consume the service.Answered | 1 Replies | 3258 Views | Created by NewToSSRS001 - Friday, November 2, 2012 2:32 PM | Last reply by Mike Yin - Monday, November 5, 2012 12:51 PM -
1 Votes
Calling methods when using Generics
We all know that references can be set to null.Answered | 11 Replies | 1348 Views | Created by WarrickFitzs - Friday, February 8, 2013 3:15 PM | Last reply by WarrickFitzs - Monday, February 11, 2013 8:31 PM -
0 Votes
GetExchangeUser method returns null when in Cache-mode
> I guess the issue is due to GetExchangeUser() and likely methods not working well due to some errors accessing the Global Address List in Exchange, but I am not ...Answered | 12 Replies | 2820 Views | Created by Esben Rud Nielsen - Friday, March 13, 2015 10:13 AM | Last reply by Eugene Astafiev - Friday, March 27, 2015 8:43 PM -
1 Votes
Error in GetDataAsync when calling service reference
Hi Chgian, Yes, there are two ways to invoke the asynchronous methods.Answered | 5 Replies | 1008 Views | Created by chgian - Tuesday, December 11, 2018 5:33 PM | Last reply by Abraham Qian - Friday, December 14, 2018 1:45 AM -
0 Votes
ServiceEndpoint.Validate method throws null reference exception
A per-call service instance is thread-safe by definition, because each call gets its own dedicated instance.Answered | 2 Replies | 910 Views | Created by Mikhail Manukhin - Monday, November 2, 2015 7:16 PM | Last reply by - Wednesday, November 25, 2015 8:10 AM -
1 Votes
taskID = Guid.NewGuid(); Null Reference Exception?
I know that in other contexts, if I try to refer to SP data that is blank (i.e. appears blank in a list view), it's actually stored as a null in the data.Answered | 8 Replies | 15216 Views | Created by mpapier - Wednesday, September 26, 2007 8:51 PM | Last reply by Craig Regester - Wednesday, October 17, 2007 2:34 PM -
0 Votes
Data is Null.
Finally, you can use the IsDBNull function to get if a column contains a NULL value.Answered | 2 Replies | 3594 Views | Created by AriZoc - Monday, July 15, 2013 12:35 PM | Last reply by AriZoc - Tuesday, July 16, 2013 7:37 AM -
0 Votes
list not found error when calling getList method
BTW it would be good idea to try to call this method - it doesn't receive any parameters and if it will return lists collection it will indicate that in general web service ...Answered | 3 Replies | 1460 Views | Created by Creative_Pro - Thursday, August 25, 2016 3:22 AM | Last reply by sadomovalex - Thursday, August 25, 2016 1:10 PM -
1 Votes
Non null object in a helper method is returned as a null object
How are you returning the object to the calling method?Answered | 9 Replies | 564 Views | Created by hpe_jack - Tuesday, April 5, 2016 2:43 PM | Last reply by Cor Ligthert - Wednesday, April 6, 2016 10:22 PM -
9 Votes
How to fix this error Null Reference Exception was unhandled?
Probably you are getting null as the connection string name in app.config is Project_Management.Properties.Settings.PMConnectionString and you are only referring PMConnectionString ...Answered | 17 Replies | 15730 Views | Created by SoftwareEngineerSince2014 - Thursday, February 27, 2014 1:08 PM | Last reply by Todddddd Toddson junior, Son of Todd senior - Monday, April 29, 2019 5:45 PM -
1 Votes
Method is not called when referencing object in external assembly
My guess is that when you uncomment the variable, the dependent assembly isn't found.Answered | 2 Replies | 4402 Views | Created by Victor Hurdugaci - Sunday, October 3, 2010 7:33 PM | Last reply by Victor Hurdugaci - Sunday, October 17, 2010 1:24 PM -
0 Votes
What to return when value is null?
If hpfb is null, won't that just throw a null reference exception?Answered | 7 Replies | 8462 Views | Created by MDMoura - Wednesday, January 26, 2011 11:31 AM | Last reply by Louis.fr - Thursday, January 27, 2011 1:35 PM -
3 Votes
Passing a method reference - delegate vs method reference?
I assume the method is called on entry to the method (at the signature level).Answered | 15 Replies | 3114 Views | Created by GSS1 - Thursday, February 25, 2010 9:46 PM | Last reply by Reed Copsey, Jr - Saturday, February 27, 2010 5:21 PM - Items 1 to 20 of 3090302 Next ›
No announcements