Issue Type: Bug Bug
Assignee: Oleg Nenashev
Components: core
Created: 12/Jun/14 6:53 AM
Description:

A report from Coverity:

*** CID 1222626:  Dereference null return value  (NULL_RETURNS)
/src/main/java/hudson/model/ListView.java: 334 in hudson.model.ListView.doRemoveJobFromView(java.lang.String)()
328         @RequirePOST
329         public HttpResponse doRemoveJobFromView(@QueryParameter String name) throws IOException, ServletException {
330             checkPermission(View.CONFIGURE);
331             if(name==null)
332                 throw new Failure("Query parameter 'name' is required");
333
>>>     CID 1222626:  Dereference null return value  (NULL_RETURNS)
>>>     Assigning: "item" = null return value from "resolveName".
334             TopLevelItem item = resolveName(name);
335             if (remove(item))
336                 owner.save();
337
338             return HttpResponses.ok();
339         }
Project: Jenkins
Priority: Major Major
Reporter: Oleg Nenashev
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to