fixed valueof method to handle null value #126

Merged
merged 1 commit into from Feb 27, 2013

Projects

None yet

2 participants

@baepiff
baepiff commented Dec 26, 2012

When I executed the following command, I got NullPointerException.

./bin/voldemort-admin-tool.sh --restore --url tcp://localhost:6666 --node 0
Exception in thread "main" java.lang.NullPointerException
 at voldemort.VoldemortAdminTool.main(VoldemortAdminTool.java:252)

So I fixed CmdUtils#valueof methods. I just added null check logic.

@jayjwylie jayjwylie was assigned Feb 26, 2013
@jayjwylie jayjwylie merged commit abfe406 into voldemort:master Feb 27, 2013
@jayjwylie jayjwylie was unassigned by baepiff Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment