[JAVA-3883] Coverity analysis defect 116580: Dereference null return value Created: 05/Nov/20 Updated: 27/Oct/23 Resolved: 25/Nov/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Internal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Dereference null return value If the function actually returns a null value, a NullPointerException will be thrown. Return value of function which returns null is dereferenced without checking |
| Comments |
| Comment by Jeffrey Yemin [ 25/Nov/20 ] |
|
In practice the instance creator will never be null, so this can safely be ignored. |
| Comment by Coverity Collector User [ 05/Nov/20 ] |
|
A new defect has been detected and assigned to milkie in Coverity Connect. |