[Mono-bugs] [Bug 333740] [Regression] System.Environment.GetEnvironmentVariables doesn' t return all environment variables

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 1 12:41:11 EDT 2007


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |
            Summary|[PATCH]                                         |[Regression]
                   |System.Environment.GetEnvironmentVariables      |System.Environment.GetEnvironmentVariables
                   |doesn't return all environment variables        |doesn't return all environment variables

--- Comment #4 from Gert Driesen <gert.driesen at pandora.be>  2007-11-01 10:41:11 MST ---
This patch introduced a regression. I now get the following exception using
Environment.GetEnvironmentVariables on WinXP:

Unhandled Exception: System.ArgumentNullException: null key
Parameter name: key
  at System.Collections.Hashtable.PutImpl (System.Object key, System.Object
e, Boolean overwrite) [0x00000]
  at System.Collections.Hashtable.set_Item (System.Object key, System.Object
ue) [0x00000]
  at System.Environment.GetEnvironmentVariables () [0x00000]
  at PRogram.Main () [0x00000]

Also, just about all environment variable related tests now fail on Windows.

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

More information about the mono-bugs mailing list