Autoboxing NullPointerException #956
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The MediaHttpDownloader in simple mode has a potential nullpointer issue because of autoboxing. response.getHeaders().getContentLength() returns a Long, which can be null in some cases. The MediaHttpDownloader.download() method stores this Long in a long field without checking for nulls.
The text was updated successfully, but these errors were encountered: