-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Component/s: None
-
Labels:None
-
Story Points:1
Using Rest API , POST a group with Invalid GROUP TYPE throws a NPE
java.lang.NullPointerException
at org.onosproject.rest.resources.GroupsWebResource.createGroup(GroupsWebResource.java:150)
Since the Group Type is not valid the methon decode in (GroupCodec.java) logs a warning and return NULL .
This is accessed by the Group WebResource causing a NPE and returning a 500 response.