[CONTROLLER-891] XSQL karaf command thorws NPE when receive empty input Created: 23/Sep/14 Updated: 23/Sep/14 Resolved: 23/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sharon Aicler | Assignee: | Sharon Aicler |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2056 |
| Description |
|
Whe you execute the xsql karaf command with no argument you receive a Null Pointer Exception. e.g. "odl:xsql" without any args. |
| Comments |
| Comment by Sharon Aicler [ 23/Sep/14 ] |
|
Added a check for the NPE, replying with a message to specify arguments for the command when it is empty. |