[Mono-bugs] [Bug 76177][Wis] New - Path can't be empty strange
error when a space is introduced after assembly argument
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 21 07:38:24 EDT 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 jjsanchez at igalia.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76177
--- shadow/76177 2005-09-21 07:38:24.000000000 -0400
+++ shadow/76177.tmp.16758 2005-09-21 07:38:24.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 76177
+Product: Mono: Doctools
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Console
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: jjsanchez at igalia.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Path can't be empty strange error when a space is introduced after assembly argument
+
+Executing:
+
+$ mono /usr/lib/monodoc/monodocer.exe --assembly: HelloWorld.exe --path:doc
+
+(Being HelloWord.exe any trivial example)
+
+monodocer gives the following error:
+
+System.ArgumentException: Path can't be empty
+Parameter name: path
+in <0x00075> System.Reflection.Assembly:LoadFile (System.String path,
+System.Security.Policy.Evidence securityEvidence)
+in <0x0000c> System.Reflection.Assembly:LoadFile (System.String path)
+in <0x00161> Stub:Main (System.String[] args)
+Members Added: 0, Members Deleted: 0
+
+And the error has nothing to do with the path being empty. It's the space
+between 'HelloWorld.exe' and '--assembly:' what is causing the problem.
+
+I guess the error message should be less confusing in this case.
More information about the mono-bugs
mailing list