[Mono-bugs] [Bug 656021] New: Cannot pass null to named GET parameter in code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 25 22:10:12 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=656021

https://bugzilla.novell.com/show_bug.cgi?id=656021#c0


           Summary: Cannot pass null to named GET parameter in code
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: WCF
        AssignedTo: atsushi at ximian.com
        ReportedBy: jdluzen at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7

When passing null in the URI to a GET call with a named value, I
get "Unhandled Exception: System.ArgumentException: The argument name
value collection does not contain non-null value for 'BLAH'". However,
when I GET in the browser, http://localhost:1337/Joe?age=1337 leaving
off the "blah", it works fine. IHello.SayHi in the included code.

Reproducible: Always

Steps to Reproduce:
1. Compile the shared library code.
2. Compile the server and client code referencing the shared library, uncomment
the commented out line.
3. Run the server, then client.
Actual Results:  
Unhandled Exception: System.ArgumentException: The argument name
value collection does not contain non-null value for 'BLAH'

Expected Results:  
Hi Joe: 42, true printed.

Code:
Shared library: http://pastebin.com/WSfiaj63
Server: http://pastebin.com/veJ9JubX
Client: http://pastebin.com/jniuHsiz

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list