Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils.getCarbonConfigHome() throws an NPE in non-Carbon environments #1309

Open
gokul opened this issue Feb 28, 2017 · 1 comment
Open

Utils.getCarbonConfigHome() throws an NPE in non-Carbon environments #1309

gokul opened this issue Feb 28, 2017 · 1 comment
Labels

Comments

@gokul
Copy link
Member

gokul commented 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 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.

gokul added a commit to gokul/carbon-kernel that referenced this issue Feb 28, 2017
@gokul
Copy link
Member Author

gokul commented Feb 28, 2017

Added fix in #1310

@Niranjan-K Niranjan-K added this to the 5.2.0-m4 milestone Feb 28, 2017
@Kishanthan Kishanthan modified the milestones: 5.2.0-m4, 5.2.0-m5 Apr 7, 2017
@cnapagoda cnapagoda removed this from the 5.2.0-m5 milestone Aug 10, 2017
@jsdjayanga jsdjayanga added the C5 label Jul 4, 2019
shashimalcse pushed a commit to shashimalcse/carbon-kernel that referenced this issue Jul 17, 2023
….x-full

[UMT - 5.11.0] Use equal operator instead of LIKE to filter users based on an attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants