PC Review


Reply
Thread Tools Rate Thread

ArgumentNullException

 
 
Lloyd Dupont
Guest
Posts: n/a
 
      1st Oct 2003
I have an ArgumentNullException which is thrown when I write (in a form)
Controls.add(aPanel);

aPanel is not null, as shown by the debugger !

the only weird thing I do is:
at some time I remove this panel from the form and (with a thread calling
Invoke()) I call (after its remove from the hierarchy) a method on it (in
the event loop, Invoke(), remember ?)

And when I add it again in the hierarchy I have this error ...
any similar experience ?


 
Reply With Quote
 
 
 
 
Lloyd Dupont
Guest
Posts: n/a
 
      1st Oct 2003
forget it, I found it, it's describe in my combo box bug report....

"Lloyd Dupont" <net.galador@ld> wrote in message
news:(E-Mail Removed)...
> I have an ArgumentNullException which is thrown when I write (in a form)
> Controls.add(aPanel);
>
> aPanel is not null, as shown by the debugger !
>
> the only weird thing I do is:
> at some time I remove this panel from the form and (with a thread calling
> Invoke()) I call (after its remove from the hierarchy) a method on it (in
> the event loop, Invoke(), remember ?)
>
> And when I add it again in the hierarchy I have this error ...
> any similar experience ?
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
throwing ArgumentNullException with multiple parameters Andy B. Microsoft VB .NET 24 24th Apr 2009 12:23 PM
System.ArgumentNullException Tom C Microsoft VB .NET 4 25th Mar 2008 01:38 PM
ToolStripManager.LoadSettings - unexpected ArgumentNULLException =?Utf-8?B?TWFydGluIFplbmtlbA==?= Microsoft Dot NET Framework Forms 1 26th Jun 2006 07:28 PM
ArgumentNullException Scott Toney Microsoft Dot NET Compact Framework 1 31st Jan 2006 05:18 PM
ArgumentNullException when deserializing a SortedList Daniel Gackle Microsoft C# .NET 5 28th Feb 2005 08:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:23 PM.