You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a piece of code which can be common to Carbon and non-Carbon environments, the usage of Utils.getCarbonConfigHome() throws an NPE in non-Carbon environments since the System.getenv(Constants.CARBON_HOME_ENV) call fails.
Ideally, in such cases, an exception should be thrown so that the calling party can proceed accordingly.
The text was updated successfully, but these errors were encountered:
gokul
added a commit
to gokul/carbon-kernel
that referenced
this issue
Feb 28, 2017
In a piece of code which can be common to Carbon and non-Carbon environments, the usage of
Utils.getCarbonConfigHome()
throws an NPE in non-Carbon environments since theSystem.getenv(Constants.CARBON_HOME_ENV)
call fails.Ideally, in such cases, an exception should be thrown so that the calling party can proceed accordingly.
The text was updated successfully, but these errors were encountered: