[Mono-bugs] [Bug 22864] Changed - mono does not report NullReferenceException
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
29 Apr 2002 11:06:25 -0000
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 dietmar@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=22864
--- shadow/22864 Wed Apr 10 12:42:02 2002
+++ shadow/22864.tmp.8847 Mon Apr 29 07:06:25 2002
@@ -1,12 +1,12 @@
Bug#: 22864
Product: Mono/Runtime
Version: unspecified
OS: unknown
OS Details: Mandrake 8.2
-Status: REOPENED
+Status: NEEDINFO
Resolution:
Severity: Unknown
Priority: Normal
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: pt99par@student.bth.se
@@ -59,6 +59,22 @@
------- Additional Comments From pt99par@student.bth.se 2002-04-10 12:42 -------
LineAnalyzerFactoryBuilder.Build( string dir ); has one statement that
returns null this null is returned to the Main method in LineCounter.cs on
row 11 . There is a method call on this null on row 13 in LineCounter.cs .
It is there the NullRef. should be raised. mint handels it fine.
+
+------- Additional Comments From dietmar@ximian.com 2002-04-29 07:06 -------
+I cant reproduce that bug. If I run mono linecount.exe i get the
+following result:
+
+LineCounter 0.1
+
+(process:7989): ** WARNING **: unhandled exception
+System.NullReferenceException: "A null value was found where an object
+instance was required"
+in .LineCounter:Main ()
+
+
+which is IMO the correct behaviour?
+
+