Wrong computation
With invalid queueName request param, jobqueue_details.jsp shows NPE
critical
Yes
ERROR org.mortbay.log: /jobqueue_details.jsp
java.lang.NullPointerException
at org.apache.hadoop.mapred.jobqueue_005fdetails_jsp._jspService(jobqueue_005fdetails_jsp.java:71)
No
Single job request
1.0.1
1 Webapp
submit queueName as null in the /jobqueue_details.jsp webpage
NA
Yes
Yes
1
The jobqueue_details.jsp throws a NullPointerException.
When user requests with a null parameter in the Web API, a “null” variable will be injected to the backend and trigger a nullPointerException.
Webapp does not check special case of the user submitted data.
Incorrect exception handling
Add exception handling procedure to the schedInfo is null.