This project is read-only.
1

Resolved

EnvironmentVariable.User null

description

If there aren't any User variables named 'path' then an exeception is thrown in
private OraHome DetermineCurrentOracleHome(RegistryKey keyOracleBase)
at line
string sEnvPath = Environment.GetEnvironmentVariable("path", target).ToLower();
 
I fixed this by performing the following check first:
if (Environment.GetEnvironmentVariable("path", target) != null)

comments

alekseiv wrote Dec 27, 2010 at 7:51 PM

Thank you very much for input! I'll add this check. Also, that's my bad, now I have very poor error handling, so I will spend time on it.

wrote Jan 13, 2011 at 1:41 PM

wrote Feb 14, 2013 at 3:05 AM

wrote May 16, 2013 at 7:29 AM

wrote May 16, 2013 at 7:29 AM

wrote Jun 14, 2013 at 9:05 AM