[Mono-bugs] [Bug 49351][Maj] New - HWR randomly fails w/ nread == 0

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 5 Oct 2003 14:31:56 -0400 (EDT)

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 bmaurer@users.sf.net.


--- shadow/49351	2003-10-05 14:31:55.000000000 -0400
+++ shadow/49351.tmp.21540	2003-10-05 14:31:55.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 49351
+Product: Mono/Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: System
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: HWR randomly fails w/ nread == 0
+HWR often fails giving the error:
+nread == 0: may be the connection was closed?
+And not returning a stream from the result
+Steps to reproduce the problem:
+1. cvs co monologue 
+2. cd monologue/worker
+3. mono monologue-worker.exe bloggers.xml ../www/index.html
+../www/index.rss --loop 1000
+Actual Results:
+Over time, you will find errors such as:
+Getting http://primates.ximian.com/~lluis/blog/index.rss2
+nread == 0: may be the connection was closed?
+Exception from http://primates.ximian.com/~lluis/blog/index.rss2 :
+System.NullReferenceException: A null value was found where an object
+instance was required
+in <0x0038f> Rss.RssFeed:read (string,Rss.RssFeed,System.Net.WebProxy)
+in <0x00014> Rss.RssFeed:Read (Rss.RssFeed)
+in <0x001b7> .Blogger:UpdateFeed ()
+Note the program will gracefully ignore this exeption, but still print it out.
+Expected Results:
+No such errors
+How often does this happen? 
+If you run the program for a while, always.