Skip to content

Getting the native path from app settings can fail with NullReferenceException#113

Open
JanWosnitza wants to merge 1 commit intoHDFGroup:masterfrom
JanWosnitza:native-path#112
Open

Getting the native path from app settings can fail with NullReferenceException#113
JanWosnitza wants to merge 1 commit intoHDFGroup:masterfrom
JanWosnitza:native-path#112

Conversation

@JanWosnitza
Copy link
Collaborator

@JanWosnitza JanWosnitza commented Mar 8, 2017

See #112 for details.

ConfigurationManger.AppSettings[ ... ]:

  • returns null when the key doesn't exist
  • the return type is string, so the ToString() doesn't do anything except throwing NullReferenceException

app-setting: NativePathSetting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant