[Mono-bugs] [Bug 78785][Nor] New - SharpFormEditor: A NullReferenceException is thrown when the apps is loading

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jul 7 03:51:18 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by unserkonig at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78785

--- shadow/78785	2006-07-07 03:51:18.000000000 -0400
+++ shadow/78785.tmp.5444	2006-07-07 03:51:18.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 78785
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: unserkonig at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SharpFormEditor: A NullReferenceException is thrown when the apps is loading
+
+In wf-apps module in svn, the SharpFormEditor application gets a
+NullReferenceException in  "System.Windows.Forms.XplatUIX11.SetWindowPos
+(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)", when the
+runtime tries to load it. 
+
+It looks like the error appears when retrieving a Hwnd object using
+"Hwnd.ObjectFromHandle(handle)" from the control handle, and a null value
+is retrieved instead.
+
+Steps to reproduce the problem:
+1. Get SharpFormEditor from wf-apps svn module.
+2. Type 'make' to get it built.
+3. Try ro run it with "mono SharpFormEditorDemo.exe".
+
+In .Net the application runs fine.


More information about the mono-bugs mailing list