[Mono-bugs] [Bug 77115][Wis] New - Monodocer fails with a System.NullReferenceException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Dec 28 21:46:53 EST 2005


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 freaken at freaken.dk.

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

--- shadow/77115	2005-12-28 21:46:53.000000000 -0500
+++ shadow/77115.tmp.10922	2005-12-28 21:46:53.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 77115
+Product: Mono: Doctools
+Version: 1.1
+OS: 
+OS Details: Linux From Scratch
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Console
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: freaken at freaken.dk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Monodocer fails with a System.NullReferenceException
+
+Please fill in this template when reporting a bug, unless you know what      
+you are doing.      
+Description of Problem:    
+  Monodocer fails when running  monodocer -assembly:System.Windows.Forms    
+-path:/home/freaken/mono     
+      
+Steps to reproduce the problem:      
+1.  run monodocer -assembly:System.Windows.Forms -path:/home/freaken/mono     
+2.  monodocer will fail on the EventHandler MenuChanged in 
+System.Windows.Forms.Menu. 
+      
+Actual Results:      
+  System.NullReferenceException: Object reference not set to an instance    
+of an object     
+      
+Expected Results:      
+  Monodocer should produce documentation    
+      
+How often does this happen?       
+  Every time.    
+      
+Additional Information:      
+   
+  Bugfix: Monodocer fails because it doesn't expect ev.GetAddMethod () to 
+return null on line 1385. It could be fixed by inserting    
+  if(add == null)    
+    return null;  
+  on the next lines.


More information about the mono-bugs mailing list