dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #10391] NullPointer Exception in BeginInvoke(..)


From: Carl-Adam Brengesjo
Subject: [Pnet-developers] [bugs #10391] NullPointer Exception in BeginInvoke(..) of System.Windows.Forms/Control.cs
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #10391] Latest Modifications:

Changes by: 
                Carl-Adam Brengesjo <address@hidden>
'Date: 
                Sun 09/26/2004 at 14:44 (Europe/Stockholm)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS 25th September 2005 (patch #3390).






/**************************************************************************/
[bugs #10391] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10391>
Project: DotGNU Portable.NET
Submitted by: Erik Pfeifle
On: Wed 09/15/2004 at 07:01

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Privacy:  Public
Assigned to:  None
Status:  Closed


Summary:  NullPointer Exception in BeginInvoke(..) of 
System.Windows.Forms/Control.cs

Original Submission:  There is a NullPointer Exception at line 
"toolkitWindow.SendBeginInvoke(i_gch);"
in method BeginInvoke(Delegate method, Object[] args) of 
System.Windows.Forms/Control.cs 
The exception occurs if the control's handle does not exist when calling 
BeginInvoke(..).

I did a quick hack to solve the problem:
create the handle if necessary.

if( null == toolkitWindow )
   CreateHandle();

lock(this)      
   toolkitWindow.SendBeginInvoke(i_gch);

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 09/26/2004 at 14:44       By: Carl-Adam Brengesjo <ptah>
Fixed in CVS 25th September 2005 (patch #3390).












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10391>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]