-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7.0
-
Component/s: None
-
Labels:None
-
Environment:
onos-1.7, master
-
Story Points:2
1. Get an Application through GET /applications/
{name} RWST API.
2. Given Wrong App Id which is not exist.
3. Throw NPE:
2016-09-28 07:25:41,837 | WARN | qtp1333711959-61 | ServerErrorMapper | 126 - org.onosproject.onlab-rest - 1.7.1.SNAPSHOT | Unhandled REST exception
java.lang.NullPointerException: Application ID cannot be null
Expected Behaviour:
Should throw Proper Exception like "App Id Not Found" at Response body.